ytdl-sub/tests
Jesse Bannon 017db953bf
[FEATURE] Automatically handle playlists ordered in reverse (#948)
Playlists have always been a pain-point with ytdl-sub. If an author adds new videos to the end of a playlist, as opposed to the front, it breaks ytdl-sub's intuition of incremental scraping by breaking on the first (oldest) video. This update now makes it possible to handle this in the prebuilt TV Show presets:
- Add each URL variable (`url`, `url2`, ...) into the `download` portion of the subscription twice
- First definition is what we all know and use, simply scrapes first-to-last, then downloads last-to-first
- Second definition does the following:
  - Check to see if a URL is a YouTube playlist URL, if so...
    - Set the field to download, but with modifications to scrape last-to-first, then download first-to-last
  - Otherwise...
    - Set the field to an empty string, which means ytdl-sub will skip it
2024-04-01 04:24:41 -07:00
..
e2e [FEATURE] Automatically handle playlists ordered in reverse (#948) 2024-04-01 04:24:41 -07:00
resources [FEATURE] Automatically handle playlists ordered in reverse (#948) 2024-04-01 04:24:41 -07:00
unit [FEATURE] Automatically handle playlists ordered in reverse (#948) 2024-04-01 04:24:41 -07:00
__init__.py Add channel as kodi tv show e2e test (#15) 2022-04-29 11:09:32 -07:00
conftest.py [FEATURE] Toggleable plugin field enable for all dict-based plugins (#897) 2024-01-11 00:40:07 -08:00
expected_download.py [DEV] Do not hash .info.json files in expected download summaries (#752) 2023-10-03 13:22:19 -07:00
expected_transaction_log.py [DEV] Test-case for subscription with existing download archive (#819) 2023-11-16 23:37:24 -08:00
resources.py [DEV] Test-case for subscription with existing download archive (#819) 2023-11-16 23:37:24 -08:00