The playlist/channel processing loop now sets playlist_count,
playlist_autonumber, n_entries, and __last_playlist_index on each
video entry so that templates like %(playlist_autonumber)s,
%(playlist_count)s, and %(playlist_index&{} - |)s resolve correctly
instead of showing NA.
Also updates _compact_persisted_entry to preserve n_entries and
__last_playlist_index across restarts.
Fixes #692
Agent-Logs-Url: https://github.com/alexta69/metube/sessions/b5aeb55a-3197-4a14-b8b4-96c9a67796e8
Co-authored-by: alexta69 <7450369+alexta69@users.noreply.github.com>
|
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_api.py | ||
| test_config.py | ||
| test_dl_formats.py | ||
| test_download_queue.py | ||
| test_main_helpers.py | ||
| test_persistent_queue.py | ||
| test_state_store.py | ||
| test_subscriptions.py | ||
| test_ytdl_utils.py | ||