mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Finds a balance between viewcount (Youtube's relevancy) and proper song duration based on Spotify duration. Thus, a Youtube video that is 30 seconds longer than the Spotify track will not be considered Takes the first result from Youtube (using Youtube's original ordering based on relevance) that has a similar duration to the Spotify song Fixes a bug where if there were no suitable videos for a song, the program would infinitely loop. The program will now retry to find a song up to 5 times before moving on (this is necessary because occasionally the song isn't properly fetched or parsed from Youtube) Fixes bug where songs that are retried were appended to the playlist file without being separated by a newline