Added minimal definition files describing the format of a video package and a playlist

This commit is contained in:
Erik Thuning 2022-04-01 00:52:43 +02:00
parent 384c7cc513
commit 42d5a587be
2 changed files with 28 additions and 0 deletions

12
listdef.json Normal file

@ -0,0 +1,12 @@
{
"title": "", //name of this playlist
"items": [
{
"id": "",
"title": "",
"description": "",
"link": "",
"thumb": "" //an image file
}
]
}

16
packagedef.json Normal file

@ -0,0 +1,16 @@
{
"id": "",
"title": "",
"thumb": "", //an image file
"token": "",
"subtitles": "", //a .vtt file
"sources": [ //any number of sources, tested up to 4
{
"video": { //all sources should have the same set of resolutions
"720": "" //map a resolution to a video file
},
"poster": "", //an image file
"playAudio": true //only one source should play audio
}
]
}