* 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
* Changes in .gitignore file:
- added .python-version
This file is used in pyenv to select good python version.
Changes in core/misc.py:
- added function get_sec to convert HH:mm:ss to seconds
Changes in spotdl.py:
- in function generate_songname
change function to receive generate_metadata, this is optymalization, becouse in oldest version metadata from spotify api is downlaoded 2 times
- in function generate_youtube_url
song variable use changed function generate_songname
function now looking for songs in while, and save data to dict. Dictionary is used in manual and auto mode. In dictionary keep is youtube link, title, videotime (in format HH:mm:ss) and videotime converted to seconds.
For now in automatic downloading is selected video with least difference betwen youtube video time and time from spotify. This is important, becouse in youtube a lot of movies has scenes before/after without musics.
* Fix parameter in generate_songname() and dual calls
* Fix tests
* Skip tests that depend on the location (for the moment)
* Remove unnecessary code