44 Commits

Author SHA1 Message Date
Ritiek Malhotra
c1b3949edb Disable logs from chardet 2020-05-20 12:32:21 +05:30
Ritiek Malhotra
2aa7dce4a4 Derive download directory from filename itself
In some cases when using `-f` to create sub-directories from metadata,
where the full slugified download filename and the non-slugified
download directory happen to differ, the download would fail. This
happens because the directory the track needs to be downloaded doesn't
get created.

With this, the download directory will now be derived from filename
itself so that the sub-directory name always overlaps.

Fixes #727.
2020-05-20 12:19:13 +05:30
Ritiek Malhotra
19ae8fd408 Don't remove track from file on KeyboardInterrupt
This allows the download to continue from this KeyboardInterrupted
track on the next run, when using `--list`.
2020-05-19 13:15:39 +05:30
Ritiek Malhotra
675d1805ed logger.error when no streams found for input format 2020-05-18 13:13:41 +05:30
Ritiek Malhotra
ac6997e05e Show possible special tags in -h 2020-05-18 04:53:30 +05:30
Ritiek Malhotra
a833f190e1 Bugfix: default config saved is overwritten with passed args 2020-05-18 04:10:43 +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
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
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
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
9afd14282a Very brittle command-line frontend 2020-04-11 22:03:47 +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