* Rough implementation of playlist link
* Clean code
* Add information about playlist URL
* Update README.md
* Fix bug where script selects wrong playlist
* Minor improvements
* Minor improvements
* Use a Spotify song's title instead of a YouTube video's title
* Added fallback to YouTube title if song's metadata cannot be fetched from Spotify
* Removed duplicate generation of metadata
* Fix test cases that use download_song(..) and generate_filename(..)
* Fix conflicting function
* Fix conflict in check_exists()
* Fix filenames for non spotify songs
* Fix some bugs
* Some documentation changes
* Remove unnecessary determine_filename()
This comment will:
- Transform docstrings above functions into docstrings
- Remove some way too verbose comments
- Apply some more recommendations from PEP8 forgotten last time
- Fix some errors introduced with the first code cleanup
Work left to do:
- Add params to docstrings
- Rename file variables
This refactoring includes:
- Two empty lines before each global function
- Using '{0} {1}'.format(str1, str2) instead of str1 + ' ' + str2
Sometimes this will make lines longer, sometimes shorter.
- Starting all comments with # + space + comment
- Make lines not longer than 80 characters in most cases
- Renaming some variables to make more sense
- Add some missing code like returns and Exceptions
Not included, but follows:
- Make some comments docstrings
- Rename all 'file' variables, only for Python 2
- Remove some way too verbose comments ;)