Does anyone have an example of an import script that allows for adding External URLS?
I have a list of changing External URLS that would like to present to my DLNA player.
It currently works great when I manually enter in the External URLS, I would like to automate this process.
What you want is a simple playlist (maybe with some modifications of a playlist script), put it in a directory which is set on inotify scan, this way it will get reparsed and the virtual structure gets updated each time you change the playlist.
Does anyone have a sample of this type of playlist?
I have only seen music playlists examples.
It can be a pls version 2 playlist (like the ones seen @ shoutcast) or a simply m3u:
pls is better because it allows you to set a title for each entry, basically - just google for m3u or pls, you will find a lot of information.
Since you are using video items you might need to adapt the playlists.js script, so that a video upnp class is set (some players care about that) to object.item.videoItem