Kodi Community Forum
[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)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


Change to higher bitrate? - cclein - 2011-10-15

Any chance of having the ability to go to a higher bitrate than 320? I like something a bit higher to stream movies to. 768 or 1024?

Thanks for a great plugin!


- t0mm0 - 2011-10-15

cclein Wrote:Any chance of having the ability to go to a higher bitrate than 320? I like something a bit higher to stream movies to. 768 or 1024?

Thanks for a great plugin!

this is how the subsonic api works (the values are fixed in the server). use the setting to use original quality and it won't get transcoded at all.


- mason - 2011-11-14

For me with the latest nightly it isn't working anymore, am I the only one?


- t0mm0 - 2011-11-14

mason Wrote:For me with the latest nightly it isn't working anymore, am I the only one?

can you post a debug log to pastebin please? (you might want to do a search and replace of your password before posting Wink)

i'm running an xbmc build from a few days ago with no problems.

t0mm0


- NeS_BCN - 2011-11-17

Hi,

I'm also very interested in this plugin. It currently does not work in
my nightly (2011.11.16).

Extract of debug log (edited for obvious reasons)

Quote:17:36:23 T:5936 NOTICE: -->Python Interpreter Initialized<--
17:36:23 T:5936 WARNING: 'xbmc.output()' is depreciated and will be removed in future releases, please use 'xbmc.log()' instead
17:36:23 T:4828 WARNING: Previous line repeats 6 times.
17:36:23 T:4828 ERROR: CAudioDecoder: Unable to Init Codec while loading file http://address.of.server:port/rest/download.view?p=password&c=xbmc&u=user&f=json&v=1.4.0&id=2f6d656469612f636f636f6e7574352f566964656f2f46696c6d732f5468652e547265652e6f662e4c6966652e323031312e426c755261792e31303830702e4454532e783236342d4348442f5468652e547265652e6f662e4c6966652d73616d706c652e6d6b76
17:36:23 T:4828 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.subsonic/?mode=play&id=2f6d656469612f636f636f6e7574352f566964656f2f46696c6d732f5468652e547265652e6f662e4c6966652e323031312e426c755261792e31303830702e4454532e783236342d4348442f5468652e547265652e6f662e4c6966652d73616d706c652e6d6b76]

Your help will be highly appreciated!


- t0mm0 - 2011-11-17

NeS_BCN Wrote:Hi,

I'm also very interested in this plugin. It currently does not work in
my nightly (2011.11.16).

Extract of debug log (edited for obvious reasons)



Your help will be highly appreciated!

looks like xbmc is unable to play the file you are trying to play (you are in non-transcoding mode).

can you try switching to transcoding mode?

also try downloading the file through a browser and trying to play it directly in xbmc?

is it only some files that don't work?

what version of subsonic are you using?

thanks,

t0mm0


- NeS_BCN - 2011-11-18

Ok, here goes:

Transcoding: same results (doesn't play the file)

Downloading the file from a browser and playing directly in XBMC: the file plays without problems (also done with SFTP /FTP sources)

All files are affected, as far as I can tell. I tried several formats and sizes.

Subsonic version:
Version 4.5 (build 2384) – August 10, 2011
Server jetty-6.1.x, java 1.6.0_23, Linux

Also I would like to specify that I'm mainly interested in video files, from SD content all the way to 1080p DTS movies.


- t0mm0 - 2011-11-18

NeS_BCN Wrote:Ok, here goes:

Transcoding: same results (doesn't play the file)

Downloading the file from a browser and playing directly in XBMC: the file plays without problems (also done with SFTP /FTP sources)

All files are affected, as far as I can tell. I tried several formats and sizes.

Subsonic version:
Version 4.5 (build 2384) – August 10, 2011
Server jetty-6.1.x, java 1.6.0_23, Linux

Also I would like to specify that I'm mainly interested in video files, from SD content all the way to 1080p DTS movies.
Ah, looks like you need to modify playercorefactory.xml. as documented in the first post of this thread.

t0mm0.


- NeS_BCN - 2011-11-18

oh, I assumed it was an old hack that was previously needed in order to run the add-on, as it was written months ago when Eden was still in pre-alpha or whatever state. I honestly didn't read all 13 pages of this thread as that would have taken a very long time... Blush

Anyways, I created the playercorefactory.xml file as per instructions, sure enough many files play, with exception of the big ones. It seems to be related to cache, with regards to the size of the file being played.

When I open a file that is less than 5 GB in size, it opens and plays that file; takes about a minute or so to open though. If the file size is between 2GB and 5GB, then I usually get this message:

Quote:Cache full
Cache filled before reaching required amount for continuous playback

The file plays but it's not possible to skip forward or backward Huh


With file sizes larger than 5 GB, the file doesn't play, which produces the following error log:

Quote:11:57:15 T:640 WARNING: Previous line repeats 6 times.
11:57:15 T:640 NOTICE: DVDPlayer: Opening: http://address.of.server:port/rest/download.view?p=password&c=xbmc&u=user&f=json&v=1.4.0&id=2f6d656469612f636f636f6e7574352f566964656f2f46696c6d732f416c69636520696e20576f6e6465726c616e642d4c69464520424452697020313038307032352049544120454e472d414333204454532d5355422f5b42445269702031303830702049544120454e472d414333204454532d5355425d20416c69636520696e20576f6e6465726c616e642d4c6946452e6d6b76
11:57:15 T:640 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
11:57:15 T:4232 NOTICE: Creating InputStream
11:57:15 T:4232 NOTICE: Creating Demuxer
11:58:00 T:1352 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 28
11:58:00 T:1352 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
11:58:00 T:1352 ERROR: XFILE::CFileCache:Tonguerocess, error 0 seeking. seek returned -1
11:58:00 T:4232 WARNING: could not find codec parameters for http://address.of.server:port/rest/download.view?p=password&c=xbmc&u=user&f=json&v=1.4.0&id=2f6d656469612f636f636f6e7574352f566964656f2f46696c6d732f416c69636520696e20576f6e6465726c616e642d4c69464520424452697020313038307032352049544120454e472d414333204454532d5355422f5b42445269702031303830702049544120454e472d414333204454532d5355425d20416c69636520696e20576f6e6465726c616e642d4c6946452e6d6b76
11:58:00 T:4232 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
11:58:00 T:4232 NOTICE: CDVDPlayer::OnExit()
11:58:00 T:4232 NOTICE: CDVDPlayer::OnExit() deleting input stream
11:58:00 T:640 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.subsonic/?mode=play&id=2f6d656469612f636f636f6e7574352f566964656f2f46696c6d732f416c69636520696e20576f6e6465726c616e642d4c69464520424452697020313038307032352049544120454e472d414333204454532d5355422f5b42445269702031303830702049544120454e472d414333204454532d5355425d20416c69636520696e20576f6e6465726c616e642d4c6946452e6d6b76]
11:58:00 T:640 NOTICE: CDVDPlayer::CloseFile()
11:58:00 T:640 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
11:58:00 T:640 NOTICE: DVDPlayer: waiting for threads to exit
11:58:00 T:640 NOTICE: DVDPlayer: finished waiting

Please also note that the sizes in GB are approximate.

The system has 3.5GB of RAM, which never fills up during XBMC usage. XBMC process rarely eats more than 110 MB, so I doubt that this issue is RAM related.


- t0mm0 - 2011-11-18

NeS_BCN Wrote:oh, I assumed it was an old hack that was previously needed in order to run the add-on, as it was written months ago when Eden was still in pre-alpha or whatever state. I honestly didn't read all 13 pages of this thread as that would have taken a very long time... Blush

Anyways, I created the playercorefactory.xml file as per instructions, sure enough many files play, with exception of the big ones. It seems to be related to cache, with regards to the size of the file being played.

When I open a file that is less than 5 GB in size, it opens and plays that file; takes about a minute or so to open though. If the file size is between 2GB and 5GB, then I usually get this message:



The file plays but it's not possible to skip forward or backward Huh


With file sizes larger than 5 GB, the file doesn't play, which produces the following error log:



Please also note that the sizes in GB are approximate.

The system has 3.5GB of RAM, which never fills up during XBMC usage. XBMC process rarely eats more than 110 MB, so I doubt that this issue is RAM related.

you didn't have to read the entire thread, just the first post, which is always kept up to date with the latest release and any issues Wink

these look like general xbmc issues (certainly the buffering looks like your bandwidth is just not fast enough as xbmc will only cache a small amount and the message you got about cache full means you can not download fast enough to play without buffering)

skipping forwards and backwards is again an xbmc issue that the addon can do nothing about.

as for the 5GB thing, that will either be a subsonic issue or xbmc not being able to play that file. subsonic is really meant to play mp3s not 5GB+ video files Wink

t0mm0


- mason - 2011-11-19

@t0mm0

here's my debug log.

I'm running on

Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Nov 5 2011 (Git:20111025-8970aa9, compiler 1600)
Intel® Core™ i7 CPU 860 @ 2.80GHz
Desktop Resolution: 1920x1200 32Bit at 60Hz

Subsonic is 4.5 (build 2384) – 10. August 2011

http://pastebin.com/HhtYa8xP

hope this helps, if you need some more details just let me know.

thanks for your help!


- t0mm0 - 2011-11-19

mason Wrote:@t0mm0

here's my debug log.

I'm running on

Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Nov 5 2011 (Git:20111025-8970aa9, compiler 1600)
Intel® Core™ i7 CPU 860 @ 2.80GHz
Desktop Resolution: 1920x1200 32Bit at 60Hz

Subsonic is 4.5 (build 2384) – 10. August 2011


hope this helps, if you need some more details just let me know.

thanks for your help!

looks like either a network error or you typed in incorrect host/port/user/pass.

try loading the url in the log after 'Subsonic: getting' in a browser on the xbmc machine and see what happens.

(please use pastebin.com or equivalent to post logs in future it makes it much easier to read, keeps thje forum tidy and i can point you to line numbers if needed)

thanks,

t0mm0


- mason - 2011-11-20

EDIT SOLVED: I rebuilded the Subsonic Server and everything seems to work now Big Grin Sorry for bothering you!

it looks like I forgot to specify the port, but even then I get the following:

Code:
10:38:31 T:7484   DEBUG: Subsonic: getting http://host.com:8091/rest/ping.view?p=pass&c=xbmc&v=1.4.0&u=user&f=json
10:38:31 T:7484   ERROR: Subsonic: Error reading response from server.

I checkd the functions and api, and it looks like the API part of Subsonic is foobared :/


- t0mm0 - 2011-11-21

mason Wrote:EDIT SOLVED: I rebuilded the Subsonic Server and everything seems to work now Big Grin Sorry for bothering you!

it looks like I forgot to specify the port, but even then I get the following:

Code:
10:38:31 T:7484   DEBUG: Subsonic: getting http://host.com:8091/rest/ping.view?p=pass&c=xbmc&v=1.4.0&u=user&f=json
10:38:31 T:7484   ERROR: Subsonic: Error reading response from server.

I checkd the functions and api, and it looks like the API part of Subsonic is foobared :/

no problem! glad you got it sorted Wink


- Qwyrp - 2011-11-26

I'm using your subsonic-plugin and it runs well inside XBMC but I want to control it with another pc in my house. Is there a (subsonic)interface I can load and if so how exactly?