Playlist File
From NMTWiki
Playlist files are usually associated with mp3 or other audio file types, but it can also be used for media files. The NMT may eventually support the popular playlist file formats such m3u and pls, but it already features it's own type.
NOTE: The information here may be partially dated or broken. Please update the content if you find anything erraneous.
Video playlist
Use the following link to invoke a video playlist:
<a href="http://iHome/sample.jsp" vod="playlist">Sample Playlist</a>
Which will play the sample.jsp playlist
sample.jsp content format:
Movie Title|0|0|Movie URL|
Example:
Shrek|0|0|http://iHome/shrek.mpg| Toy Story 2|0|0|http://iHome/toystory2.mpg| Sin City|0|0|http://iHome/sincity.mpg|
The above playlist will play 2 movies from begin to end. Please note that the URL need to be an absolute URL, not a relative URL.
Music/audio, with slides and photo album
<a href="Song URL" pod="Mode,Reserved,Photo URL">Sample</a>
Song URL: Can be direct Song URL (http://iHome/withoutyou.mp3) or .jsp song list URL (http://iHome/songlist.jsp) or special keyword MUTE for photo album without song.
Song List Format (songlist.jsp)
Song Title|Range Start|Range End|Song URL|
Example:
Without You|0|0|http://iHome/withoutyou.mp3| Hotel California|0|0|http://iHome/hotelcalifornia.mp3|
The above playlist will play 2 MP3 song from begin to end.
Mode: 1 = Photo Album, 2 = Audio On Demand Reserved: Reserved Photo URL: JSP to generate the Photo List (photolist.jsp)
Picture/photo playlist
Photo List Format (photolist.jsp):
Photo Interval (in seconds)|Reserved|Title|Photo URL|
Example:
5|0|Photo 1|http://iHome/photo1.jpg| 5|0|Photo 2|http://iHome/photo2.jpg| 5|0|Photo 3|http://iHome/photo3.jpg|
The above photo playlist will play 3 photos with 5 seconds interval.
