Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Cheers HaydnH
Didn't know that SpiderMonkey was JS. But all make sense now.
Using Twonky (4.4.4 RC1) at present with my PS3 - working very well, but really want to setup my own database structure using JS.
Looking forward to your realease.
Garty
p.s.: Try uploading to www.evilshare.com
Offline
i can put it on my public site.. if needbe ... pm me the files and i will post the link
Offline
gartylad: I've upladed a temporary tarball in case you want to have a play before I get the chance to upload a full package, it contains a new "mediatomb" binary to go in the bin directory, libjs and libid3 to go in the lib directory (you can remove libtag now if you want as it's unused)... using these new files will allow you to setup your own structure - there's a good example on the mediatomb.cc website under scripting but I haven't tried it yet.
I've also include the magic files to be included with the <magic-file></magic-file> tags in the config file to get magic file support working, these tags are listed in the documentation for mediatomb.
NOTE: These files are meant for gartylad to play with for now - please stick to the standard download in the first post for now until I release a new version.
You'll find it here: link removed - broken & redundant.
Haydn.
edit: fixed typo
Last edited by HaydnH (2008-01-21 19:32:10)
Offline
Update: I also have a compiled version of the latest svn which fixes the -d option (run as a daemon) and apparently fixes some id3 errors but I haven't been able to check the latter... that will be in the next proper release.
Offline
Better...can't say...
Another option is; http://rapidfile.net/
Offline
HaydnH : Cheers for the complie
Got the updated file installed, setup JS scripting, and deleted my old database.
Getting errors when trying to add any files as follows :
/mnt/HD_a2/mediatomb/bin/mediatomb: can't resolve symbol '__clzsi2'
Hoping this means something to you.
Offline
I'll have to have a look when I'm at home (tomorrow probably) - I'll be setting up openvpn as well so I'll be able to do things like this remotely from now on!
Offline
Gartylad - the problem is fixed in the v0.2 release.
Offline
HaydnH - Is that mediatomb v0.2 or your compile v0.2.
If mediatomb do you know where it is, all site details comment v0.10.0 is the latest.
If yours, whenever you've got time compile and post her up.
Cheers
Offline
v0.2 is my version, sorry I should have asked you to see the first post! I've started adding the mediatomb version (svn 1634 or 0.11pre) and my version (so I can keep track) to the filename. FYI, all new files will be in the first post to avoid new downloaders getting old versions.
Offline
HaydnH
Cheers for your work
All is working great, js scripting is working for custom database structure.
Just need to play with the scripts until i'm happy (which could take a while)
Offline
Requests to be included in next build v.3
For 'libextractor' or 'ffmpeg' to be included in the compile to add video metadata support.
Would be great to build a movie database using Genre, Year, Staring Actor, etc..
Offline
"For 'libextractor' or 'ffmpeg' to be included in the compile to add video metadata support."
I was advised by jin_eld (one of the devs for mediatomb) not to bother trying to compile libextractor support for a nas box as it would take ages to import video. Also, why would you want ffmpeg - I doubt the dns-323 is fast enough to transcode video - I have compiled ffmpeg for the 323 in the past (before the PS3 got divx/xvid support) and it was far too slow to be practical in one off conversions so on the fly transcoding is very doubtful.
I might create 2 dev packages (1 with libextractor, 1 with ffmpeg) for you to try when I have a bit more time, although I doubt they'll be practical. I want to focus the time I have atm on ipkg and making the dns-323 simple to use, in terms of additional applications, for complete novices, i.e: ipkg etc.
Offline
HaydnH - I agree with all your comments.
Libextractor would be very slow on the DNS but this would be a 'one time' delay when added new movies to the data base, the possibilites for a full database of movies would be great though.
In the info I've found on 'ffmpeg' it can be used to extract metadata from video files, I don't intend to transcode any video files ever.
No great push for this; its just and "if its possible" and "if you get time" question.
Offline
Hi,
I got mediatomb to launch and it works with my PS3. Great!
Now I'd like to have it launch at boot-up: how do I add it to the fun_plug?
Also, if need be, how do you stop mediatomb?
Thanks
pakito
fw 1.04 - funplug 0.4
Last edited by pakito (2008-02-29 17:47:54)
Offline
To run at boot, add the following lines to the /mnt/HD_a2/fun_plug script:
LD_LIBRARY_PATH=/mnt/HD_a2/mediatomb/lib; export LD_LIBRARY_PATH
/mnt/HD_a2/mediatomb/bin/mediatomb -d -e egiga0 -m /mnt/HD_a2/mediatomb &
And if you need to stop or "kill" the process, run "ps -ef |grep mediatomb" and use kill on the process id (pid) of the first process which isn't the grep process, e.g:
/mnt/HD_a2 # ps -ef |grep mediatomb 5823 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5824 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5825 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5826 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5827 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5828 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5829 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5830 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5831 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5832 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5833 root 2660 S /mnt/HD_a2/mediatomb/bin/mediatomb -m /mnt/HD_a2/medi 5835 root 244 S grep mediatomb /mnt/HD_a2 # kill 5823 /mnt/HD_a2 # ps -ef |grep mediatomb 5837 root 244 S grep mediatomb /mnt/HD_a2 #
This will work with any process, using "kill <pid>" will try and shut it down nicely, if it fails to shutdown nicely you can force the kill by using "kill -9 <pid>" - although this isn't needed for mediatomb as it behaves nicely!
p.s: Welcome to the wonderful world of Linux ;P
Offline
I think that
killall mediatomb
or
kill `pidof mediatomb`
will both work too.
Offline
Yeah, I'm not too keen on advising people who are relatively new to Linux to use killall though as it would also match mediatomb-foo and baa-mediatomb, which isn't too much of a problem here - until we have a process called "a" ;P
btw, the default dns-323 pidof doesn't support "-o", so if you're using pidof in a script that's called the same as the process you may kill the script instead of the binary.
Offline
Hi there - have this up and running and so far it's the best solution to stream to the PS3 that I've tried.
I notice from the mediatomb site that version 0.11 is available - do you have any plans to compile this for the 323 ? (It's far beyond my skills )
Thanks
RAP
Offline
I made a german translation of import.js and added a feature which reproduces the directory structure. So you get Movies/Horror/... if you have files in /mnt/HD_a2/stuff/Movies/Horror.
http://christian.samsel.name/files/import.js
Last edited by oxygen (2008-03-17 12:00:49)
Offline
Hi Rap,
The compiled version is an svn version somewhere between 0.10.0 and 0.11.0 so some of the 0.11.0 features should work already - however I'll compile a new versionwhen I get a chance.
Haydn.
Offline
HaydnH wrote:
Hi Rap,
The compiled version is an svn version somewhere between 0.10.0 and 0.11.0 so some of the 0.11.0 features should work already - however I'll compile a new versionwhen I get a chance.
Haydn.
That'd be great when you can manage it - I'll keep an eye on this thread.
RAP
Offline
Hi Haydn - is this on your horizon at all ??
RAP
Offline
Hi!
I try to run command "run ./mediatomb -d -e egiga0 -m /mnt/HD_a2/mediatomb" (whitout ""), but i get
/mnt/HD_a2/fun_plug.d/bin/sh: run: not found. Can anyone help?
Sorry my english.
Offline
Rap - I got made redundant from the company I was working for yesterday (kind of - still have a job but no site to work at!) so I should have time to look at this in the next few days/weeks.
Asmi, remove the "run" from your command, i.e: use "./mediatomb blah blah"
Offline