Commit graph

912 commits

Author SHA1 Message Date
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
Jesse Bannon
4447f456d5
Validate all preset StringFormatValidators on init (#79)
* fast fail

* update error msg in test
2022-06-28 09:34:30 -07:00
Jesse Bannon
cb6dc8e034
Add youtube.download_strategy: "merge_playlist" (#77)
* begin

* chapters class, trying to add chapter splitting and general ffmpeg metadata creation

* working split video

* so very close

* test passing, is reproducible

* lint fixed

* fix docs

* track no longer used in example

* if, then del

* multiple values

* github hash
2022-06-26 15:18:07 -07:00
Jesse Bannon
1620c3a42d
youtube.download_strategy split_video (#76)
* youtube.download_strategy split_video

* almost working, need to deal with track_title and other overwrites

* working test

* ci ffmpeg

* sudo -f

* fix code block
2022-06-18 23:12:10 -07:00
Jesse Bannon
ee6706334f
ytdl_options defaults for each download strategy (#72)
* `ytdl_options` defaults for each download strategy

* fix docker, fix defaults getting added, add debugger test

* test playlist as well

* fix with hack

* fix full channel test

* existing
2022-06-14 00:03:01 -07:00
Jesse Bannon
3d7595cda9
Configurable log levels (#71) 2022-06-08 23:01:31 -07:00
Jesse Bannon
a79fcaa25b
Use URLs instead of IDs for sources (#70)
* youtube video url

* WIP, channel /user/ and /c/ should be valid

* unit tests passing

* soundcloud artist url

* soundcloud username

* break configs with name change

* Update all yamls with urls

* update all docs

* more negative url tests
2022-06-05 16:19:08 -07:00
Jesse Bannon
e111ae53f5
Add aliases for ytdl-sub dl (#68)
* Add aliases for `ytdl-sub dl`

* error tests
2022-06-04 16:58:50 -07:00
Jesse Bannon
67104bca43
Move docker install into main readme (#61) 2022-06-02 22:34:09 -07:00
Jesse Bannon
835c276da4
Push on master or release (#60) 2022-06-01 22:37:39 -07:00
jbannon
3c3f9140f7 safer login 2022-06-02 05:17:15 +00:00
jbannon
2781566cb3 Fix push on master 2022-06-02 05:08:14 +00:00
Jesse Bannon
e6876f25e2
Only publish on master (#59) 2022-06-01 22:05:52 -07:00
Jesse Bannon
3143647b8d
Publish package on each push to master (#58) 2022-06-01 21:46:03 -07:00
Jesse Bannon
4994e3685e
mkv bugfix from ffmpeg (#57)
* mkv bug from ffmpeg

* always have working directory with entry
2022-05-30 18:45:00 -07:00
Jesse Bannon
1d5992f93a
Remove unused apk packages (#56) 2022-05-30 17:24:14 -07:00
Jesse Bannon
4f64089e22
ffmpeg install in docker (#55) 2022-05-30 13:02:23 -07:00
Jesse Bannon
a7524e1348
Simplify the README (#54)
* better readme

* code block ytdl-sub

* update links
2022-05-30 12:51:16 -07:00
Jesse Bannon
8b336e6fb0
Always convert thumbnails to jpg (#51)
* always use jpg

* fix unit test

* update readme and configs
2022-05-30 09:59:25 -07:00
Jesse Bannon
a6cf9c3a11
Add soundcloud discography example w/test (#49)
* example sc yaml

* discography test

* json sort_keys
2022-05-30 00:25:41 -07:00
Jesse Bannon
56cc17e13c
Tests for music video (vid + playlist) download (#48) 2022-05-28 22:58:38 -07:00
Jesse Bannon
a80a834924
Umask support, fix overrides formatter variable error message (#46)
* umask support, fix error message

* fix error location

* make pylint disable area smaller, remove int
2022-05-28 00:28:54 -07:00
Jesse Bannon
ec1cc534ea
Yaml error handling (#45) 2022-05-27 22:14:50 -07:00
Jesse Bannon
f3c06ec15c
Add more source variables (#42) 2022-05-26 23:54:12 -07:00
Jesse Bannon
9c97fb7572
sanitized suffix (#41) 2022-05-26 23:02:40 -07:00
Jesse Bannon
6b53b3bdea
ytdl-sub dl --youtube.video bugfixes (#40)
* Fix error when maintain_download_archive=False, improve error message

* edge pip in dockerfile, if for dl archive

* lint
2022-05-26 22:38:24 -07:00
Jesse Bannon
de5dade937
Fix error when maintain_download_archive=False, improve error message (#39) 2022-05-20 14:41:05 -07:00
Jesse Bannon
0e8ea1f9b6
Docker Readme (#38) 2022-05-20 13:32:20 -07:00
Jesse Bannon
5b72ca51c6
Dockerfile and docker-compose.yml (#36) 2022-05-20 12:52:58 -07:00
Jesse Bannon
7f79323e1f
readthedocs FAQ (#26) 2022-05-15 22:34:28 -07:00
Jesse Bannon
3543101592
simplified readme (#25) 2022-05-15 21:56:43 -07:00
Jesse Bannon
d17f677db3
Add inheritance for presets (#24) 2022-05-15 16:31:34 -07:00
Jesse Bannon
29ef377cc7
Add documentation for plugins + improve docs overall (#23) 2022-05-10 22:22:03 -07:00
jbannon
f67a4dc7dc readthedocs badge 2022-05-07 06:49:39 +00:00
jbannon
e81aad9de1 badges 2022-05-07 06:19:12 +00:00
Jesse Bannon
c55fa00c02
rename to ci (#22) 2022-05-06 22:54:04 -07:00
Jesse Bannon
b9ba5ab901
codecov io test coverage (#21) 2022-05-06 22:49:55 -07:00
Jesse Bannon
ab2df88299
Overhaul docs for readthedocs (#20) 2022-05-06 22:25:29 -07:00
jbannon
b37a138f65 link to dir 2022-05-03 06:49:13 +00:00
jbannon
360d075189 install section 2022-05-03 06:47:31 +00:00
Jesse Bannon
b564e1fcf4
Make readme up to date and improved (#19) 2022-05-02 23:31:47 -07:00
jbannon
ec62912244 test subscription types for channel 2022-05-01 06:05:00 +00:00
Jesse Bannon
f52f829a2b
Use info.json files for all download strategies (#18) 2022-04-30 22:06:47 -07:00