根据https://wiki.videolan.org/XSPF/应该可以在播放列表窗口中显示嵌套条目。在下面的例子中,我希望一棵树像
Playlist
`- DLF
|- Deutschlandfunk
|- Deutschlandfunk Kultur
`- Deutschlandfunk Nova
但我明白了
Playlist
|- Deutschlandfunk
|- Deutschlandfunk Kultur
`- Deutschlandfunk Nova
示例文件:
<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" xmlns:vlc="http://www.videolan.org/vlc/playlist/ns/0/" version="1">
<title>Internetradios</title>
<trackList>
<track>
<title>Deutschlandfunk</title>
<location>http://st01.dlf.de/dlf/01/128/mp3/stream.mp3</location>
<album>DLF</album>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>0</vlc:id>
</extension>
</track>
<track>
<title>Deutschlandfunk Kultur</title>
<location>http://st02.dlf.de/dlf/02/128/mp3/stream.mp3</location>
<album>DLF</album>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>1</vlc:id>
</extension>
</track>
<track>
<title>Deutschlandfunk Nova</title>
<location>http://st03.dlf.de/dlf/03/128/mp3/stream.mp3</location>
<album>DLF</album>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:id>2</vlc:id>
</extension>
</track>
</trackList>
<extension application="http://www.videolan.org/vlc/playlist/0">
<vlc:node title="DLF">
<vlc:item tid="0"/>
<vlc:item tid="1"/>
<vlc:item tid="2"/>
</vlc:node>
</extension>
</playlist>
一些提示?