Giter Site home page Giter Site logo

lucasrcezimbra / gansomusic-flask Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.15 MB

Old version :musical_score: Download music from YouTube and edit tags

Home Page: https://github.com/Lrcezimbra/ganso-music

Python 77.00% HTML 22.25% CSS 0.75%
youtube music download-songs downloader download-musics songs

gansomusic-flask's People

Contributors

lucasrcezimbra avatar pyup-bot avatar

Stargazers

 avatar

Watchers

 avatar

gansomusic-flask's Issues

Download automatic

Automatic download from YouTube when video was added in a specify playlist and send the music or just a link to e-mail.

Fix error when lyric isn't found

Traceback (most recent call last):
File "/home/lucas/Projects/download-music/venv/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/home/lucas/Projects/download-music/venv/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/lucas/Projects/download-music/venv/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/lucas/Projects/download-music/venv/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/home/lucas/Projects/download-music/venv/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/lucas/Projects/download-music/app.py", line 18, in download
downloader.download()
File "/home/lucas/Projects/download-music/download.py", line 26, in download
self.__editTags(audio)
File "/home/lucas/Projects/download-music/download.py", line 38, in __editTags
mp3.tag.lyrics.set(unicode(self.__getLyrics()))
File "/home/lucas/Projects/download-music/download.py", line 49, in __getLyrics
return lyrics.find(self.artist, self.title).song.lyric
AttributeError: 'SearchResult' object has no attribute 'song'

Crop mp3

Add option to crop start or end of the audio

Don't raise HTTP 502 when Vagalume API is not working

HTTPError: 502 Server Error: Bad Gateway for url: https://api.vagalume.com.br/search.php?art=&mus=
ERROR:gansomusic.app:Exception on /download [POST]

When Vagalume API is not working Ganso Music responses a error 502. Treat the error to not return the 502.

Music file exists

IOError: File '' exists, will not overwrite

File "download.py", line 40, in __editTags
mp3.rename(self.getName())

Change request mode

Send a AJAX to server with URL, title, etc, show a message "Loading" and return with a link to download file.

  • Front-end
  • Back-end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.