Move the JSPF playlist code into public module

This commit is contained in:
Philipp Wolfer 2023-11-24 01:22:45 +01:00
parent 0f5cb49b4c
commit e1c9fb6076
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
11 changed files with 367 additions and 56 deletions

24
pkg/jspf/testdata/simple.jspf vendored Normal file
View file

@ -0,0 +1,24 @@
{
"playlist": {
"title": "Two Songs From Thriller",
"creator": "MJ Fan",
"track": [
{
"location": [
"http://example.com/billiejean.mp3"
],
"title": "Billie Jean",
"creator": "Michael Jackson",
"album": "Thriller"
},
{
"location": [
"http://example.com/thegirlismine.mp3"
],
"title": "The Girl Is Mine",
"creator": "Michael Jackson",
"album": "Thriller"
}
]
}
}