wrolpi/modules/videos/test
lrnselfreliance 86893ef7f1
Feature/video validate (#74)
* Videos are marked as validated so they will not be tried again.  All previous bulk methods are combined into one.

* Passing json to fixture factory to avoid writing the files in every test.

* Adding log to explain if refresh is slow.

* Generating video poster if one cannot be found.

* Generating video poster if no poster can be found.

* Videos without a video file (yet to be downloaded) are not validated.

* Video title is extracted from the video file name as a last resort.

* Keeping existing view count because it may be from the channel, which will be more recent.

* Downloads should only be downloaded after they are due, not the same day.

* Setting manager on new downloads.

* Checking if downloading is disabled in loop.

* Adding log when refresh is complete.

* Not generating posters by default.  This is to avoid deleting files.

* Not converting posters unless channel has that enabled.

* Not logging on valid because all posters will be checked.

* Validating videos in upsert.

* Using video name parser in upsert.

* Using validate_video in upsert so that data is only read once from disk.

* Attaching manager in download_manager.get_download.

* Adding 22 to preferred video format for odd 720p resolution.

Signed-off-by: Roland <roland@learningselfreliance.com>
2022-01-14 15:54:51 -07:00
..
__init__.py A new start 2021-11-01 16:43:09 -06:00
common.py Arbitrary videos can be downloaded. (#63) 2021-12-20 16:09:11 -07:00
test_captions.py Feature/video validate (#74) 2022-01-14 15:54:51 -07:00
test_common.py Feature/video validate (#74) 2022-01-14 15:54:51 -07:00
test_downloader.py Skipping video when download URL is bad. 2022-01-04 16:21:27 -07:00
test_lib.py Feature/video validate (#74) 2022-01-14 15:54:51 -07:00
test_video.py Testing that a video can be deleted without a channel. 2021-12-21 09:19:26 -07:00
test_video_url_resolver.py Arbitrary videos can be downloaded. (#63) 2021-12-20 16:09:11 -07:00