View previous topic :: View next topic |
Author |
Message |
jonasmattsson n00b
Joined: 20 May 2004 Posts: 71 Location: Gothenburg, Sweden
|
Posted: Sat Mar 07, 2009 1:07 pm Post subject: [SOLVED] mediatomb doesn't read my import.js |
|
|
Hello,
I've just installed gentoo on my homeserver. I decided to use mediatomb to serve my PS3 with media content. It works fine. But now I want to make some import settings. but whatever I change in the import.js it doesn't seem do make any diffrence. As if it wasn't read at all. I even try to use the print() function to see if it is being runned, and as I can see i's not being read. I have done several imports though the web interface, but it keeps it's default behavior. nothing is printet in the log file...
Any ideas?? where do i continue looking?
Here's some output to show my settings and some tries I've done:
Code: | jonas@hometux ~ $ grep MEDIATOMB_CONFIG /etc/conf.d/mediatomb
MEDIATOMB_CONFIG="/etc/mediatomb/config.xml"
jonas@hometux ~ $ grep import-script /etc/mediatomb/config.xml
<import-script>/usr/share/mediatomb/js/import.js</import-script>
jonas@hometux ~ $ grep -A7 "main script part" /usr/share/mediatomb/js/import.js
// main script part
if (getPlaylistType(orig.mimetype) == '')
{
var arr = orig.mimetype.split('/');
var mime = arr[0];
print(" JONAS TEST ");
jonas@hometux ~ $ grep "JONAS TEST" /var/log/mediatomb.log
jonas@hometux ~ $
jonas@hometux ~ $ |
_________________ when he was six he believed that the moon overhead followed him
by nine he had deciphered the illusion, trading magic for fact
no tradebacks.
so this is what it's like to be an adult
if he only knew now what he knew then.
Last edited by jonasmattsson on Sat Mar 07, 2009 5:15 pm; edited 1 time in total |
|
Back to top |
|
|
jonasmattsson n00b
Joined: 20 May 2004 Posts: 71 Location: Gothenburg, Sweden
|
Posted: Sat Mar 07, 2009 5:14 pm Post subject: [solved] |
|
|
I solved it.
I had a syntax error in /etc/make.conf so my USE flags was not used... so the javascript was not enabled.
Still havent figured out everything about the script though, but thats for another day, Im heading for the pub now.
cheers _________________ when he was six he believed that the moon overhead followed him
by nine he had deciphered the illusion, trading magic for fact
no tradebacks.
so this is what it's like to be an adult
if he only knew now what he knew then. |
|
Back to top |
|
|
|
|
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 vote in polls in this forum
|
|