Bug 716672 - After update to mediatomb-0.12.1-10.fc15.i686 my import.js does not work anymore
Summary: After update to mediatomb-0.12.1-10.fc15.i686 my import.js does not work anymore
Keywords:
Status: CLOSED DUPLICATE of bug 714466
Alias: None
Product: Fedora
Classification: Fedora
Component: mediatomb
Version: 15
Hardware: i686
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-26 09:21 UTC by Michael Weidner
Modified: 2011-06-27 21:24 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-06-27 21:24:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Weidner 2011-06-26 09:21:30 UTC
I have a own import.js for mediatomb:

---------------------------------------
function addAudio(obj)
{
    var dir = obj.location.split('/');
    var skip=3;
    var chain = new Array('MP3s');
 
    if(skip <= dir.length-2)
        for(i=skip;i<=(dir.length-2);i++)
                chain.push(dir[i]);
 
    addCdsObject(obj, createContainerChain(chain));
}

if (getPlaylistType(orig.mimetype) == '')
{
    var arr = orig.mimetype.split('/');
    var mime = arr[0];
    
    // var obj = copyObject(orig);
    
    var obj = orig; 
    obj.refID = orig.id;
    
    if (mime == 'audio')
    {
      addAudio(obj);
    }
}
---------------------------------------

With mediatomb-0.12.1-9.fc15.i686 and js-1.70-13.fc15.i686 this works perfect.

After update to mediatomb-0.12.1-10.fc15.i686 and js-1.8.5-6.fc15.i686 my ipmort.js does nat work anymore, mediatomb showing following in the log file:

2011-06-25 20:53:48   ERROR: missing objectType property
2011-06-25 20:53:50   ERROR: missing objectType property
2011-06-25 20:53:50   ERROR: missing objectType property
2011-06-25 20:53:57   ERROR: missing objectType property
2011-06-25 20:54:03   ERROR: missing objectType property

and so on for every new imported mp3 file.

Downgrade mediatomb-0.12.1-9.fc15.i686 and js-1.70-13.fc15.i686 solves the problem for me.

Comment 1 Michael Weidner 2011-06-26 09:22:50 UTC
See also at:

http://sourceforge.net/projects/mediatomb/forums/forum/440751/topic/4547840

Same problem there reported for fedora 15.

Comment 2 Rich Mattes 2011-06-27 21:24:51 UTC

*** This bug has been marked as a duplicate of bug 714466 ***


Note You need to log in before you can comment on or make changes to this bug.