update
Some checks failed
Pipeline: Test, Lint, Build / Get version info (push) Has been cancelled
Pipeline: Test, Lint, Build / Lint Go code (push) Has been cancelled
Pipeline: Test, Lint, Build / Test Go code (push) Has been cancelled
Pipeline: Test, Lint, Build / Test JS code (push) Has been cancelled
Pipeline: Test, Lint, Build / Lint i18n files (push) Has been cancelled
Pipeline: Test, Lint, Build / Check Docker configuration (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (darwin/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (darwin/arm64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/386) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v5) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v6) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v7) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (windows/386) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (windows/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Push to GHCR (push) Has been cancelled
Pipeline: Test, Lint, Build / Push to Docker Hub (push) Has been cancelled
Pipeline: Test, Lint, Build / Cleanup digest artifacts (push) Has been cancelled
Pipeline: Test, Lint, Build / Build Windows installers (push) Has been cancelled
Pipeline: Test, Lint, Build / Package/Release (push) Has been cancelled
Pipeline: Test, Lint, Build / Upload Linux PKG (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
POEditor import / update-translations (push) Has been cancelled
Some checks failed
Pipeline: Test, Lint, Build / Get version info (push) Has been cancelled
Pipeline: Test, Lint, Build / Lint Go code (push) Has been cancelled
Pipeline: Test, Lint, Build / Test Go code (push) Has been cancelled
Pipeline: Test, Lint, Build / Test JS code (push) Has been cancelled
Pipeline: Test, Lint, Build / Lint i18n files (push) Has been cancelled
Pipeline: Test, Lint, Build / Check Docker configuration (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (darwin/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (darwin/arm64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/386) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v5) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v6) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm/v7) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (linux/arm64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (windows/386) (push) Has been cancelled
Pipeline: Test, Lint, Build / Build (windows/amd64) (push) Has been cancelled
Pipeline: Test, Lint, Build / Push to GHCR (push) Has been cancelled
Pipeline: Test, Lint, Build / Push to Docker Hub (push) Has been cancelled
Pipeline: Test, Lint, Build / Cleanup digest artifacts (push) Has been cancelled
Pipeline: Test, Lint, Build / Build Windows installers (push) Has been cancelled
Pipeline: Test, Lint, Build / Package/Release (push) Has been cancelled
Pipeline: Test, Lint, Build / Upload Linux PKG (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
POEditor import / update-translations (push) Has been cancelled
This commit is contained in:
BIN
tests/fixtures/playlists/bom-test-utf16.m3u
vendored
Normal file
BIN
tests/fixtures/playlists/bom-test-utf16.m3u
vendored
Normal file
Binary file not shown.
6
tests/fixtures/playlists/bom-test.m3u
vendored
Normal file
6
tests/fixtures/playlists/bom-test.m3u
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
#EXTM3U
|
||||
# NOTE: This file intentionally contains a UTF-8 BOM (Byte Order Mark) at the beginning
|
||||
# (bytes 0xEF 0xBB 0xBF) to test BOM handling in playlist parsing.
|
||||
#PLAYLIST:Test Playlist
|
||||
#EXTINF:123,Test Artist - Test Song
|
||||
test.mp3
|
||||
1
tests/fixtures/playlists/cr-ended.m3u
vendored
Normal file
1
tests/fixtures/playlists/cr-ended.m3u
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# This is a comment
|
||||
42
tests/fixtures/playlists/invalid_json.nsp
vendored
Normal file
42
tests/fixtures/playlists/invalid_json.nsp
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"all": [
|
||||
{"is": {"loved": true}},
|
||||
{"isNot": {"genre": "Hip-Hop"}},
|
||||
{"isNot": {"genre": "Hip Hop"}},
|
||||
{"isNot": {"genre": "Rap"}},
|
||||
{"isNot": {"genre": "Alternative Hip Hop"}},
|
||||
{"isNot": {"genre": "Deutsch-Rap"}},
|
||||
{"isNot": {"genre": "Deutsche Musik"}},
|
||||
{"isNot": {"genre": "Uk Hip Hop"}},
|
||||
{"isNot": {"genre": "UK Rap"}},
|
||||
{"isNot": {"genre": "Boom Bap"}},
|
||||
{"isNot": {"genre": "Lo-Fi Hip Hop"}},
|
||||
{"isNot": {"genre": "Jazzy Hip-Hop"}},
|
||||
{"isNot": {"genre": "Jazz Rap"}},
|
||||
{"isNot": {"genre": "Jazz Rap"}},
|
||||
{"isNot": {"genre": "Southern Hip Hop"}},
|
||||
{"isNot": {"genre": "Alternative Hip Hop}},
|
||||
{"isNot": {"genre": "Underground"}},
|
||||
{"isNot": {"genre": "Trap"}},
|
||||
{"isNot": {"genre": "Mixtape"}},
|
||||
{"isNot": {"genre": "Boom-Bap"}},
|
||||
{"isNot": {"genre": "Conscious"}},
|
||||
{"isNot": {"genre": "Turntablism"}},
|
||||
{"isNot": {"genre": "Pop Rap"}},
|
||||
{"isNot": {"genre": "Aussie"}},
|
||||
{"isNot": {"genre": "Horror-Core"}},
|
||||
{"isNot": {"genre": "Pop Rap"}},
|
||||
{"isNot": {"genre": "Female-Rap"}},
|
||||
{"isNot": {"genre": "Female Rap"}},
|
||||
{"isNot": {"genre": "East Coast"}},
|
||||
{"isNot": {"genre": "East Coast Hip Hop"}},
|
||||
{"isNot": {"genre": "West Coast"}},
|
||||
{"isNot": {"genre": "Gangsta Rap"}},
|
||||
{"isNot": {"genre": "Cloudrap"}},
|
||||
{"isNot": {"genre": "Hardcore Hip Hop"}},
|
||||
{"isNot": {"genre": "Mixtape"}},
|
||||
{"isNot": {"genre": "Deutschrap"}}
|
||||
],
|
||||
"sort": "dateLoved",
|
||||
"order": "desc"
|
||||
}
|
||||
3
tests/fixtures/playlists/lf-ended.m3u
vendored
Normal file
3
tests/fixtures/playlists/lf-ended.m3u
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# This is a comment
|
||||
abc.mp3
|
||||
def.mp3
|
||||
4
tests/fixtures/playlists/pls-with-name.m3u
vendored
Normal file
4
tests/fixtures/playlists/pls-with-name.m3u
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
#PLAYLIST:playlist 1
|
||||
tests/fixtures/test.mp3
|
||||
tests/fixtures/test.ogg
|
||||
file:///tests/fixtures/01%20Invisible%20(RED)%20Edit%20Version.mp3
|
||||
3
tests/fixtures/playlists/pls-without-name.m3u
vendored
Normal file
3
tests/fixtures/playlists/pls-without-name.m3u
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
tests/fixtures/test.mp3
|
||||
tests/fixtures/test.ogg
|
||||
file:///tests/fixtures/01%20Invisible%20(RED)%20Edit%20Version.mp3
|
||||
2
tests/fixtures/playlists/pls1.m3u
vendored
Normal file
2
tests/fixtures/playlists/pls1.m3u
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
test.mp3
|
||||
test.ogg
|
||||
14
tests/fixtures/playlists/recently_played.nsp
vendored
Normal file
14
tests/fixtures/playlists/recently_played.nsp
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
Top Level Comment
|
||||
*/
|
||||
{
|
||||
"name": "Recently Played",
|
||||
"comment": "Recently played tracks",
|
||||
"all": [
|
||||
// This is an inline comment
|
||||
{"inTheLast": {"lastPlayed": 30}}
|
||||
],
|
||||
"sort": "lastPlayed",
|
||||
"order": "desc",
|
||||
"limit": 100
|
||||
}
|
||||
2
tests/fixtures/playlists/subfolder1/.hidden_playlist1.m3u
vendored
Normal file
2
tests/fixtures/playlists/subfolder1/.hidden_playlist1.m3u
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
test.mp3
|
||||
test.ogg
|
||||
2
tests/fixtures/playlists/subfolder1/pls1.m3u
vendored
Normal file
2
tests/fixtures/playlists/subfolder1/pls1.m3u
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
test.mp3
|
||||
test.ogg
|
||||
2
tests/fixtures/playlists/subfolder2/.hidden_playlist2.m3u
vendored
Normal file
2
tests/fixtures/playlists/subfolder2/.hidden_playlist2.m3u
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
test.mp3
|
||||
test.ogg
|
||||
4
tests/fixtures/playlists/subfolder2/pls2.m3u
vendored
Normal file
4
tests/fixtures/playlists/subfolder2/pls2.m3u
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
../test.mp3
|
||||
../test.ogg
|
||||
/tests/fixtures/01%20Invisible%20(RED)%20Edit%20Version.mp3
|
||||
/invalid/path/xyz.mp3
|
||||
Reference in New Issue
Block a user