* Monkeypatch fetch user and use pytest.tempdir
* Cover spotify_tools.grab_album()
* Cover avconv conversion
* Cover grab_single()
* Reduce code repetition
* Move grab_playlist() to spotify_tools.py
* Move Spotify specific functions to spotify_tools.py
* Refactoring
* Return track list from write_tracks()
* Fix tests
* Cover more cases in generate_youtube_url()
* Test for unavailable audio streams
* Test for filename without spaces
* handle.py 100% coverage
* Improve config tests
* Speed up tests
* Install avconv and libfdk-aac
* Some cleaning
* FFmpeg with libfdk-aac, libopus
* Some refactoring
* Convert tmpdir to string
* Cover YouTube title when downloading from list
* Explicitly cover some internals.py functions
* Use custom formats to generate file name
* Do not mess up search term
* Fix tests
* Fix conflicting names
* Fix subprocess call on file paths with spaces
* Create directories and keep spaces as defaults
* Fix config merge
* Remove underscores from default file format
* Remove debug info
* Show possible formats in usage help
* TODO: Don't throw traceback if no lyrics found
* Add more metadata fields
* Refactor debug logging
* Fix traceback when lyrics not found
* It already vomits metadata :3
* Bump lyricwikia >= 0.1.8
* Refactoring and addition of logzero (#172)
* Refactored convert.py and added logging.
* Added logging and refactored.
* Added logzero to requirements.txt
* Added logging to metadata.py
* Created a log in misc.py. Updated slugify import.
* Some general improvement
* Improve message layout
* Improve test mechanism
* Implement debug level logging
* Fix some minor mistakes
* Make pytest happy
* Remove unimplemented --verbose option
* Update ISSUE_TEMPLATE.md
* Rename LICENSE
* Remove obvious from log.debug()
* Show track URL when writing to file (debug)
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 ;)