So, I am using Ubuntu HH, and Mediatomb as a UPnP server, to stream to my PS3...I found on their site a code to make mediatomb import media in a specific way, but I do not understand the code, and would like to modify this a little...
Code:
function addVideo(obj)
{
var chain, show, season;
var location = obj.location.split('/');
chain = new Array();
chain.push(location[location.length-3]); //genre name (Movies, TVShows, etc)
chain.push(location[location.length-2]); //series/movie name (Movie1, TVShow1,)
addCdsObject(obj, createContainerChain(chain));
}
That is what they give, and it is supposedly supposed to make my media appear as it does in my file system...it does not...on my PC, I have it organized into /media/video/[movies or tv]/file on the PS3, it appears as video/file... does anyone have any ideas?
also, if you are not familiar with Mediatomb, the page I pulled that code from is
HERE It also has a full copy of the import script...
TYIA very much-o!
