Code: Select all
<?wpl version="1.0"?> <smil> <head> <meta name="AverageRating" content="5"/> <meta name="ItemCount" content="3"/> <meta name="Type" content="V"/> <title>Test</title> </head> <body> <seq> <media src="File1.AVI" title="Some title 1"/> <media src="File2.AVI" title="Another title"/> </seq> </body> </smil>
You have to set the meta information <meta name="Type" content="V"/> for Twonky to accept it as video playlist. Otherwise it will (probably) be listed as music playlist. This meta type is not part of the microsoft documentation, but I took and adjusted it from Ricks example of a photo slideshow. It shouldn't hurt other programs as you seem to be free to create your own meta tags.
The inconsistency is related to setting the media title by <media ... title="abcd"/>. While this works for music playlists and photo slideshows it doesn't for my video playlist. Instead the filename (without the extension) is presented.
Rick, maybe this can be fixed?
The idea to mix video and photos in one playlist didn't work. With the type was set to "V" only videos were presented (though I didn't try to set it to "P").
BTW: Looking at Microsofts documentation it seems that the title item is only defined for the <head> section to set the title of the playlist and not for the <media>. But even if it's a Twonky specific creation I like the idea and it makes sense. Given the XML-type structure it shouldn't cause any problems to other programs.