fix: parsing lockup playlists with "MIX" instead of view count

This commit is contained in:
ThetaDev 2024-11-10 03:24:26 +01:00
parent 870ff79ee0
commit ac8fbc3e67
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
6 changed files with 19370 additions and 11 deletions

View file

@ -1,15 +1,15 @@
test:
# cargo test --features=rss
cargo nextest run --workspace --features=rss --no-fail-fast --failure-output final --retries 1
cargo nextest run --workspace --features=rss --no-fail-fast --retries 1
unittest:
cargo nextest run --features=rss --no-fail-fast --failure-output final --lib
cargo nextest run --features=rss --no-fail-fast --lib
testyt:
cargo nextest run --features=rss --no-fail-fast --failure-output final --retries 1 --test youtube
cargo nextest run --features=rss --no-fail-fast --retries 1 --test youtube
testyt-localized:
YT_LANG=th cargo nextest run --features=rss --no-fail-fast --failure-output final --retries 1 --test youtube
YT_LANG=th cargo nextest run --features=rss --no-fail-fast ---retries 1 --test youtube
testintl:
#!/usr/bin/env bash
@ -28,7 +28,7 @@ testintl:
for YT_LANG in "${LANGUAGES[@]}"; do
echo "---TESTS FOR $YT_LANG ---"
if YT_LANG="$YT_LANG" cargo nextest run --no-fail-fast --failure-output final --retries 1 --test-threads 4 --test youtube -E 'not test(/^resolve/)'; then
if YT_LANG="$YT_LANG" cargo nextest run --no-fail-fast ---retries 1 --test-threads 4 --test youtube -E 'not test(/^resolve/)'; then
echo "--- $YT_LANG COMPLETED ---"
else
echo "--- $YT_LANG FAILED ---"