Commit Graph

150 Commits

Author SHA1 Message Date
Ritiek Malhotra a833f190e1 Bugfix: default config saved is overwritten with passed args 2020-05-18 04:10:43 +05:30
Ritiek Malhotra fec187994b Bugfix: writing to STDOUT would do opposite 2020-05-18 03:56:10 +05:30
Ritiek Malhotra 0a8244fc74 Rename spotdl.command_line.lib to spotdl.command_line.core 2020-05-18 03:40:14 +05:30
Ritiek Malhotra c5a85eb343 Don't bother for lyrics with --no-metadata 2020-05-18 01:39:57 +05:30
Ritiek Malhotra 81a6cb052b Implement --write-successful-file and --skip-file 2020-05-18 00:11:33 +05:30
Ritiek Malhotra 23e18e1550 Fail to run on <2.0.0 configuration files 2020-05-17 03:37:47 +05:30
Ritiek Malhotra e0e7048ced Add --remove-config 2020-05-16 09:07:33 +05:30
Ritiek Malhotra 9c61d9951e Config dir must exist before creating config file 2020-05-15 17:10:21 +05:30
Ritiek Malhotra 39ebd5f57e Fix tests 2020-05-15 15:00:51 +05:30
Ritiek Malhotra e71989a963 Feed arguments in libary usage mode 2020-05-15 00:32:54 +05:30
Ritiek Malhotra f40f69fdc5 Better handling when FFmpeg isn't found 2020-05-12 20:41:00 +05:30
Ritiek Malhotra ad34bb01a3 Handle FFmpeg trim silence option 2020-05-12 19:56:35 +05:30
Ritiek Malhotra 635c18723b "--write-to -" for writing to to STDOUT 2020-05-12 03:49:37 +05:30
Ritiek Malhotra a365746e45 Remove unused functions 2020-05-12 03:24:47 +05:30
Ritiek Malhotra e3e56b76a2 Remove sys.exit from sub-modules 2020-05-12 02:50:19 +05:30
Ritiek Malhotra 150d8b0b81 Search format enhancements 2020-05-10 18:52:50 +05:30
Ritiek Malhotra 819bb87fc2 Calling ._get_id isn't required in new spotipy versions 2020-05-10 18:16:57 +05:30
Ritiek Malhotra b958212805 Add CHANGELOG 2020-05-10 17:32:17 +05:30
Ritiek Malhotra 083af5b802 Nuke avconv 2020-05-10 04:44:31 +05:30
Ritiek Malhotra 4abdecf9ec Write to {filename}.temp when downloading 2020-05-09 20:09:00 +05:30
Ritiek Malhotra e0362b6e8c Retry a few times to workaround random YouTube issues 2020-05-08 22:14:51 +05:30
Ritiek Malhotra 007fc0be67 Faster generation of m3u playlists 2020-05-07 23:38:34 +05:30
Ritiek Malhotra c9bf0bc020 De-clutter metadata search 2020-05-07 19:36:38 +05:30
Ritiek Malhotra ec5704e050 zfill track number metadata 2020-05-05 14:17:27 +05:30
Ritiek Malhotra c3e8a0f0db Link arguments to spotipy helpers 2020-05-05 02:25:05 +05:30
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