• 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 16
[RELEASE] Subsonic
(2012-03-14, 14:22)mason Wrote: Seems legit, just thought it might be an error since the default port is 4040 if I remember correctly. Tried disabling SSL completly?

what would be the fun in that Confused
Reply
I am loving this add-on. Thanks! The only problem I've run into is that I can only play files using the Transcode feature. If I turn it off, I get a message that the add-on can't find the file. I'm using ATV2 with the newest XBMC. Any ideas? I can live with the transcoding, but seems like it'd be better sound without it.
Reply
(2012-03-12, 18:20)nojokes Wrote: I have the latest version of this addon installed and working on an ATV2 running eden RC2. The server is running subsonic 4.6.

I have noticed in the subsonic server log that tracks are started multiple times (maybe 2-3 dozen times) which is causing the play count to go way out of whack. For example, if I play an album (that has never been played) once using the addon, the play count goes from none to maybe 300-400.

Has anyone else seen this? Is there a fix?

Thanks,
A

Runnng latest 11.0
I am seeing this too. If I have a playlist up the each play of an item take on my setup about 30 seconds load.
In the status tool in subsonic I can see the file being download multiple times.
I do use https and have to have transcode on to play in the plugin.

File list load fast so it only seems to be during play.

Reply
I may have missed the point but I wanted to be able to use my subsonic server to stream to upnp devices and thought this plug in would allow me to do this. For example I can use my android phone to control a roku soundbridge, this works for the xbmc library but not the subsonic library.

Hope this makes sense!
Reply
I would use this as my main music source in xbmc but everytime I want to play a track I have to select "play with" and then choose the DVD player.
Will there be an update to make this a default setting or at least enable a player as default? Also album art is only available if one disables library mode first. Will it be possible to have album art without doing this in a future release? Other than that this is a great addon!
Reply
(2012-05-23, 17:39)richhy Wrote: I would use this as my main music source in xbmc but everytime I want to play a track I have to select "play with" and then choose the DVD player.
Will there be an update to make this a default setting or at least enable a player as default? Also album art is only available if one disables library mode first. Will it be possible to have album art without doing this in a future release? Other than that this is a great addon!

you might get better results if you force using DVDPlayer. if you don't already have a playercorefactory.xml in your userdata directory then make a file and add the following in it.

Code:
<playercorefactory>
<rules action="prepend">
<rule name="subsonic" filename=".*/rest/(stream|download).view.*" player="dvdplayer"/>
</rules>
</playercorefactory>

if you already have one, just insert the line:
Code:
<rule name="subsonic" filename=".*/rest/(stream|download).view.*" player="dvdplayer"/>
directly after the <rules> tag.

see http://wiki.xbmc.org/index.php?title=HOW...a_playback for more info on playercorefactory.xml
Reply
(2012-05-23, 17:39)richhy Wrote: I would use this as my main music source in xbmc but everytime I want to play a track I have to select "play with" and then choose the DVD player.
Will there be an update to make this a default setting or at least enable a player as default? Also album art is only available if one disables library mode first. Will it be possible to have album art without doing this in a future release? Other than that this is a great addon!

Yeah, like I said in a previous post I believe this problem is caused because XBMC does a HEAD request to Subsonic and then does a GET request afterwards. The HEAD request in subsonic doesn't just return the headers as expected but the entire stream. You'll see this manifested as subsonic streaming two files when it should only be one. This isn't so bad when its music but is bad when its video.

You can override the default player in xbmc or you can try to apply the subsonic fix I posted earlier in this thread. I did send my changes to the subsonic developer but I don't think he's done a release since Sad

Dybuk
Reply
(2012-01-04, 23:00)dybuk Wrote:
nutt318 Wrote:dybuk,

Are these settings modified on my pc with xbmc and the plugin or on my server with subsonic installed?

for a) and b) they are a modification of the plugin zip file. Or they can just be modified in the revenant xbmc directory.

for c) you need to modify subsonic and recompile it. Something like :

- Install subversion and maven.
- svn co https://subsonic.svn.sourceforge.net/svn...elease-4.6
- Modify the streamController.java as described above.
- mvn compile
- find streamController.class in your newly compiled version and copy that over the top of streamContoller.class on your server.
- Restart subsonic.

I sent an email to the subsonic developer and he said he'd look to include a fix for this in 4.7

Dybuk.

Dybuk, I'm trying to modify a) and b), but can't find the files you mentioned anywhere in my install directory. I'm running XBMC in Windows 7, with default install directory. Could you point me in the right direction please? Also, do these changes make the video actually stream better? The quality as it stands is very poor. Thanks!

Edit: Nevermind, I found them. In case anyone else is looking, they are located in your %appdata% folder. And to answer my own question, yes, it makes the video MUCH better Smile
Reply
First, thank you!

2nd :-) The plugin works great but I can only set the transcode bitrate to 320k. Using a browser I can set a much higer rate. Is there a way to modify this or am I missing something? I use my buddys server mostly for streaming video and a bit rate of 320k just is not good enough....

Reply
Hi all,

I previously had this plugin working, however last night when I went to use it I am getting a script failed error. I tried deleting the plugin and installing it to no avail. Attached is a debug log.

http://pastebin.com/W16CCSDW
Reply
(2012-06-23, 15:47)patsonrt1 Wrote: First, thank you!

2nd :-) The plugin works great but I can only set the transcode bitrate to 320k. Using a browser I can set a much higer rate. Is there a way to modify this or am I missing something? I use my buddys server mostly for streaming video and a bit rate of 320k just is not good enough....

If you search back through this thread you'll find some changes I posted that will allow higher bit rate plus other fixes.

Dybuk
Reply
dybuk,

Thank you! I did search through the thread previously but obviously not well enough ;-) I appreciate the response and your hard work with the plugin.
Reply
Love this. Now have two raspberry pi's organising my media needs, completely..... Excellent!
Reply
Hey ! I've tried to install the plugin (ok ) but when I want to start , i've got an Alert (with the demo URL or my URL) ... there is my log file :

Installed on a Raspberry pi with raspbmc Big Grin

Code:
15:25:51 T:1074876416   DEBUG: ExecuteXBMCAction : To RunAddon(plugin.audio.subsonic)
15:25:51 T:1074876416   DEBUG: Activating window ID: 10501
15:25:51 T:1074876416   DEBUG: ------ Window Deinit (Home.xml) ------
15:25:51 T:1074876416   DEBUG: ------ Window Init (MyMusicSongs.xml) ------
15:25:51 T:1074876416   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.audio.subsonic)
15:25:51 T:1074876416   DEBUG:   ParentPath = [plugin://plugin.audio.subsonic]
15:25:51 T:1074876416   DEBUG: StartScript - calling plugin Subsonic('plugin://plugin.audio.subsonic/','0','')
15:25:51 T:1074876416    INFO: initializing python engine.
15:25:52 T:1074876416   DEBUG: new python thread created. id=19
15:25:52 T:1074876416   DEBUG: WaitOnScriptResult - waiting on the Subsonic plugin...
15:25:52 T:1281102912  NOTICE: Thread XBPyThread start, auto delete: false
15:25:52 T:1281102912   DEBUG: Python thread: start processing
15:25:52 T:1246606400   DEBUG: CecLogMessage - transmitting delayed activate source command
15:25:52 T:1246606400   DEBUG: CecLogMessage - << 10:04
15:25:52 T:1246606400   DEBUG: CecLogMessage - sending data: len = 1, payload = 10:04
15:25:52 T:1281102912  NOTICE: -->Python Interpreter Initialized<--
15:25:53 T:1281102912   DEBUG: Process - The source file to load is /home/pi/.xbmc/addons/plugin.audio.subsonic/default.py
15:25:53 T:1281102912   DEBUG: Process - Setting the Python path to /home/pi/.xbmc/addons/plugin.audio.subsonic:/opt/xbmc-bcm/xbm$
15:25:53 T:1281102912   DEBUG: Process - Entering source directory /home/pi/.xbmc/addons/plugin.audio.subsonic
15:25:53 T:1281102912   DEBUG: Instantiating addon using automatically obtained id of "plugin.audio.subsonic" dependent on versio$
15:25:53 T:1156301888   DEBUG: CecLogMessage - received data: header:01020001 p0:00000410 p1:00000000 p2:00000000 p3:00000000 rea$
15:25:53 T:1246606400   DEBUG: CecLogMessage - command 'image view on' was not acked by the controller
15:25:53 T:1246606400   DEBUG: CecLogMessage - << 10:04
15:25:53 T:1246606400   DEBUG: CecLogMessage - sending data: len = 1, payload = 10:04
15:25:53 T:1281102912   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'output'
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/plugin.audio.subsonic/default.py", line 31, in <module>
                                                Addon.log('plugin queries: ' + str(Addon.plugin_queries))
                                              File "/home/pi/.xbmc/addons/plugin.audio.subsonic/resources/lib/Subsonic/Addon.py",$
                                                xbmc.output(addon.getAddonInfo('name') + ': ' + msg.encode('utf-8'),
                                            AttributeError: 'module' object has no attribute 'output'
                                            -->End of Python script error report<--
15:25:53 T:1281102912    INFO: Python script stopped
15:25:53 T:1281102912   DEBUG: Thread XBPyThread 1281102912 terminating
15:25:53 T:1156301888   DEBUG: CecLogMessage - received data: header:01020001 p0:00000410 p1:00000000 p2:00000000 p3:00000000 rea$
15:25:53 T:1246606400   DEBUG: CecLogMessage - command 'image view on' was not acked by the controller
15:25:53 T:1246606400   DEBUG: CecLogMessage - failed to make 'Recorder 1' the active source. will retry later
15:25:53 T:1074876416   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
15:25:53 T:1074876416   ERROR: GetDirectory - Error getting plugin://plugin.audio.subsonic
15:25:53 T:1074876416   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.subsonic) failed
15:25:53 T:1074876416   ERROR: Control 50 in window 10501 has been asked to focus, but it can't
15:25:53 T:1074876416   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321
15:25:53 T:1074876416   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.resize input port 60 output port 61
15:25:53 T:1074876416   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBuff$
15:25:53 T:1074876416   DEBUG: COMXCoreComponent::AllocOutputBuffers component(OMX.broadcom.resize) - port(61), nBufferCoun$
15:25:54 T:1074876416   DEBUG: waiting for python thread 19 to stop
15:25:54 T:1074876416   DEBUG: python thread 19 destructed
15:25:54 T:1074876416   DEBUG: ------ Window Init (DialogKaiToast.xml) ------

Thanks for helping !

(sorry for my english xD )
Reply
(2012-10-20, 16:35)hotoke Wrote: Hey ! I've tried to install the plugin (ok ) but when I want to start , i've got an Alert (with the demo URL or my URL) ... there is my log file :

Installed on a Raspberry pi with raspbmc Big Grin

//some code

Thanks for helping !

(sorry for my english xD )

hey !

problem solve, I've commented the line with xbmc.outpout() ... in the .py file. It's not the addon problem, the xbmc modified for raspberry may be...

So, great addon , thanks Nod
Reply
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 16

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Subsonic1