• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 16
[RELEASE] Subsonic
Chris,

This sounds great. I am a programmer myself, but have not really gotten out of my shell in regards to working with anything outside of what I do for work. I kind of feel like I wouldn't add much value to a project like this because I don't have any experience with git, or in coding with python. But, I'd be willing to do some reading and get up to speed if you're willing to be tolerant of my lack of experience. I've been wanting to contribute something to this project for some time now.
Reply
Does this Subsonic plugin work with the new Frodo Release? I configured all my settings, but when I try to run the script I just get a script error when trying to launch the plugin. I'm not trying to transcode and am trying to connect directly to my local Subsonic installation across the LAN (ie. https://mediaserver:4444). Any assistance appreciated.

-hogfan
Image
Reply
(2013-02-24, 16:47)hogfan Wrote: Does this Subsonic plugin work with the new Frodo Release? I configured all my settings, but when I try to run the script I just get a script error when trying to launch the plugin. I'm not trying to transcode and am trying to connect directly to my local Subsonic installation across the LAN (ie. https://mediaserver:4444). Any assistance appreciated.

-hogfan

This fixed it for me http://forum.xbmc.org/showthread.php?tid...pid1237086

This continues to be the most used addon in xbmc for my house!
Reply
Thanks for that Boonish43. I'll give that a shot.

-hogfan
Image
Reply
I tried the fixed frodo versions from above, but no luck so far. Everytime I try to play a music or video file nothing happens.
In the log I found this error:

10:33:58 T:5772 ERROR: CAudioDecoder: Unable to Init Codec while loading file "removed subsonic link"
10:33:58 T:5772 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder

Any ideas?

EDIT: It seems I found a working solution by myself.
advancedsettings.xml with this content fixed it for me.

<advancedsettings>
<audio>
<!-- Default audio player: paplayer or dvdplayer-->
<defaultplayer>dvdplayer</defaultplayer>
<streamsilence>1</streamsilence>
</audio>
</advancedsettings>
Reply
Im having a problem that Ive seen pop up before but coudnt find a solution and I figured since some awesome users are continuing the work I figured id ask Smile

I keep getting multiple entries in my subsonic log for each track I listen to. whatever I listen to usually ends up in the most played list which it definitely was not.

Looks like its adding 3 entries for every time a song is played

[3/12/13 2:08:47 AM CDT] INFO PlaylistInputStream shc listening to "Jazz Is Dead - 1999-04-13 Fox Theater CO (1999) [V0]\01 - 01 Mississippi Half-Step Uptown Toodleoo.mp3"
[3/12/13 2:08:47 AM CDT] INFO PlaylistInputStream shc listening to "Jazz Is Dead - 1999-04-13 Fox Theater CO (1999) [V0]\01 - 01 Mississippi Half-Step Uptown Toodleoo.mp3"
[3/12/13 2:08:48 AM CDT] INFO PlaylistInputStream shc listening to "Jazz Is Dead - 1999-04-13 Fox Theater CO (1999) [V0]\01 - 01 Mississippi Half-Step Uptown Toodleoo.mp3"
Reply
Ok the Subsonic addon is really slick and I just got it going from my work computer to browse and play my home collection!

I did have to create the playercorefactory.xml to force it to use the DVDplayer, and I am finding that the stream will start to buffer and get to 50% or 7 seconds and then stay paused. If I simply unpause, it will play perfectly so not a big deal, really.

One thing I am wondering though, is there anyway to have the movie and tv shows from Subsonic addon integrated into the actual movie and tv show libraries? One of the most fun things about XBMC has always been the overall presentation of your library with all the art and metadata. I keep all of my art and nfo files in the same folders as my videos, so in theory it might not be that far off to have a tighter integration ... however I don't think by default that subsonic presents the nfo files (it does show at least some of the art, usually the movie poster).

It would be really great to be able to take my laptop with me on trips and still be able to browse my whole library in all it's fanart covered glory, but leverage the power of Subsonic transcoding to stream over the Internet.
Reply
Gettings this error when trying to connect with https. Any suggestions?

Code: Select all
16:56:37 T:2759689280 ERROR: Subsonic: Error contacting server. [Errno 1] _ssl.c:504: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
Reply
(2012-11-10, 16:45)geofstro Wrote: I find XBMC to be the best experience on a Mac or PC for interacting with my remote Subsonic server. I wanted to try it with the pre-Alpha builds of XBMC Frodo to take advantage of the new audio engine. The Subsonic script failed and the guy who wrote it (t0mm0) seems to have disappeared. I debugged and corrected it (very easy) and for those of you who are interested here's a link to the new files:

https://dl.dropbox.com/u/86110007/Subson...0Frodo.zip

Unzip it, place the plugin.audio.subsonic file in your XBMC addons folder and place the advanced settings.xml file in your XBMC userdata folder.

Configure the addon as with the previous version.

Enjoy!

geoff


Thanks, this worked for me on Raspbmc. I was getting the error below

"/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", line 30, in log
xbmc.output(addon.getAddonInfo('name') + ': ' + msg.encode('utf-8'),
AttributeError: 'module' object has no attribute 'output

I had instructions from somewhere else to copy this folder into \home\pi\.xbmc\userdata\addon_data\ where there is in fact a plugin.audio.subsonic folder. However there is also one in /home/pi/.xbmc/addons/ once I copied it there I no longer get the script failed error.

I'm not sure why Raspbmc has this duplicated folder and if it is the same on openelec etc but I have a test installation on my windows 8 laptop and that just has /xbmc/addons/ so be aware that all installs are not the same.

If you want to browse your xbmc folders in Raspbmc add a sousce in the file manager pointing to /home/pi/.xbmc/ You can then transfer files from a network share to Raspbmc and visa verse by opening the file manager and navigating to .xbmc in the A panel and your network share in the B panel. You then navigate to the folder you want a file copied to in one panel, then navigate to the file or folder you want to copy over in the other panel, bring up the context menu and select copy. BE CAREFUL. IF YOUR NOT SURE DO A BACKUP BEFORE YOU ATTEMPT THIS !!!!!!!!

Hope this helps
Reply
Well I havent test this in a while but after upgrading SubSonic to 4.8 I've noticed something broke with the plugin. I'm seeing this error the the xbmc.log file.

Code:
16:41:54 T:13600  NOTICE: -->Python Interpreter Initialized<--
16:41:54 T:13600  NOTICE: plugin queries: {'mode': 'play', 'id': '9644'}
16:41:54 T:13600  NOTICE: plugin handle: 1
16:41:54 T:13600  NOTICE: ping
16:41:54 T:13600  NOTICE: queries: {'p': 'Password', 'c': 'xbmc', 'v': '1.9.0', 'u': 'username', 'f': 'json'}
16:41:54 T:13600  NOTICE: getting https://subsonic.mydomain.com/rest/ping.view?p=Password&c=xbmc&v=1.9.0&u=username&f=json
16:41:56 T:13600  NOTICE: play: 9644
16:41:56 T:13600  NOTICE: queries: {'p': 'Password', 'c': 'xbmc', 'maxBitRate': 720, 'u': 'username', 'f': 'json', 'v': '1.9.0', 'id': '9644'}
16:41:58 T:7396  NOTICE: DVDPlayer: Opening: https://subsonic.mydomain.com/rest/stream.view?p=Password&c=xbmc&maxBitRate=720&u=username&f=json&v=1.9.0&id=9644
16:41:58 T:7396 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:41:58 T:11216  NOTICE: Thread CDVDPlayer start, auto delete: false
16:41:58 T:11216  NOTICE: Creating InputStream
16:41:59 T:11216  NOTICE: Creating Demuxer
16:41:59 T:12376  NOTICE: Thread CFileCache start, auto delete: false
16:42:38 T:12376 WARNING: XFILE::CCurlFile::CReadState::FillBuffer: curl failed with code 28
16:42:38 T:12376   ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
16:42:38 T:12376   ERROR: XFILE::CFileCache::Process, error 0 seeking. seek returned -1
16:42:38 T:11216 WARNING: could not find codec parameters for https://subsonic.mydomain.com/rest/stream.view?p=Password&c=xbmc&maxBitRate=720&u=username&f=json&v=1.9.0&id=9644
16:42:38 T:11216   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
16:42:38 T:11216  NOTICE: CDVDPlayer::OnExit()
16:42:38 T:11216  NOTICE: CDVDPlayer::OnExit() deleting input stream
16:42:38 T:7396   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.subsonic/?mode=play&id=9644]
16:42:38 T:7396  NOTICE: CDVDPlayer::CloseFile()
16:42:38 T:7396 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:42:38 T:7396  NOTICE: DVDPlayer: waiting for threads to exit
16:42:38 T:7396  NOTICE: DVDPlayer: finished waiting
Reply
Hi,

It's a shame I never saw this plugin before. Thank you so much for this nice feature. It runs pretty well with http but, as other users in this thread, It doesn't work correctly over ssl. Here is my xbmc.log file:

Code:
22:33:01 T:140313512843008  NOTICE: -->Python Interpreter Initialized<--
22:33:01 T:140313512843008  NOTICE: plugin queries: {'mode': 'main'}
22:33:01 T:140313512843008  NOTICE: plugin handle: 3
22:33:01 T:140313512843008  NOTICE: ping
22:33:01 T:140313512843008  NOTICE: queries: {'p': 'PASSWORD', 'c': 'xbmc', 'v': '1.4.0', 'u': 'USERNAME', 'f': 'json'}
22:33:01 T:140313512843008  NOTICE: getting https://mysub.mydomain.org:5555/rest/ping.view?p=PASSWORD&c=xbmc&v=1.4.0&u=USERNAME&f=json
22:33:01 T:140313512843008   ERROR: Subsonic: Error contacting server. [Errno 1] _ssl.c:504: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error

Does it mean something to you ?
Reply
Great plugin! I have 1 question:

When I choose the music I want to play in xbmc, everything works perfectly (I can see the tracknames, album art,...).
But when I play a song accessed with a remote controller on android (let's say Yatse), I only see stream.view in the "now playing". No title or album art.

I've been trying to find out how to fix it, but nothing so far. Stream.view is part of the subsonic API:
http://www.subsonic.org/pages/api.jsp#stream

Thanks!
Reply
Any plans for the plugin to use id3tag sorting? I just installed subsonic and the latest version supports it if the client does (like Ultrasonic for Android). I do not look forward to changing 100K+ tracks from "Artist - Year - Album" to ~/Artist/Album.
Reply
I have been having some cosmetic issues since upgrading to Gotham with this addon and wanted to share the info in case anyone else came across it. http://forum.xbmc.org/showthread.php?tid=176470
From what I can tell editing the playercorefactory.xml is no longer needed in Gotham (ymmv). I removed it and it has been working normal again

Hope this helps someone!

edit: after making this change the tracks no longer play next automatically. I guess I am running into some Gotham incompatibilities. It looks like its one or the other for me, I have to choose play next auto.
Reply
In the near future, whe hopefully don't need the subsonic plugin btw.. Subsonic 4.9 beta 1 has Upnp support, so your subsonic library can be added as a media source to XBMC....
Reply
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
  • 16

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