Quantcast

Maximum PC

It is currently Sat Aug 30, 2014 10:37 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: help with mediatomb please...
PostPosted: Fri Nov 14, 2008 5:57 am 
Team Member Top 100
Team Member Top 100
User avatar

Joined: Fri Aug 12, 2005 3:14 am
Posts: 2134
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! ;-)


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group