Commit Graph

254 Commits

Author SHA1 Message Date
Jesse Bannon
fe2f7186c5 [BACKEND] Informational codecov only (#170) 2022-08-12 11:34:22 -07:00
Jesse Bannon
1f09398ad5 [FEATURE] Subtitles support via Subtitles plugin (#169) 2022-08-12 09:58:08 -07:00
Jesse Bannon
bcf45f7f7e [REFACTOR] Use JSON files instead of hard-coded classes for expected downloads (#165)
* Expected download summaries WIP

* jesse/fix-tests

* working

* tests passing

* remove fixture usage

* fix ignore md5 logic
2022-08-10 12:16:38 -07:00
Jesse Bannon
3e60f7d1da [BACKEND] Do not write download archive file if no files changed (#161)
* [BACKEND] Do not write download archive file if no files changed

* ensure empty log for playlists

* test dl args

* test main completely
2022-08-07 15:02:02 -07:00
Jesse Bannon
47a46265cf [FOLLOWUP] Actually process YT channels and playlists ascending (#160)
* actually sort

* use playlist_index instead
2022-08-06 22:40:45 -07:00
Jesse Bannon
8033b1a44c [BACKEND] Download descending, process ascending for YouTube channels and playlists (#159) 2022-08-06 22:02:18 -07:00
Jesse Bannon
034855fbc4 [FEATURE+BUGFIX] Add kodi_safe arg for NFO plugins, support YT shorts (#157) 2022-08-05 16:53:36 -07:00
Jesse Bannon
7dfbb043fa [DOCS] Add link to walk-through wiki on the README 2022-08-04 17:44:48 -07:00
Jesse Bannon
5244b7c939 [DOCS] Clean up source variable readthedocs section (#152) 2022-08-04 17:34:06 -07:00
Jesse Bannon
b28ef2365b [BACKEND] Allow more nesting for source + override variables (#150) 2022-08-04 14:42:20 -07:00
Jesse Bannon
b3883de7c4 [DOCS] Remove download_individually params from readthedocs (#147) 2022-08-04 11:28:48 -07:00
Jesse Bannon
c6e6f8e275 [BUG] Fix channel artwork error if not specified (#146) 2022-08-04 11:28:34 -07:00
Jesse Bannon
fe9803ca28 [DOCS] Slight README change 2022-08-04 00:07:07 -07:00
Jesse Bannon
879966aa66 [DOCS] MusicBee example in README 2022-08-03 11:44:58 -07:00
Jesse Bannon
b667301d4d [DOCS] Update README with preview images 2022-08-03 11:04:01 -07:00
Jesse Bannon
e3d6245aeb [BUG] Prevent ytdl-sub args being specified as dl args (#139)
* [BUG] Prevent ytdl-sub args being specified as dl args

* refactor fail
2022-08-01 15:40:52 -07:00
Jesse Bannon
2fde8f69c3 [BUG] Fix log-level not respected by loggers (#138)
* [BUG] Fix log-level not respected by loggers

* _main

* fix mocking
2022-08-01 14:45:01 -07:00
Jesse Bannon
9fd97beca3 [BACKEND|BUG] Retry downloads with missing files (#137)
* [BACKEND|BUG] Retry downloads with missing files

* fix if statement, rename channel test file
2022-08-01 12:39:23 -07:00
Jesse Bannon
258b519f85 [BUG] Fix merge_playlist ordering (#136) 2022-07-31 23:23:13 -07:00
Jesse Bannon
23fce80db1 [BUG] Fix chapter metadata ordering (#131) 2022-07-30 21:59:02 -07:00
Jesse Bannon
09bc12c815 [FEATURE] Option to add chapters to YouTube videos via timestamps file (#130) 2022-07-30 15:52:20 -07:00
Maria Mozgunova
6056e662e6 [BACKEND] Do the match and extraction in one function 2022-07-29 07:26:27 -07:00
Jesse Bannon
232b1ac75a [BACKEND] Improve info logger messages (#129) 2022-07-29 00:03:02 -07:00
Maria Mozgunova
287ac821dc [FEATURE] List support for ytdl-sub dl (#125)
* List support for ytdl-sub dl (#103)

* Add test and amend docstrings
2022-07-27 09:52:25 -07:00
Jesse Bannon
962b26d1ec [BACKEND] Allow list validators to support length-1 lists without defining a yaml list (#126) 2022-07-26 09:10:51 -07:00
jbannon
3d6b0410f3 [DOCS|HOTFIX] Describe ytdl-sub as a CLI tool in the readme 2022-07-23 05:50:12 +00:00
Jesse Bannon
3d46909b4a [DOCS] Add a config.yaml example and more info in the README (#124)
* add config in readme

* subtitle

* download aliases

* automated bit

* better subtitle
2022-07-22 22:46:33 -07:00
Jesse Bannon
bd5b2e76d8 [DOCS] Add discord link in README (#123)
* discord on readme

* link to codecov

* link to codecov, matching discord button

* no subtitle
2022-07-22 21:43:57 -07:00
Jesse Bannon
d292ab0510 [BACKEND] Remove individual_download parameter from youtube channel + playlist (#119) 2022-07-22 08:46:05 -07:00
Jesse Bannon
72442ab846 [BACKEND] Download and process Soundcloud tracks individually (#117) 2022-07-22 00:09:08 -07:00
Jesse Bannon
ce25f4d28c [BACKEND] info log download titles as they appear (#115)
* [BACKEND] info log download titles as they appear

* complete if exception
2022-07-21 23:00:17 -07:00
Jesse Bannon
99cbcb8243 [BUGFIX] Fix missing Soundcloud album tracks (#116) 2022-07-21 22:59:58 -07:00
Jesse Bannon
079994c003 [BUGFIX] Remove description from Soundcloud source variables (#114)
* [BUGFIX] Remove description from Soundcloud source variable

* update unit tests
2022-07-20 22:41:42 -07:00
Philipp Rintz
12a857bf9a [BUGFIX] Fix youtube url validator for channels without 'c', 'channel' or 'user' (#109)
* Fix youtube url validator for channels without 'c', 'channel' or 'user'

* Fix linter errors
2022-07-18 11:48:23 -07:00
Jesse Bannon
c1aa973120 [BACKEND] Avoid thumbnail downloads when possible (#105) 2022-07-17 23:12:46 -07:00
Jesse Bannon
f66596d1a7 [BACKEND] Move files from working to output directory instead of copying (#104)
* [BACKEND] Move files from working to output directory instead of copying

* still copy split video thumbnails
2022-07-17 22:43:49 -07:00
Jesse Bannon
605de74697 [FEATURE] download_individually for youtube playlists (#102) 2022-07-17 22:02:50 -07:00
Jesse Bannon
8e35c1674b [FEATURE] download_individually for Youtube channel (#101) 2022-07-17 18:17:00 -07:00
jbannon
2b0e7e0e4f [DOCS|HOTFIX] Fix regex match docs 2022-07-17 21:17:40 +00:00
Jesse Bannon
53adbbcb22 [FEATURE] Regex capture and filtering on source variables plugin (#100)
* actually working

* changed plugin format. Need unit tests, documentation, update e2e to filter

* refactor plugin name, matching now working

* description work in progress, need more intricate testing

* tests looks good, regenerate output

* e2e tested, need more failure tests, no dupe variable names, add docs

* unit tests passing again

* more fail tests

* updated with name, default, better docs

* sanitized vars created
2022-07-16 23:39:46 -07:00
Jesse Bannon
119a0c212f [BACKEND] Add regex validators (#97)
* [BACKEND] Add regex validators
2022-07-10 17:47:55 -07:00
jbannon
f318cf6fcb [HOTFIX] dry-run merge_playlist test 2022-07-08 19:22:20 +00:00
Jesse Bannon
df9f5a7836 [DOCS] Automated download via cron docs (#95)
* [DOCS] Automated download docs, fix -thumb.jpg

* patty
2022-07-08 11:46:47 -07:00
Jesse Bannon
cbb4524bd4 Update README.md 2022-07-05 23:39:41 -07:00
jbannon
4134903299 [RELEASE] 0.2.0 2022-07-06 06:13:11 +00:00
Jesse Bannon
a0b46c0982 Add --dry-run summary (#92)
* tests updated with new class

* fix nfo tags, no tests only manual inspection

* txt

* dry-run output tested

* readability

* all tests now have files except rolling recent

* better

* almost fixed

* updated txt files w/indents

* files updated, looking good

* rolling recent dry-run test

* Print in main
2022-07-05 22:51:23 -07:00
Maka0
cb31156b42 Added QEMU/buildx to Github Actions to build multiarch containers (#84)
* Updated docker to use buildx Buildkit

* Updated github actions to include QEMU/buildx to build multiarch containers

* Removed packages after build is done

* Updated documentation to set the correct default thumbnail file name

* Parallel jobs (#1)

Implemented parallel docker builds on Github Actions

* Updated default config file in Docker container

* Replaced Pillow with ffmpeg for thumbnail converting (and updated documentation to change the default thumbnail to -thumb.jpg) (#2)

* Swapped Pillow for ffmpeg for thumbnail conversion
* Further changed default thumbname to include "-thumb" (Kodi needs this to pick up the thumbnail image)
* Added ffmpeg bitexact for reproducability

* Removed extra packages needed for Pillow

* Updated ref check (#3)

* Fixed formatting on if statement for deploy job

Co-authored-by: Maka0 <bas@oddens.net>
2022-07-04 01:17:04 -07:00
Jesse Bannon
607ad9f9de [REFACTOR] Move downloaders to separate files (#91) 2022-07-02 21:48:41 -07:00
Jesse Bannon
9df40497e2 Add --dry-run argument logic (#82)
* dry-run huge refactor

* small fixes, all tests passing

* file handler, transaction log, metadata

* dry-run actually dry running

* working tests, still have more

* Everything passing besides channel

* fix youtube channel thumbnail issue, need to fix fixtures on test

* lint 10, channel tests passing. Need dry-run for split and merge video

* all tests passing, lint 10, should test dry-run arg
2022-07-02 11:24:46 -07:00
Jesse Bannon
e5b925fb57 Fix error where download archive does not exist from no downloads (#83) 2022-06-30 09:14:14 -07:00