Commit Graph

892 Commits

Author SHA1 Message Date
Ritiek Malhotra 5a75687722 Add debug log statements 2020-05-04 14:50:05 +05:30
Ritiek Malhotra 4495755edc Setup coloredlogs to remove logzero 2020-05-03 16:34:49 +05:30
Ritiek Malhotra ec765119fa Setup coloredlogs 2020-05-03 09:06:03 +05:30
Ritiek Malhotra 715a95df1e Move command-line class methods to module fns as needed 2020-04-27 00:59:48 +05:30
Ritiek Malhotra a7578e9de0 Create a class for command-line functions 2020-04-27 00:28:15 +05:30
Ritiek Malhotra 35461e8602 Setup logzero.logger 2020-04-26 12:29:41 +05:30
Ritiek Malhotra 629d1643c7 Remove --avconv in favour of --encoder 2020-04-23 23:06:15 +05:30
Ritiek Malhotra 2feb9c4b49 Implement --manual 2020-04-23 22:38:27 +05:30
Ritiek Malhotra 300f17e5cd Merge options -f and -ff into -f 2020-04-23 14:55:52 +05:30
Ritiek Malhotra 7ddc5c6348 Support reading & writing to STDIN & STDOUT respectively 2020-04-22 16:02:27 +05:30
Ritiek Malhotra f24c026ae4 Improve Genius lyrics stability
Sometimes the first result in the Genius API response may not contain
the path to lyrics. In such cases, keep iterating on the next
result until the path is found.
2020-04-21 18:56:46 +05:30
Ritiek Malhotra b9e2a23846 Fix dependencies
Removes now-unused dependency titlecase and add tqdm. Also read
current spotdl version without depending on external dependencies.
2020-04-21 13:13:48 +05:30
Ritiek Malhotra 42dd650ed8 CLI optimizations 2020-04-17 14:32:57 +05:30
Ritiek Malhotra 164f342262 Lyric optimizations 2020-04-13 03:19:14 +05:30
Ritiek Malhotra 9a088ee26d A bit of thread refactoring 2020-04-12 17:09:15 +05:30
Ritiek Malhotra a253c308a6 Accept additional command-line options 2020-04-12 14:13:21 +05:30
Ritiek Malhotra 0a8a0db54e Deal with depracated arguments 2020-04-12 02:46:15 +05:30
Ritiek Malhotra 0e7da1cd97 Remove obsolete code 2020-04-12 01:10:32 +05:30
Ritiek Malhotra 9afd14282a Very brittle command-line frontend 2020-04-11 22:03:47 +05:30
Ritiek Malhotra 14104e6870 Tests for util.py 2020-04-09 14:02:44 +05:30
Ritiek Malhotra 482ba4cb25 Remove old code 2020-04-09 01:05:03 +05:30
Ritiek Malhotra e5ecc2dd1e Fix a local test requiring internet 2020-04-09 00:54:48 +05:30
Ritiek Malhotra 47247f7250 Add additional methods to fetch lyrics
The following inputs can now be used to fetch lyrics:
* artist and track names
* search query
* direct url
2020-04-08 21:43:58 +05:30
Ritiek Malhotra 51da0b7a29 Basic downloading 2020-04-08 08:00:43 +05:30
Ritiek Malhotra 121fcdcdf6 Authenticating services 2020-04-02 04:14:07 +05:30
Ritiek Malhotra 2bb9a965f5 Document YouTube tests 2020-03-27 13:42:36 +05:30
Ritiek Malhotra 68c25e2aaa Write tests for YouTube metadata 2020-03-27 04:33:00 +05:30
Ritiek Malhotra c9a804268d Refactor embedding metadata to media 2020-03-25 02:04:24 +05:30
Ritiek Malhotra d154b2be20 Download while simultaneously encoding 2020-03-23 18:29:23 +05:30
Ritiek Malhotra 7413c541d3 Decouple fetching metadata 2020-03-22 21:44:04 +05:30
Ritiek Malhotra dae76a0abb Add tests for encoders
and some refactoring
2020-03-17 17:58:44 +05:30
Ritiek Malhotra 29005f24ed Refactor exceptions
* Suffix names for custom exceptions with "Error"
* Introduce exceptions for when the coressponding encoder isn't found
2020-03-17 03:09:56 +05:30
Ritiek Malhotra 083c430489 Improve directory tree 2020-03-16 18:43:59 +05:30
Ritiek Malhotra 5adb3d0a4d Refactor encoding 2020-03-16 18:12:52 +05:30
Ritiek Malhotra 937ed6ebcc Merge pull request #675 from ritiek/release-v1.2.6
Release changes for v1.2.6
v1.2.6
2020-03-02 17:47:46 +05:30
Ritiek Malhotra 4b5ec6121c Release changes for v1.2.6 2020-03-02 17:46:42 +05:30
Ritiek Malhotra ade55c6dba Merge pull request #674 from ritiek/fix-mutagen-crash
Fix mutagen crash
2020-03-02 17:44:14 +05:30
Ritiek Malhotra 75311e56d1 Update CHANGELOG 2020-03-02 17:41:50 +05:30
Ritiek Malhotra dc829815f5 Embed release and year metadata only when available
Follow up of #672.
2020-03-02 17:40:30 +05:30
Ritiek Malhotra 9ecf957c81 Merge pull request #673 from ritiek/release-v1.2.5
Changes for v1.2.5
v1.2.5
2020-03-02 16:06:54 +05:30
Ritiek Malhotra ea4ff29e52 Changes for v1.2.5 2020-03-02 16:04:00 +05:30
Ritiek Malhotra 33e07bea9d Merge pull request #672 from ritiek/youtube-api-crash
Skip Youtube-API-only fields when scraping
2020-03-02 15:58:55 +05:30
Ritiek Malhotra 94e06f99de Update CHANGELOG 2020-03-02 15:57:09 +05:30
Ritiek Malhotra 9a594d37c7 Skip Youtube-API-only fields when scraping
This happens because YouTube recently disabled older API keys for some
reason, and so the API key being used internally in Pafy no longer
works.

See #671 for more information.
2020-03-02 15:49:21 +05:30
Ritiek Malhotra b45f75b5ca Merge pull request #667 from AvinashReddy3108/patch-1
Higher bitrate audio conversion.
2020-03-02 10:58:46 +05:30
Avinash Reddy 75114bc26e Update convert.py 2020-03-01 11:01:54 +05:30
Avinash Reddy 456b404e73 Higher bitrate audio conversion.
Changed FFMPEG args to convert to 48k quality audio instead of the current 44k audio.
As @hal1200 says: https://github.com/ritiek/spotify-downloader/issues/620#issuecomment-548964142
Might solve the issue here: https://github.com/ritiek/spotify-downloader/issues/620
2020-02-23 11:52:45 +05:30
Ritiek Malhotra 43f9dd7f8d Merge pull request #655 from ritiek/release-v1.2.4
Bump to v1.2.4
v1.2.4
2020-01-10 02:26:41 -08:00
Ritiek Malhotra b24802f815 Bump to v1.2.4 2020-01-10 15:52:53 +05:30
Ritiek Malhotra 851d88fdd8 Merge pull request #654 from ritiek/fix-genius-lyric-crash
Fix crash when lyrics not yet released on Genius
2020-01-10 02:17:40 -08:00