Red Hat Bugzilla – Bug 714466
Mediatomb fails to categorize media files
Last modified: 2011-07-12 01:07:23 EDT
Description of problem: Mediatomb scripting support is impaired
Version-Release number of selected component (if applicable): 0.12.1
How reproducible: Always
Steps to Reproduce:
1. Start mediatomb
2. Add media content
"ERROR: missing objectType property" and media file is not categorized
Media files are correctly processed by the JS engine and categorized
This post on mediatomb's forum sums it up pretty well:
It also offers a solution, unfortunately it seems impractical as it involves replacing the seamonkey JS engine with an old version
Created attachment 509912 [details]
RPM build error with JS 1.70*
*** Bug 716672 has been marked as a duplicate of this bug. ***
(In reply to comment #1)
> Created attachment 509912 [details]
> RPM build error with JS 1.70*
The SRPM that builds against js-1.8 contains a patch that makes it incompatible with js-1.70. You'll need to pull the patch out of the spec file to rebuild the RPM against js-1.70
Despite the fact that I know nothing about Spidermonkey, I have a build of mediatomb that seems to be working well with js-1.8 using the default import.js and playlists.js. Please try it and get back to me in this bug, if it solves your issues I will push it to stable and submit the js-1.8 patches upstream for consideration.
You can download the packages from koji for your architecture (this will require unblocking and updating to js-1.8):
Note that you may want to add "-D" to the MT_OPTIONS in /etc/mediatomb.conf for testing, this enables a lot of extra debug output in /var/log/mediatomb (assuming you're running mediatomb as a service using /etc/init.d/mediatomb)
Patch seems to work for me, my import.js does its job again.
Confirmed that media items are correctly categorized with mediatomb-0.12.1-11.fc15.i686.rpm. Thanks for sorting this out
mediatomb-0.12.1-12.fc15 has been submitted as an update for Fedora 15.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mediatomb-0.12.1-12.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
mediatomb-0.12.1-12.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.