roku_subsonic
roku_subsonic copied to clipboard
Ogg partially plays but stops
When playing Ogg music in Subsonic Roku app, it starts to play and about 30 seconds (or less, inconsistent), it stops and skips to the next song and continues up to 30 seconds or less and skips again.. MP3 native seems to work just fine, but 90% of my library is Ogg, self-ripped and I'm not interested in using MP3.
I've tried not using transcoding but the app doesn't support playback of Ogg itself. It would be great if it would. The hardware of the Roku 3 certainly supports it.
I think part of the problem is in the transcoding and lack of buffering causing the issue. Subsonic Roku app doesn't do any buffering so the moment it gets a blip of an error it skips to the next song. This could at least partially solve the problem if the Ogg support wouldn't be included in the app itself.
Eric,
I couldn't find documentation about the Roku SDK supporting Ogg format.
I'm looking at this reference: http://sdkdocs.roku.com/display/sdkdoc/Content+Meta-Data
Could you point me to the developer reference regarding Ogg support so I can test it out? If you wanted to give it a go, around line 1924 in this file https://github.com/maihde/roku_subsonic/blob/master/source/Subsonic.brsis where you would add Ogg support.
~Michael
On Sun, May 18, 2014 at 12:39 AM, Eric Renfro [email protected]:
When playing Ogg music in Subsonic Roku app, it starts to play and about 30 seconds (or less, inconsistent), it stops and skips to the next song and continues up to 30 seconds or less and skips again.. MP3 native seems to work just fine, but 90% of my library is Ogg, self-ripped and I'm not interested in using MP3.
I've tried not using transcoding but the app doesn't support playback of Ogg itself. It would be great if it would. The hardware of the Roku 3 certainly supports it.
I think part of the problem is in the transcoding and lack of buffering causing the issue. Subsonic Roku app doesn't do any buffering so the moment it gets a blip of an error it skips to the next song. This could at least partially solve the problem if the Ogg support wouldn't be included in the app itself.
— Reply to this email directly or view it on GitHubhttps://github.com/maihde/roku_subsonic/issues/21 .
The Roku itself doesn't support Ogg Vorbis at all, it's actually the Subsonic server doing live transcoding, but I'm betting that it needs to buffer more to prevent any interruption because if it runs out of buffer before the end of the song it considers that the EOF and skips to the next song.
Most Subsonic clients pre-buffer the song before playing, and then also buffers the next song in queue so there's no delay.
Okay, that makes sense...I was confused because you indicated that the Roku 3 supported it.
Currently I'm using the built in roAudioPlayer and it's ability to directly play from http...so it's handling all of the buffering and playback of the streams. I'll have too look and see if their (limited) programming API would allow me to pre-buffer songs for playback.
It could also be an interaction between Subsonic and the Roku firmware. Roku requires the Content-Length to be specified in the header...some versions of Subsonic set the Content-Length to 0 when transcoding was used (here is my original report of the issue) http://forum.subsonic.org/forum/viewtopic.php?f=8&t=6921&p=26893&hilit=roku#p26893
The other Subsonic Roku app had a similar issue: https://groups.google.com/forum/#!topic/subsonic-app-developers/chVn2ShnWp0.
What version of Subsonic are you using? I believe 4.6 has the content-length fix...if you are on 4.5 or earlier transcoding will definitely not work with Roku.
~Michael
On Wed, May 21, 2014 at 8:06 PM, Eric Renfro [email protected]:
The Roku itself doesn't support Ogg Vorbis at all, it's actually the Subsonic server doing live transcoding, but I'm betting that it needs to buffer more to prevent any interruption because if it runs out of buffer before the end of the song it considers that the EOF and skips to the next song.
Most Subsonic clients pre-buffer the song before playing, and then also buffers the next song in queue so there's no delay.
— Reply to this email directly or view it on GitHubhttps://github.com/maihde/roku_subsonic/issues/21#issuecomment-43800410 .