markdown w3u-playlist.md
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown w3u-playlist.md相关的知识,希望对你有一定的参考价值。
w3u Fields Glossary
===================
This Glossary shows all the fields that can be used in a w3u list. The model template has been used as an example.
List
----
**name** _Text String_ Name that identifies the list.
"name": "Tutorial w3u"
**author** _Text String_ This field indicates who is the author of the list.
"author": "w3u format"
**url** _List URL_ Address where the w3u list is hosted so the changes can be synchronized. Click here to see where you can host your lists.
"url": "https://pastebin.com/G0R2ZgPR"
**contact** _Email Address_ Email address where the users can contact the author of the list.
"contact": "admin@w3uformat.com",
**info** _Text String_ Field where additional info of the list can be added.
"info": "Tutorial w3u"
**groups** Field that allows us to add different categories.
**stations** Field that allows us to add different audio or video links.
Groups
------
**name** _Text String_ Group or category tittle.
"name": "Movies"
**image** _Image URL_ Link to a image to identify the group.
"image": "http://i.imgur.com/dveRKog.png"
**stations** Field to add different audio or video links.
Stations
--------
**name** _Text String_ Name or tittle of the content the link refers to.
"name": "Tears of Steel"
**image** _Image URL_ Link to a image to identify the content.
"image": "http://i.imgur.com/zHW0cSVl.jpg"
**url** _Content URL_ Link to where the audio or video we want to play is hosted.
"url": "http://ftp.nluug.nl/pub/graphics/blender/demo/movies/ToS/ToS-4k-1920.mov"
**isHost** `true` or `false` It allows us to activate or deactivate the link solver of the video player.
"isHost": true
**referer** _Container URL_ Here we indicate the URL where the video can be played from. It is not always necessary.
"referer": "https://media.xiph.org/tearsofsteel/"
**subtitle** _Subtitle URL_ Link to a .srt or pastebin to allow the load of subtitles.
"subtitle": "http://pastebin.com/JDfuRkZe"
**parental** `true` or `false` Here we indicate the player if the link includes content protected by parental control, it is not automatically activated.
"parental": true
**audio** `true` or `false` This indicates if it is a video or audio link. It is automatically video.
"audio": true
**online** `true` or `false` This indicates if the link is working or not. It automatically shows no option.
"online": true
w3u-playlist-example.w3u
========================
```json
{
"name": "Tutorial w3u",
"author": "w3u format",
"url": "https://pastebin.com/G0R2ZgPR",
"contact": "admin@w3uformat.com",
"info": "Tutorial w3u",
"groups": [
{
"name": "Movies",
"image": "http://i.imgur.com/dveRKog.png",
"stations":
[
{
"name": "Tears of Steel (MOV)",
"image": "http://i.imgur.com/zHW0cSVl.jpg",
"url": "http://ftp.nluug.nl/pub/graphics/blender/demo/movies/ToS/ToS-4k-1920.mov"
},
{
"name": "Sintel (MKV)",
"image": "http://i.imgur.com/s2Xd81sl.jpg",
"url": "http://ftp.nluug.nl/pub/graphics/blender/demo/movies/Sintel.2010.720p.mkv"
}
]
},
{
"name": "Live",
"image": "http://i.imgur.com/WH7HT2B.png",
"stations":
[
{
"name": "NASA",
"image": "http://i.imgur.com/aCj27P5.png",
"url": "http://nasatv-lh.akamaihd.net/i/NASA_101@319270/master.m3u8"
},
{
"name": "Clubbing TV",
"image": "http://i.imgur.com/SzzEGN4.png",
"url": "http://www.filmon.com/tv/channel/export?channel_id=691",
"isHost": true
},
{
"name": "RT Español",
"image": "http://i.imgur.com/hZVHJba.jpg",
"url": "https://www.youtube.com/watch?v=OALyNX4IbBI"
}
]
}
]
}
```
* * *
<http://bit.ly/2Cpjfys>
以上是关于markdown w3u-playlist.md的主要内容,如果未能解决你的问题,请参考以下文章