Installing PMS on NAS (Synology DS-207+)

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Re: Installing PMS on NAS (Synology DS-207+)

Postby the_stalli0n » Fri Jul 03, 2009 6:30 pm

Omega: Thank you for doing this!! that's very cool. I haven't tried it out yet, but i'm really glad that someone was able to fix this problem.

Dev/mods: is there any way that this can be worked into the next official/svn release? There's an issue open for this on code.google, btw.


THANKS!
the_stalli0n
 
Posts: 31
Joined: Thu Feb 05, 2009 8:35 am

Re: Installing PMS on NAS (Synology DS-207+)

Postby japanfred » Sat Jul 04, 2009 10:55 am

Thanks for that Omega. I'm gunna to try it out later on.

I'll post on here, the issue on the Google Code Project and on my blog on how to get it all working, should it work.

Thanks again,
D
japanfred
 
Posts: 4
Joined: Mon Apr 20, 2009 4:20 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby the_stalli0n » Mon Jul 06, 2009 6:36 pm

Issue on google code:

http://code.google.com/p/ps3mediaserver ... ail?id=443


(add stars/comments/etc!)
the_stalli0n
 
Posts: 31
Joined: Thu Feb 05, 2009 8:35 am

Re: Installing PMS on NAS (Synology DS-207+)

Postby atrem » Mon Jul 06, 2009 9:37 pm

Hi guys,

Followed the steps in this post, overwrote the files in the (svn) PMS folder with the files from Omega's zipfile, installed the linux version (pms-linux-1.20) created by ant on my NAS....AND GUESS WHAT....IT WORKS! :D Great work Omega :P
My PS3 now sees PMS and I'm able to watch photo's and listen to mp3's stored on the NAS. Didn't check (lowres) video yet.

But...what doesn't work is listening to internet radio.
The only reason why I started this effort btw.
To find an easy way of listening to my (icecast) radiostation, broadcasting standalone from the same NAS(!), on my ps3.

I get this error when I try to listen to my station:
Code: Select all
Toolkit error: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
GUI environment no available
Switching to console mode
[main] TRACE 22:14:25.864 Starting Java PS3 Media Server v1.20
[main] TRACE 22:14:25.872 by shagrath / 2008-2009
[main] TRACE 22:14:25.874 http://ps3mediaserver.blogspot.com
[main] TRACE 22:14:25.876 http://code.google.com/p/ps3mediaserver
[main] TRACE 22:14:25.879
[main] TRACE 22:14:25.881 Java 1.5.0-GNU Classpath
[main] TRACE 22:14:25.884 OS Linux arm 2.6.15
[main] TRACE 22:14:25.886 Encoding: 8859_1
[main] TRACE 22:14:25.898 Temp folder: /tmp/javaps3media
[main] TRACE 22:14:25.916 Loading configuration file: Bravia5500.conf
[main] TRACE 22:14:25.964 Loading configuration file: Bravia4500.conf
[main] TRACE 22:14:25.999 Loading configuration file: Samsung.conf
[main] TRACE 22:14:26.033 Loading configuration file: PS3.conf
[main] TRACE 22:14:26.071 Loading configuration file: FreeboxHD.conf
[main] TRACE 22:14:26.109 Loading configuration file: PopcornHour.conf
[main] TRACE 22:14:26.144 Loading configuration file: XBOX360.conf
[main] TRACE 22:14:26.721 Registering transcoding engine FFmpeg Audio
[main] TRACE 22:14:26.739 Registering transcoding engine MEncoder
[main] TRACE 22:14:26.745 Registering transcoding engine MPlayer Audio
[main] TRACE 22:14:26.750 Registering transcoding engine MEncoder Web
[main] TRACE 22:14:26.755 Registering transcoding engine MPlayer Video Dump
[main] TRACE 22:14:26.760 Registering transcoding engine MPlayer Web
[main] TRACE 22:14:26.769 Registering transcoding engine TsMuxer
[main] TRACE 22:14:26.773 Registering transcoding engine Audio High Fidelity
[main] TRACE 22:14:26.780 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 22:14:26.783 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 22:14:26.788 Registering transcoding engine Raws Thumbnailer
[main] TRACE 22:14:27.858 Using address [blabla]
[main] TRACE 22:14:27.863 Created socket: [blabla]
[Thread-1] TRACE 22:14:27.890 Starting DLNA Server on host [blabla] and port [blabla]...
[main] TRACE 22:14:27.898 Using database located at : /volume1/tmp/pms-linux-1.20/database
[main] TRACE 22:14:38.604 Using following UUID: 98601847-ba7d-42b2-9623-a4401a632fcb
[Thread-1] TRACE 22:14:38.972 Receiving a request from: [blabla]
[Thread-8] TRACE 22:14:40.368 Media renderer was not recognized. HTTP User agent :Mozilla/4.0 (compatible; UPnP/1.0; Windows NT/5.1)
[main] TRACE 22:14:43.298 It's ready! You should see the server appears on XMB
[Thread-1] TRACE 22:14:58.591 Receiving a request from: [blabla]
[Thread-46] TRACE 22:15:35.612 Starting transcode/remux of Atrem's NAS Radio (local)
[mplayer] TRACE 22:15:35.785 [mplayer] 22:15:35.782 Fatal error in process starting: : /tmp/javaps3media/mplayer_aud1246911335615
[mkfifo] TRACE 22:15:41.833 Process mkfifo has a return code of -6! Maybe an error occured... check the log file


I dunno if it's caused by PMS or something else (mplayer?)

I can't check the logfile because Omega turned debugging off.
When I change debugging back on in PMS.java, ANT doesn't create output (Filewriter error).

Any ideas what this 'mkfifo return code -6' means?
atrem
 
Posts: 11
Joined: Sat Feb 07, 2009 11:38 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby the_stalli0n » Wed Jul 08, 2009 7:02 am

Hey everyone -- and thanks again to Omega.

I also rebuilt PMS using Omega's patch, with ant, and transferred it over to the NAS. However, the PS3 isn't able to see the server :(
I'm not sure why. The console messages don't include any errors, but comparing it to Atrem's output, I did notice that i'm missing these lines:

Code: Select all
[Thread-1] TRACE 22:14:27.890 Starting DLNA Server on host [blabla] and port [blabla]...
[main] TRACE 22:14:27.898 Using database located at : /volume1/tmp/pms-linux-1.20/database


Also, the program doesn't seem to quit after doing a control-C (hangs on BYEBYE)...

Any ideas?

Thanks!
the_stalli0n
 
Posts: 31
Joined: Thu Feb 05, 2009 8:35 am

Re: Installing PMS on NAS (Synology DS-207+)

Postby atrem » Wed Jul 08, 2009 9:01 am

the_stalli0n wrote:.., I did notice that i'm missing these lines:
Code: Select all
[Thread-1] TRACE 22:14:27.890 Starting DLNA Server on host [blabla] and port [blabla]...
[main] TRACE 22:14:27.898 Using database located at : /volume1/tmp/pms-linux-1.20/database

Hey stalliOn,
The database mssg is not important i.m.o., I tweaked PMS.conf a bit and turned database browsing on (think it was 'enable_archive_browsing'', not sure).
Just a few guesses:
1. Did you check if your NAS opened the default port 5001 by another program before you start PMS? Maybe try setting a different port in PMS.conf?
2. I tried Omega's original PMS.conf and then I don't see the server on my PS3 as well.
Maybe it has to do with file transferring from windows to linux?
At the end of every line I see a ^M character (in edit mode in Midnight Commander).
Now when I remove all these characters and save the file in MC, it's working allright and I see the server on the PS3...

Good luck!
atrem
 
Posts: 11
Joined: Sat Feb 07, 2009 11:38 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby the_stalli0n » Thu Jul 09, 2009 5:02 am

Maybe it has to do with file transferring from windows to linux?
At the end of every line I see a ^M character (in edit mode in Midnight Commander).
Now when I remove all these characters and save the file in MC, it's working allright and I see the server on the PS3...


Atrem -- THANKS!!! The PMS.conf file was indeed the problem. I fixed it up and PMS is now running on my NAS, showing up on the PS3!

Thanks to everyone for your help - I appreciate it :)

I haven't done much testing/tweaking yet, but I'm curious as to how well it is working for you guys. It seems like browsing folders is very slow, even with thumbnail generation turned off. Maybe I shouldn't have expected this little NAS to do much more :? I'm getting a lot of DLNA 2006 errors, i'm guessing that the program just chokes when trying to process directories full of files/folders...
the_stalli0n
 
Posts: 31
Joined: Thu Feb 05, 2009 8:35 am

Re: Installing PMS on NAS (Synology DS-207+)

Postby atrem » Thu Jul 09, 2009 7:55 pm

Hi stalliOn,

Glad it works for you too now! :)

The server is indeed slow on the NAS, but suitable enough for simple things like music and photo's.
I also noticed that the server seems to 'disappear' from the PS3, when it encounters non-fatal but severe errors.
Like when I try to listen to internet radio (see a couple of mssgs above).
atrem
 
Posts: 11
Joined: Sat Feb 07, 2009 11:38 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby arthur5five » Fri Jul 10, 2009 8:09 pm

Hi,

I was trying Atrem's method on my DS-209. It's great, detailed thank You!
Everything worked fine BUT it seems I'm not able to run jamvm.
When I try to execute the modified PMS.sh script I get Segmentation fault (core dumped) error... :(
If I try to run pms.jar separately (jamv -jar pms.jar) I get the same error message.

Anybody else run into the same problem on DS-209? Or anybody here who has managed to make PMS work DS-209?

Thank You!

Arthur
arthur5five
 
Posts: 2
Joined: Sun Feb 22, 2009 6:51 pm

Re: Installing PMS on NAS (Synology DS-207+)

Postby the_stalli0n » Sun Jul 12, 2009 1:12 am

Arthur5: i'm not sure what's happening, but i'd say that you should first make sure that Jamvm and Classpath are up to date. Maybe you can paste the output you're getting?
the_stalli0n
 
Posts: 31
Joined: Thu Feb 05, 2009 8:35 am

PreviousNext

Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 4 guests