Subsonic plugin

Discuss third-party additions, plugins and translations for PS3 Media Server

Re: Subsonic plugin

Postby SharkHunter » Mon Nov 21, 2011 8:50 pm

I finally got around to publish the code on GitHub. So from now on download from there.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Subsonic plugin

Postby lencioni » Thu Nov 24, 2011 9:45 pm

Will this plugin work with Subsonic over HTTPS? What if the server is using an invalid security certificate?

I seem to be able to connect, but on my blu ray player it tells me there are no valid files and on my XBOX 360, when I browse into any of the folders (A-Z, Playlists, etc.), no tracks appear.

Update: I just tried it without HTTPS, and still no luck. I must have something else wrong.
lencioni
 
Posts: 1
Joined: Thu Nov 24, 2011 9:42 pm

Re: Subsonic plugin

Postby SharkHunter » Fri Nov 25, 2011 9:15 am

No https is not supported. For XBOX and Sony stuff make sure that you are in the audio folder otherwise not much will appear. Otherwise I need logs.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Subsonic plugin

Postby jacobthe4th » Thu Jan 05, 2012 7:25 am

I'm have downloaded your project and I am very excited. What would it take to stream FLAC? This would be my dream format.
jacobthe4th
 
Posts: 1
Joined: Thu Jan 05, 2012 7:22 am

Re: Subsonic plugin

Postby SharkHunter » Thu Jan 05, 2012 8:53 am

I think it should work. The plugin it self will only pick what is returned in the "stream" resp. "download" role. So if the Subsonic server gives you a link to the FLAC file then the plugin will use it (and hopefully PMS will transcode it properly).
So I would guess there is a configuration option on the server that controls this.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Subsonic plugin

Postby veryaner » Sun Jan 08, 2012 4:32 pm

Hi, thanks for the plugin!!! I was expecting something like that, due to I love Subsonic...
I've downloaded and installed. I have it in my menu but when I try to browse I cannot see any file.
Any help will be appreciate..
Thanks

Info
Running version 1.5 on ubuntu 11.10 32 bits.

Attached some files

PMS.conf
Code: Select all
thumbnails = true
image_thumbnails = true
uuid = 52d7df2b-b7cb-3d3b-b6d8-e1ba489284dd
folders = /media/vry1t/Movies,/media/vry1t/torrents/series
engines = pmsencoder,mencoder,tsmuxer,mplayeraudio,ffmpegaudio,tsmuxeraudio,vlcvideo,mencoderwebvideo,mplayervideodump,mplayerwebaudio,vlcaudio,rawthumbs
channels.path = /home/freaks/Public/pms-linux-1.50.0/channels
pmsencoder.script.directory = /home/freaks/Public/pms-linux-1.50.0/scripts
cookie.path = /home/freaks/Public/pms-linux-1.50.0/channels/data/cookies
channels.debug = true
channels.subtitles = true
channels.group_folder = false
channels.favorite = true
get-flash-videos.path = /home/freaks/Public/pms-linux-1.40.0/scripts
youtube-dl.path = /home/freaks/Public/pms-linux-1.50.0/scripts
rtmpdump.path = /usr/bin/rtmpdump
subsonic.servers = arda,http://192.168.2.2:4040
cread.path = /home/freaks/.config/PMS/PMS.cred
hidevideosettings = true
hide_transcode_folder = true
hide_extensions = false
use_mplayer_for_video_thumbs = true


debug.log
Code: Select all
[main] INFO  12:29:37.936 Starting PS3 Media Server 1.50.0
[main] INFO  12:29:37.942 by shagrath / 2008-2011
[main] INFO  12:29:37.942 http://ps3mediaserver.org
[main] INFO  12:29:37.946 http://code.google.com/p/ps3mediaserver
[main] INFO  12:29:37.948 http://ps3mediaserver.blogspot.com
[main] INFO  12:29:37.949
[main] INFO  12:29:37.950 Java: 1.6.0_23-Sun Microsystems Inc.
[main] INFO  12:29:37.951 OS: Linux i386 3.0.0-14-generic
[main] INFO  12:29:37.952 Encoding: UTF-8
[main] INFO  12:29:37.953 Working directory: /home/freaks/Public/pms-linux-1.50.0
[main] INFO  12:29:37.980 Temp folder: /tmp/ps3mediaserver
[main] INFO  12:29:37.982 Logging config file: /home/freaks/Public/pms-linux-1.50.0/logback.xml
[main] INFO  12:29:37.983 debug.log: /home/freaks/Public/pms-linux-1.50.0/debug.log
[main] INFO  12:29:37.984
[main] INFO  12:29:37.990 Profile directory: /home/freaks/.config/PMS
[main] INFO  12:29:37.991 Profile path: /home/freaks/.config/PMS/PMS.conf
[main] INFO  12:29:37.996 Profile status: rw
[main] INFO  12:29:37.997 Profile name: arda
[main] INFO  12:29:37.997
[main] WARN  12:29:38.202 Error loading libzen: Unable to load library 'zen': libzen.so: cannot open shared object file: No such file or directory
[main] INFO  12:29:38.203 Loading MediaInfo library
[main] INFO  12:29:38.271 Error loading MediaInfo library: Unable to load library 'mediainfo': libmediainfo.so: cannot open shared object file: No such file or directory
[main] INFO  12:29:38.273 Make sure you have libmediainfo and libzen installed
[main] INFO  12:29:38.274 The server will now use the less accurate ffmpeg parsing method
[main] INFO  12:29:38.321 Loading renderer configurations from /home/freaks/Public/pms-linux-1.50.0/renderers
[main] INFO  12:29:38.334 Loading configuration file: SonyBluray.conf
[main] INFO  12:29:38.352 Loading configuration file: Bravia5500.conf
[main] INFO  12:29:38.390 Loading configuration file: BraviaEX.conf
[main] INFO  12:29:38.405 Loading configuration file: AirPlayer.conf
[main] INFO  12:29:38.411 Loading configuration file: XBOX360.conf
[main] INFO  12:29:38.415 Loading configuration file: PopcornHour.conf
[main] INFO  12:29:38.420 Loading configuration file: iPad-iPhone.conf
[main] INFO  12:29:38.427 Loading configuration file: Bravia4500.conf
[main] INFO  12:29:38.432 Loading configuration file: FreecomMusicPal.conf
[main] INFO  12:29:38.443 Loading configuration file: SamsungWiseLink.conf
[main] INFO  12:29:38.445 Loading configuration file: WMP.conf
[main] INFO  12:29:38.448 Loading configuration file: Philips.conf
[main] INFO  12:29:38.450 Loading configuration file: Panasonic.conf
[main] INFO  12:29:38.453 Loading configuration file: Streamium.conf
[main] INFO  12:29:38.456 Loading configuration file: WDTVLive.conf
[main] INFO  12:29:38.468 Loading configuration file: Realtek.conf
[main] INFO  12:29:38.473 Loading configuration file: PS3.conf
[main] INFO  12:29:38.481 Loading configuration file: XBMC.conf
[main] INFO  12:29:38.484 Loading configuration file: N900.conf
[main] INFO  12:29:38.487 Loading configuration file: Kuro.conf
[main] INFO  12:29:38.490 Loading configuration file: Android.conf
[main] INFO  12:29:38.494 Loading configuration file: Showtime3.conf
[main] INFO  12:29:38.497 Loading configuration file: SamsungAllShare.conf
[main] INFO  12:29:38.506 Loading configuration file: FreeboxHD.conf
[main] INFO  12:29:38.509 Checking MPlayer font cache. It can take a minute or so.
[main] DEBUG 12:29:38.511 launching: mplayer
[main] INFO  12:29:42.839 Done!
[main] INFO  12:29:42.984 Searching for plugins in /home/freaks/Public/pms-linux-1.50.0/plugins
[main] INFO  12:29:43.031 Found plugin: com.sharkhunter.channel.CH_plugin
[main] INFO  12:29:43.151 Start channel 1.51
[main] INFO  12:29:43.208 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/icefilms.ch version 0.39
[main] INFO  12:29:43.313 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/myp2p.ch version 0.3
[main] INFO  12:29:43.320 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/zattoo.ch version 0.23
[main] INFO  12:29:43.326 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/navix.ch version 0.22
[main] INFO  12:29:43.337 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/viasat.ch version 0.21
[main] INFO  12:29:43.356 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/cuevanas.ch version 0.1
[main] INFO  12:29:43.359 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/watchseries.ch version 0.21
[main] INFO  12:29:43.370 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/Movie2K.ch version 1.31
[main] INFO  12:29:43.448 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/youtube.ch version 0.25
[main] INFO  12:29:43.451 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/furk.ch version 0.26
[main] INFO  12:29:43.458 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/subtitles.ch version 0.48
[main] INFO  12:29:43.464 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/svt.ch version 0.26
[main] INFO  12:29:43.473 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/veetles.ch version 0.1
[main] INFO  12:29:43.475 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/picasa.ch version 0.1
[main] INFO  12:29:43.482 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/tpb.ch version 0.1
[main] INFO  12:29:43.486 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/tv4.ch version 0.20
[main] INFO  12:29:43.488 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/zdf.ch version 0.1
[main] INFO  12:29:43.490 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/Cuevana.ch version 0.2
[main] INFO  12:29:43.513 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/Movie2Ks.ch version 1.0
[main] INFO  12:29:43.515 parsing channel file /home/freaks/Public/pms-linux-1.50.0/channels/veetle.ch version 0.11
[main] INFO  12:29:43.559 Configuration saved to: /home/freaks/.config/PMS/PMS.conf
[main] INFO  12:29:43.644 Found plugin: com.chocolatey.pmsencoder.Plugin
[main] INFO  12:29:43.736 PMSEncoder: initializing PMSEncoder 1.5.11
[main] INFO  12:29:43.903 PMSEncoder: script directory: /home/freaks/Public/pms-linux-1.50.0/scripts
[main] INFO  12:29:43.904 PMSEncoder: loading built-in log4j config file: jar:file:/home/freaks/Public/pms-linux-1.50.0/plugins/pmsencoder-1.5.11.jar!/log4j_default.xml
[main] INFO  12:29:48.477 Registering transcoding engine: PMSEncoder
[main] INFO  12:29:48.484 Found plugin: com.sharkhunter.subsonic.SubPlug
[main] INFO  12:29:48.492 Starting Subsonic 0.12
[main] INFO  12:29:48.506 Registering transcoding engine: FFmpeg Audio
[main] INFO  12:29:48.526 Registering transcoding engine: MEncoder
[main] INFO  12:29:48.528 Registering transcoding engine: MPlayer Audio
[main] INFO  12:29:48.529 Registering transcoding engine: MEncoder Web
[main] INFO  12:29:48.530 Registering transcoding engine: MPlayer Video Dump
[main] INFO  12:29:48.530 Registering transcoding engine: MPlayer Web
[main] INFO  12:29:48.533 Registering transcoding engine: tsMuxeR
[main] INFO  12:29:48.534 Registering transcoding engine: Audio High Fidelity
[main] INFO  12:29:48.536 Registering transcoding engine: VLC Audio Streaming
[main] INFO  12:29:48.536 Registering transcoding engine: VLC Video Streaming
[main] INFO  12:29:48.537 Registering transcoding engine: Raws Thumbnailer
[main] INFO  12:29:48.695 Scanning network interface eth0 (eth0)
[main] INFO  12:29:48.697 Using address /192.168.2.2 found on network interface: name:eth0 (eth0)
[main] INFO  12:29:48.697 Created socket: /192.168.2.2:5001
[main] DEBUG 12:29:49.432 Sending ALIVE...
[main] INFO  12:29:49.434 Using the following UUID configured in PMS.conf: 52d7df2b-b7cb-3d3b-b6d8-e1ba489284dd
[New I/O server worker #1-1] INFO  12:29:51.114 No IP filter specified, access granted to /192.168.2.8
[pool-3-thread-1] INFO  12:29:51.124 Checking ip:192.168.2.8 for Playstation 3
[pool-3-thread-1] INFO  12:29:51.270 Renderer Playstation 3 found on this address: 192.168.2.8
[pool-3-thread-1] DEBUG 12:29:51.279 Starting ping -c 3 -s 64000 192.168.2.8
[pool-3-thread-1] DEBUG 12:29:51.322 Unix process ID (ping): 22828
[Thread-11] DEBUG 12:29:53.280 Stopping Unix process 22828: ping
[main] INFO  12:29:54.038 The server should now appear on your renderer
[Thread-15] DEBUG 12:30:04.037 Sending ALIVE...


PMS.cred
Here i put the usr and pwd for subsonic...
Code: Select all
subsonic.arda=usr,pwd
veryaner
 
Posts: 5
Joined: Fri Mar 04, 2011 3:31 pm

Re: Subsonic plugin

Postby SharkHunter » Mon Jan 09, 2012 9:35 am

Pls enclose the full log as I don't see any browsing going on. Also is your subsonic server configured correctly (I myself have no one running)? The plugin tries to access the server using the url you supply + /rest (in your case http://192.168.2.2:4040/rest) so if the subsonic server isn't responding to that then things will not work...
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Subsonic plugin

Postby veryaner » Mon Jan 09, 2012 12:27 pm

Thanks for the quick answer I'm in the work now I will put the log when I arrive home.

I try to browse from here my server using the rest api something like this:
http://192.168.2.2:4040/rest/ping.view? ... =rest_test
I got the ok response.
Code: Select all
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.7.0"></subsonic-response>


debug.log should have any extra information?
Thanks for your help!
veryaner
 
Posts: 5
Joined: Fri Mar 04, 2011 3:31 pm

Re: Subsonic plugin

Postby SharkHunter » Mon Jan 09, 2012 1:49 pm

I don't know all the ins and outs of the subsonic server but this is the string that the plugin uses when communicating with the server
Code: Select all
c=shark&v=1.6.0
.
I don't know if you must allow the "shark" client access in some way (or the versions must match?).
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: Subsonic plugin

Postby veryaner » Mon Jan 09, 2012 11:42 pm

I've just added the player shark to my user and nothing.. So i guess that could be something related to the version of the API... I will investigate more...
Are you appending the user and the pwd of course :)
Thanks for the answer..
veryaner
 
Posts: 5
Joined: Fri Mar 04, 2011 3:31 pm

PreviousNext

Return to Additions and Plugins

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests