![]() |
[RELEASE] Subsonic - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148) +---- Thread: [RELEASE] Subsonic (/showthread.php?tid=99513) |
- lowball - 2011-06-01 Awesome. This works great on the old Xbox. - darwin - 2011-06-06 t0mm0 Wrote:hmmmm, weird. it looks like the folowing line is the culprit: Are you sure that subsonic should return audio/mpeg MIME type for urls of that format? Mine always returns x-download, because the url that your plugin is using appears to be the download.view and not stream.view? Code: http://192.168.0.125:4040/rest/download.view?p=NOTREALLYMYPASSWORD&c=xbmc&u=NOTREALLYMYUSER&f=json&v=1.4.0&id=2f722f6d757369632f7472616b746f722f414320536c61746572202d20283230303929205061727479204c696b652055732f3034202d205061727479204c696b6520557320284b616e6a69204b696e65746963292e6d7033 Versus : Code: http://192.168.0.125:4040/rest/stream.view?p=NOTREALLYMYPASSWORD&c=xbmc&u=NOTREALLYMYUSER&f=json&v=1.4.0&id=2f722f6d757369632f7472616b746f722f414320536c61746572202d20283230303929205061727479204c696b652055732f3034202d205061727479204c696b6520557320284b616e6a69204b696e65746963292e6d7033 This is with subsonic 4.4 server running on ubuntu, and even when I am downloading a file which is source MP3, and when I have unlimited streaming bandwidth assigned for that user in subsonic, so it should not be transcoding at all on the server side. =darwin PS - This plugin rocks!!! Subsonic + XBMC = Peanut Butter + Chocolate. - t0mm0 - 2011-06-06 hi! darwin Wrote:Are you sure that subsonic should return audio/mpeg MIME type for urls of that format? Mine always returns x-download, because the url that your plugin is using appears to be the download.view and not stream.view? yes, download.view is used to bypass transcoding, and subsonic returns x-download mime type as you say. i'm not sure if you are saying you have a problem or not, but further down the thread and in the first post is the workaround. the issue is that the default player for audio is paplayer, but paplayer fails for application/x-download mime types. dvdplayer copes fine, so the fix is to add the playercorefactory.xml entries as described in the first post. darwin Wrote:PS - This plugin rocks!!! Subsonic + XBMC = Peanut Butter + Chocolate. glad you like it ![]() thanks t0mm0. - darwin - 2011-06-06 t0mm0 Wrote:yes, download.view is used to bypass transcoding, and subsonic returns x-download mime type as you say. i'm not sure if you are saying you have a problem or not, but further down the thread and in the first post is the workaround. Yeah, I saw the workaround and am using it (works fine!) but wasn't sure if it the bit about the mime type was ever clarified, so I wanted to do so if it might be useful. Ideally we should not have to mess around with coreplayerfactory to make an addon work, though I am obviously quite comfortable doing so, hehe.. ![]() It's interesting that XBMC and your plugin scrobbles to last.fm properly where so many other streaming plugins do not. I have looked at the code and it seems to do a isStream check, but I am pretty sure your plugin scrobbles ("playing in XBMC") even if transcode is enabled? Did you do anything special for this? =darwin - t0mm0 - 2011-06-06 hi darwin, darwin Wrote:Yeah, I saw the workaround and am using it (works fine!) but wasn't sure if it the bit about the mime type was ever clarified, so I wanted to do so if it might be useful. Ideally we should not have to mess around with coreplayerfactory to make an addon work, though I am obviously quite comfortable doing so, hehe.. yeah, i made a thread in the plugin development forum about plugins being able to choose which player is used when using setResolvedUrl() but nothing ever came of it. Quote:It's interesting that XBMC and your plugin scrobbles to last.fm properly where so many other streaming plugins do not. I have looked at the code and it seems to do a isStream check, but I am pretty sure your plugin scrobbles ("playing in XBMC") even if transcode is enabled? Did you do anything special for this? not as far as i know! in fact i have not even tested this so wasn't even aware that it worked ![]() t0mm0. - wipmonkey - 2011-06-10 I get this when I try to play a video: 11:52:05 T:2604653424 M:3039457280 NOTICE: -->Python Interpreter Initialized<-- 11:52:12 T:3078522752 M:3037298688 ERROR: CAudioDecoder: Unable to Init Codec while loading file http://192.168.1.10:4040/rest/stream.view?p=PASSWD&c=xbmc&maxBitRate=320&u=USERNAME&f=json&v=1.4.0&id=#### 11:52:12 T:3078522752 M:3037298688 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.subsonic/?mode=play&id=#### video and music works in browser and music works in xbmc. any idea what I messing up? - t0mm0 - 2011-06-10 wipmonkey Wrote:I get this when I try to play a video: Looks like you're trying to use paplayer. Make sure you have followed the instructions in the first post of this thread regarding playercorefactory.XML Thanks, t0mm0 - flammenwurfer - 2011-06-11 OK, here is my xbmc.log file. To reiterate, music plays fine and behaves normally except in now playing it shows "download.view" instead of whatever song is actually playing. http://pastebin.com/ZJhgfXEi - t0mm0 - 2011-06-11 flammenwurfer Wrote:OK, here is my xbmc.log file. To reiterate, music plays fine and behaves normally except in now playing it shows "download.view" instead of whatever song is actually playing. can't really tell much from that. a debug log may more useful if you could provide one? thanks, t0mm0 Videos without sound - dybuk - 2011-06-21 I'm having a few issues with this addon. Music plays fine. Videos play but without any sound. I'm using XBMC4XBOX-3.0.1-STABLE and I installed the plugin via the gui. I did a bit of manual fudging on settings.xml file. It took me a while to figure out hitting title on the plugin would allow me to change the settings ![]() I followed the instructions about the playercorefactory.xml file. I haven't changed any of the subsonic transcode settings and I'm running version 4.4. I did change the context root to be /sub. Here is my log : Code: 14:08:54 M: 27598848 INFO: ffmpeg[278]: Input #0, flv, from 'http://192.168.206.10:4040/sub/rest/stream.view?p=xxxxxx&c=xbmc&maxBitRate=320&u=xxxxxx&f=json&v=1.4.0&id=********************************************': Any help would be much appreciated. I'm sure its some blatant user error ![]() Dybuk - marcusjb - 2011-06-22 I've got an easy problem. Whenever i open the subsonic addon, it opens with library mode on so there's nothing listed and i have to turn library mode off. Anyone know how i can turn library mode off just for this plugin? - t0mm0 - 2011-06-22 dybuk Wrote:14:08:54 M: 26800128 NOTICE: Finding audio codec for: 69645 looks like your xbmc doesn't have the correct codec? try switching on the setting to include all codecs in dvdplayer and see if that works. or maybe try using 'play with' and choosing 'mplayer' and let me know if that helps. i don't have any video set up on my server at the moment, but i'm sure i tested it before with no problems so i'm not sure what the problem is. marcusjb Wrote:I've got an easy problem. Whenever i open the subsonic addon, it opens with library mode on so there's nothing listed and i have to turn library mode off. weird, i don't see this problem (fairly recent nightly on linux). i can have library mode enabled and still see all the songs on my server when accessing the plugin. but anyway i don't know how to switch off library mode for one plugin i'm afraid. t0mm0. - dybuk - 2011-06-22 Quote:try switching on the setting to include all codecs in dvdplayer That sorted it. Great plugin. Might try playing to see if I can get higher quality and try it over ssl. Dybuk - BlackBurn - 2011-06-26 Thanks for the plugin, works great! Still a feature request, it would be nice if it was possible to add more then 1 server. So I can connect to my friends subsonsonic server as well. - t0mm0 - 2011-06-26 BlackBurn Wrote:Thanks for the plugin, works great! great idea! i'll see what i can do. t0mm0 |