Commit Graph

939 Commits

Author SHA1 Message Date
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
89735c2bbb Add entry to CHANGES.md 2020-05-19 12:58:35 +05:30
Ritiek Malhotra
debe7ee902 Optional parameter to check if the encoder exists
If `must_exists` is `False` when intializing `EncoderFFmpeg()`, skip
skip checking whether the FFmpeg binary exists.

Fixes #722.
2020-05-19 12:49:00 +05:30
Ritiek Malhotra
9c97f33aa2 Link to commits in previous logs 2020-05-19 00:09:41 +05:30
Ritiek Malhotra
046e7e9d3c Fix crash if FFmpeg isn't found
`EncoderFFmpeg()` objects are now initialized while the program is
running, instead on invocation.
2020-05-19 00:07:35 +05:30
Ritiek Malhotra
29b1f31a26 Fix tests 2020-05-18 18:00:09 +05:30
Ritiek Malhotra
64d54d7943 Retry a few times if Genius returns an invalid response v2.0.3 2020-05-18 17:50:01 +05:30
Ritiek Malhotra
85c12a91ef Call debug statements when fetching lyrics 2020-05-18 16:28:10 +05:30
Ritiek Malhotra
9795d7e9b8 Release v2.0.2 v2.0.2 2020-05-18 15:16:00 +05:30
Ritiek Malhotra
bbe43da191 Bugfix: crash when skipping track with -m [Fixes #721] 2020-05-18 15:14:22 +05:30
Ritiek Malhotra
8b7fd04321 Bump to v2.0.1 v2.0.1 2020-05-18 14:13:00 +05:30
Ritiek Malhotra
cd5f224e37 Bugfix: -o m4a would fail [Fixes #720]
In FFmpeg, a given encoding may not always point to the same format
string.
2020-05-18 14:01:01 +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 v2.0.0 2020-05-18 04:53:30 +05:30
Ritiek Malhotra
bc6506f6b6 Prepare for release v2.0.0 2020-05-18 04:42:54 +05:30
Ritiek Malhotra
fe4276e27c Rename *.html to *html.test 2020-05-18 04:38:05 +05:30
Ritiek Malhotra
7ca0f1e8d4 Python 3.6+ only 2020-05-18 04:33:34 +05:30
Ritiek Malhotra
40acb08e5d Merge pull request #690 from ritiek/refactor
Lots of refactoring and partial re-writes
2020-05-18 04:29:10 +05:30
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
65c89075ac Pin minimum dependency versions 2020-05-15 15:45:53 +05:30
Ritiek Malhotra
f5b9fc7b1d Test for Python 3.8 on CI 2020-05-15 15:15:00 +05:30
Ritiek Malhotra
f05d5a5e96 Remove out-dated tests 2020-05-15 15:13: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
f3dec39eea CHANGELOG: "--write-to -" outputs to STDOUT 2020-05-12 19:26:15 +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