Commit 81fd321b authored by Alexandre Fernandez's avatar Alexandre Fernandez Committed by Hugo Beauzée-Luyssen

tests: functionnal: Add playlist test cases

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 1817ee32
{
"input": [
"playlist/external_folder"
],
"expected": {
"nbPlaylists": 1,
"playlists": [{
"name": "external_folder.m3u8",
"nbItems": 3
}]
}
}
{
"input": [
"playlist/external_media"
],
"expected": {
"nbPlaylists": 1,
"playlists": [{
"name": "Streams",
"nbItems": 5,
"items": [
{
"title": "sc2_Terran_theme.ogg",
"index": 0
},
{
"title": "master.flac",
"index": 1
},
{
"title": "old.mp3",
"index": 2
},
{
"title": "boboop.mkv",
"index": 3
},
{
"title": "fast%20gold%20fast%20banshee.mp4",
"index": 4
}
]
}]
}
}
{
"input": [
"playlist/same_folder"
],
"expected": {
"nbPlaylists": 1,
"playlists": [{
"name": "playlist.m3u8",
"nbItems": 3,
"items": [
{
"title": "Track 3",
"index": 0
},
{
"title": "Track 1",
"index": 1
},
{
"title": "Track 2",
"index": 2
}
]
}]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment