Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264561 - ps3mediaserver-1.20.412: New Package
Summary: ps3mediaserver-1.20.412: New Package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://code.google.com/p/ps3mediaserver/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 22:56 UTC by Michael Mathurin
Modified: 2011-03-23 18:58 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ps3mediaserver-1.10.5 ebuild (ps3mediaserver-1.10.5.ebuild,1.76 KB, text/plain)
2009-04-01 23:01 UTC, Michael Mathurin
Details
net-misc/ps3mediaserver-1.10.5-r1.ebuild (ps3mediaserver-1.10.5-r1.ebuild,2.14 KB, text/plain)
2010-03-13 16:16 UTC, Keith Gable
Details
ps3mediaserver-9999-r1.ebuild (ps3mediaserver-9999-r1.ebuild,2.57 KB, text/plain)
2010-05-19 11:36 UTC, Keith Gable
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Mathurin 2009-04-01 22:56:17 UTC
Hi,

Attached is an ebuild for version 1.10.5 of PS3 Media Server.

PS3 Media Server is a DLNA compliant UPnP media server written in Java. It lets you stream media to PS3 with very little configuration.
Comment 1 Michael Mathurin 2009-04-01 23:01:47 UTC
Created attachment 187031 [details]
ps3mediaserver-1.10.5 ebuild

Only one changes is that instead of writing the PMS.conf and debug.log to the directory it was launched from it'll save the the to ~/.ps3mediaserver and the program is launch using 'pms' rather than 'PMS.sh'.
Comment 2 Marcello Magaldi 2010-03-13 08:35:12 UTC
(In reply to comment #1)
> Created an attachment (id=187031) [details]
> ps3mediaserver-1.10.5 ebuild
> 
> Only one changes is that instead of writing the PMS.conf and debug.log to the
> directory it was launched from it'll save the the to ~/.ps3mediaserver and the
> program is launch using 'pms' rather than 'PMS.sh'.
> 

I tried your ebuild and build it with non-free flag enabled , the problem is that pms fails to find tsMuxeR :

[linux/tsMuxeR] TRACE 09:30:56.641 [linux/tsMuxeR] 09:30:56.561 Fatal error in process starting: : Cannot run program "linux/tsMuxeR": java.io.IOException: error=2, No such file or directory

I checked /usr/share/pms and I have linux dir with tsMuxeR executable and its license in it , I gave tsMuxeR file execute permission but I still get this error.

What should it be ?
Comment 3 Keith Gable 2010-03-13 16:16:57 UTC
Created attachment 223423 [details]
net-misc/ps3mediaserver-1.10.5-r1.ebuild

I changed this ebuild to download the latest version of tsMuxeR as well as actually copy it to the right place. The original ebuild didn't copy tsMuxeR from where ps3mediaserver lives to ~/.ps3mediaserver, which is the problem you're experiencing. Also the older tsMuxeR didn't handle some files as well as the newer one.

I have an ebuild that installs the latest SVN PMS - would anyone be interested in that?
Comment 4 Marcello Magaldi 2010-03-14 01:23:25 UTC
(In reply to comment #3)
> Created an attachment (id=223423) [details]
> net-misc/ps3mediaserver-1.10.5-r1.ebuild
> 
> I changed this ebuild to download the latest version of tsMuxeR as well as
> actually copy it to the right place. The original ebuild didn't copy tsMuxeR
> from where ps3mediaserver lives to ~/.ps3mediaserver, which is the problem
> you're experiencing. Also the older tsMuxeR didn't handle some files as well as
> the newer one.
> 
> I have an ebuild that installs the latest SVN PMS - would anyone be interested
> in that?
> 

thank you, your ebuild works also with tsmuxer 
Comment 5 Sebastian L. 2010-05-02 13:14:23 UTC
(In reply to comment #3)
> I have an ebuild that installs the latest SVN PMS - would anyone be interested
> in that?

Yes.
Comment 6 Marcello Magaldi 2010-05-19 05:02:13 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > I have an ebuild that installs the latest SVN PMS - would anyone be interested
> > in that?
> 
> Yes.
> 

I'm using pms-generic-linux-unix-1.20.409-BETA from website and it works after ps3 2.30 update, so I think we should work on a ebuild for this version
Comment 7 Keith Gable 2010-05-19 11:36:51 UTC
Created attachment 232071 [details]
ps3mediaserver-9999-r1.ebuild

SVN ebuild. Worked last try. They added a dependency on MediaInfo, which is available on Gentoo's Bugzilla.
Comment 8 stemer 2010-05-22 07:42:11 UTC
(In reply to comment #7)

> SVN ebuild. Worked last try. They added a dependency on MediaInfo, which is
> available on Gentoo's Bugzilla.

When I install PMS from your ebuild (1.20.409) my PS3 is not recognized (PMS says, its unrecognized renderer) and i.e. I cannot stream mkv files etc. Altough when I run generic PMS from Google Code site and I run it from different directory in my home dir it runs without any bugs.
BTW, I dont use tsmuxer in transcoding - I use mencoder.

Heres the output of PMS from ebuild:

stemer@hegemon ~ $ pms
chmod: nie ma dostępu do `/home/stemer/.ps3mediaserver/linux/tsMuxeR': Nie ma takiego pliku ani katalogu
[main] TRACE 09:28:26.274 Starting Java PS3 Media Server v1.20.409
[main] TRACE 09:28:26.277 by shagrath / 2008-2010
[main] TRACE 09:28:26.277 http://ps3mediaserver.blogspot.com
[main] TRACE 09:28:26.277 http://code.google.com/p/ps3mediaserver
[main] TRACE 09:28:26.278 
[main] TRACE 09:28:26.278 Java 1.6.0_20-Sun Microsystems Inc.
[main] TRACE 09:28:26.278 OS Linux amd64 2.6.32-gentoo-r7
[main] TRACE 09:28:26.279 Encoding: UTF-8
[main] TRACE 09:28:26.400 Temp folder: /tmp/javaps3media
[main] TRACE 09:28:26.775 Checking font cache... launching simple instance of MPlayer... You may have to wait 60 seconds !
[main] TRACE 09:28:27.116 Done!
[main] TRACE 09:28:27.163 Registering transcoding engine FFmpeg Audio
[main] TRACE 09:28:27.171 Registering transcoding engine MEncoder
[main] TRACE 09:28:27.171 Registering transcoding engine MPlayer Audio
[main] TRACE 09:28:27.172 Registering transcoding engine MEncoder Web
[main] TRACE 09:28:27.172 Registering transcoding engine MPlayer Video Dump
[main] TRACE 09:28:27.172 Registering transcoding engine MPlayer Web
[main] TRACE 09:28:27.173 Registering transcoding engine TsMuxer
[main] TRACE 09:28:27.174 Registering transcoding engine Audio High Fidelity
[main] TRACE 09:28:27.184 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 09:28:27.185 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 09:28:27.186 Registering transcoding engine Raws Thumbnailer
[main] TRACE 09:28:27.449 Scanning network interface eth0 / eth0
[main] TRACE 09:28:27.449 Using address /192.168.1.101 found on network interface: name:eth0 (eth0) index: 2 addresses: /192.168.1.101;
[main] TRACE 09:28:27.449 Created socket: /192.168.1.101:5001
[main] TRACE 09:28:27.582 Using following UUID: 965e8fdb-11fb-3dfc-9c5b-27655d4ff426
[main] TRACE 09:28:32.677 It's ready! You should see the server appears on XMB
[New I/O server worker #1-1] TRACE 09:29:34.900 Media renderer was not recognized. HTTP User agent :UPnP/1.0
[New I/O server worker #1-2] TRACE 09:29:35.005 Media renderer was not recognized. HTTP User agent :UPnP/1.0
[New I/O server worker #1-1] TRACE 09:29:35.047 Media renderer was not recognized. HTTP User agent :UPnP/1.0 DLNADOC/1.50
[New I/O server worker #1-2] TRACE 09:29:35.062 Media renderer was not recognized. HTTP User agent :UPnP/1.0 DLNADOC/1.50
[New I/O server worker #1-1] TRACE 09:29:44.792 Media renderer was not recognized. HTTP User agent :PLAYSTATION 3
[New I/O server worker #1-2] TRACE 09:29:45.196 Media renderer was not recognized. HTTP User agent :PLAYSTATION 3
[New I/O server worker #1-1] TRACE 09:29:45.294 Media renderer was not recognized. HTTP User agent :PLAYSTATION 3
[Thread-8] TRACE 09:31:14.067 Sending BYEBYE...
[New I/O server worker #1-2] TRACE 09:31:14.926 Media renderer was not recognized. HTTP User agent :UPnP/1.0
[New I/O server worker #1-1] TRACE 09:31:16.950 Media renderer was not recognized. HTTP User agent :UPnP/1.0


And here is output from generic PMS:

stemer@hegemon ~/Downloads/pms-linux-1.20.409 $ ./PMS.sh 
[main] TRACE 09:31:48.995 Starting Java PS3 Media Server v1.20.409
[main] TRACE 09:31:49.020 by shagrath / 2008-2010
[main] TRACE 09:31:49.020 http://ps3mediaserver.blogspot.com
[main] TRACE 09:31:49.020 http://code.google.com/p/ps3mediaserver
[main] TRACE 09:31:49.021 
[main] TRACE 09:31:49.021 Java 1.6.0_20-Sun Microsystems Inc.
[main] TRACE 09:31:49.022 OS Linux amd64 2.6.32-gentoo-r7
[main] TRACE 09:31:49.022 Encoding: UTF-8
[main] TRACE 09:31:49.075 Temp folder: /tmp/javaps3media
[main] TRACE 09:31:49.331 Loading configuration file: Bravia5500.conf
[main] TRACE 09:31:49.374 Loading configuration file: PS3.conf
[main] TRACE 09:31:49.397 Loading configuration file: XBOX360.conf
[main] TRACE 09:31:49.402 Loading configuration file: WDTVLive.conf
[main] TRACE 09:31:49.414 Loading configuration file: PopcornHour.conf
[main] TRACE 09:31:49.424 Loading configuration file: Streamium.conf
[main] TRACE 09:31:49.431 Loading configuration file: Bravia4500.conf
[main] TRACE 09:31:49.457 Loading configuration file: XBMC.conf
[main] TRACE 09:31:49.459 Loading configuration file: Kuro.conf
[main] TRACE 09:31:49.464 Loading configuration file: FreeboxHD.conf
[main] TRACE 09:31:49.466 Loading configuration file: Realtek.conf
[main] TRACE 09:31:49.469 Loading configuration file: Philips.conf
[main] TRACE 09:31:49.484 Loading configuration file: Samsung.conf
[main] TRACE 09:31:49.490 Checking font cache... launching simple instance of MPlayer... You may have to wait 60 seconds !
[main] TRACE 09:31:49.742 Done!
[main] TRACE 09:31:49.818 Registering transcoding engine FFmpeg Audio
[main] TRACE 09:31:49.871 Registering transcoding engine MEncoder
[main] TRACE 09:31:49.871 Registering transcoding engine MPlayer Audio
[main] TRACE 09:31:49.872 Registering transcoding engine MEncoder Web
[main] TRACE 09:31:49.873 Registering transcoding engine MPlayer Video Dump
[main] TRACE 09:31:49.874 Registering transcoding engine MPlayer Web
[main] TRACE 09:31:49.877 Registering transcoding engine TsMuxer
[main] TRACE 09:31:49.880 Registering transcoding engine Audio High Fidelity
[main] TRACE 09:31:49.881 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 09:31:49.882 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 09:31:49.882 Registering transcoding engine Raws Thumbnailer
[main] TRACE 09:31:50.352 Scanning network interface eth0 / eth0
[main] TRACE 09:31:50.353 Using address /192.168.1.101 found on network interface: name:eth0 (eth0) index: 2 addresses: /192.168.1.101;
[main] TRACE 09:31:50.354 Created socket: /192.168.1.101:5001
[main] TRACE 09:31:50.697 Using database located at : /home/stemer/Downloads/pms-linux-1.20.409/database
[main] TRACE 09:31:51.513 A tiny media library admin interface is available at : http://192.168.1.101:5001/console/home
[main] TRACE 09:31:51.519 Using following UUID: 965e8fdb-11fb-3dfc-9c5b-27655d4ff426
[main] TRACE 09:31:56.120 It's ready! You should see the server appears on XMB
[New I/O server worker #1-1] TRACE 09:32:09.049 Renderer Playstation 3 found on this address: /192.168.1.106
[Thread-12] TRACE 09:36:24.831 Sending BYEBYE...

What could be wrong? Any ideas?
Comment 9 Keith Gable 2010-05-23 16:33:37 UTC
My PMS SVN ebuild works fine but returns some of the same errors:

vulpix keith # pms
GUI environment no available
Switching to console mode
[main] TRACE 10:26:24.882 Starting Java PS3 Media Server v1.20.409
[main] TRACE 10:26:24.887 by shagrath / 2008-2010
[main] TRACE 10:26:24.887 http://ps3mediaserver.blogspot.com
[main] TRACE 10:26:24.887 http://code.google.com/p/ps3mediaserver
[main] TRACE 10:26:24.887
[main] TRACE 10:26:24.887 Java 1.6.0_0-Sun Microsystems Inc.
[main] TRACE 10:26:24.888 OS Linux i386 2.6.31-gentoo-r6
[main] TRACE 10:26:24.888 Encoding: UTF-8
[main] TRACE 10:26:24.906 Temp folder: /tmp/javaps3media
[main] TRACE 10:26:25.277 Error in MediaInfo Library loading: Unable to load library 'mediainfo': libmediainfo.so: cannot open shared object file: No such file or directory
[main] TRACE 10:26:25.277 Make sure you have libmediainfo and libzen installed
[main] TRACE 10:26:25.281 The server will now use the less accurate ffmpeg parsing method
[main] TRACE 10:26:25.294 Checking font cache... launching simple instance of MPlayer... You may have to wait 60 seconds !
[main] TRACE 10:26:26.768 Done!
[main] TRACE 10:26:26.909 Registering transcoding engine FFmpeg Audio
[main] TRACE 10:26:26.949 Registering transcoding engine MEncoder
[main] TRACE 10:26:26.949 Registering transcoding engine MPlayer Audio
[main] TRACE 10:26:26.952 Registering transcoding engine MEncoder Web
[main] TRACE 10:26:26.952 Registering transcoding engine MPlayer Video Dump
[main] TRACE 10:26:26.953 Registering transcoding engine MPlayer Web
[main] TRACE 10:26:26.954 Registering transcoding engine TsMuxer
[main] TRACE 10:26:26.955 Registering transcoding engine Audio High Fidelity
[main] TRACE 10:26:26.955 Registering transcoding engine VideoLan Audio Streaming
[main] TRACE 10:26:26.955 Registering transcoding engine VideoLan Video Streaming
[main] TRACE 10:26:26.955 Registering transcoding engine Raws Thumbnailer
[main] TRACE 10:26:27.112 Scanning network interface eth0 / eth0
[main] TRACE 10:26:27.114 Using address /172.16.0.254 found on network interface: name:eth0 (eth0) index: 2 addresses: /172.16.0.254;
[main] TRACE 10:26:27.114 Created socket: /172.16.0.254:5001
[main] TRACE 10:26:27.480 Using following UUID: 7c614401-7ad2-395e-adb4-277b88d088d0
[New I/O server worker #1-1] TRACE 10:26:31.010 Media renderer was not recognized. HTTP User agent :UPnP/1.0
[New I/O server worker #1-1] TRACE 10:26:31.424 Media renderer was not recognized. HTTP User agent :UPnP/1.0
[New I/O server worker #1-1] TRACE 10:26:31.474 Media renderer was not recognized. HTTP User agent :UPnP/1.0 DLNADOC/1.50
[New I/O server worker #1-1] TRACE 10:26:31.512 Media renderer was not recognized. HTTP User agent :UPnP/1.0 DLNADOC/1.50
[main] TRACE 10:26:31.515 It's ready! You should see the server appears on XMB
[New I/O server worker #1-1] TRACE 10:26:31.765 Media renderer was not recognized. HTTP User agent :PLAYSTATION 3
[New I/O server worker #1-1] TRACE 10:26:31.839 Media renderer was not recognized. HTTP User agent :PLAYSTATION 3
[New I/O server worker #1-1] TRACE 10:26:31.869 Media renderer was not recognized. HTTP User agent :PLAYSTATION 3
[New I/O server worker #1-1] TRACE 10:26:45.049 Media renderer was not recognized. HTTP User agent :UPnP/1.0
[New I/O server worker #1-1] TRACE 10:26:46.570 Media renderer was not recognized. HTTP User agent :UPnP/1.0 DLNADOC/1.50

vulpix keith # svn info /usr/portage/distfiles/svn-src/ps3mediaserver/trunk/
Path: /usr/portage/distfiles/svn-src/ps3mediaserver/trunk
URL: http://ps3mediaserver.googlecode.com/svn/trunk
Repository Root: http://ps3mediaserver.googlecode.com/svn
Repository UUID: e04080f2-c846-11dd-89f9-7f0a91924d23
Revision: 410
Node Kind: directory
Schedule: normal
Last Changed Author: ps3mediaserver
Last Changed Rev: 410
Last Changed Date: 2010-04-03 10:49:45 -0500 (Sat, 03 Apr 2010)

I bet they just broke something in SVN - kind of a side-effect of using the latest development version. Someone (me?) can probably make a SVN ebuild for the latest beta version.

Also, I evidently don't have libmediainfo installed... Dunno why it's working...
Comment 10 stemer 2010-05-24 18:10:36 UTC
I have the same revision:

hegemon ~ # svn info /usr/portage/distfiles/svn-src/ps3mediaserver/trunk/
Ścieżka: /usr/portage/distfiles/svn-src/ps3mediaserver/trunk
URL: http://ps3mediaserver.googlecode.com/svn/trunk
Katalog główny repozytorium: http://ps3mediaserver.googlecode.com/svn
UUID repozytorium: e04080f2-c846-11dd-89f9-7f0a91924d23
Wersja: 410
Rodzaj obiektu: katalog
Zlecenie: normalne
Autor ostatniej zmiany: ps3mediaserver
Ostatnio zmieniona wersja: 410
Data ostatniej zmiany: 2010-04-03 17:49:45 +0200 (sob)

And I've recompiled - same things happen - I've checked and I have same settings in both instances (the one from ebuild and the standalone one).
Standalone (generic, 1.20.409) works perfectly but one from ebuild doesnt :/
I've set polish subtitles as my default ones (und,pol,pl,off in Mencoder configuration pane) and now I can only see movies with "pl" in the filename. Weird :). I hope, this is because of bug in SVN. The standalone PMS is working ok with this subtitle setting :O.
Comment 11 Eric Chatellier 2010-10-06 13:37:05 UTC
New version available : 1.20.412
Comment 12 Wim Muskee 2010-11-06 15:56:36 UTC
Version 1.10.5-r1 working on amd64; non-free and transcode USE flags disabled.
Comment 13 Aaron W. Swenson gentoo-dev 2010-11-14 22:05:54 UTC
The tsmuxer portion of the ebuild should be split out into a separate ebuild.
Comment 14 SpanKY gentoo-dev 2011-01-06 04:46:40 UTC
ive cleaned things up and added ps3mediaserver-1.20.412
Comment 15 Christian Kaps 2011-03-20 13:13:24 UTC
I used the latest ebuild from portage. Where can I find the PMS.conf file? Normally this file should be created on server startup.
Comment 16 Christian Kaps 2011-03-23 18:58:27 UTC
I think the libs libzen and libmediainfo must be added as dependency for the ebuild ps3mediaserver-1.20.412-r1