Moderator: moderators
archrival wrote:psmorgan wrote:Hi,
I am experiencing an app crash when clicking on the Library button.
Logcat: http://pastebin.com/uwerXeMr
Phone: Galaxy S 3 running Slimrom's 4.2.1 RC 2.
The Subsonic server is running on a Raspberry Pi.
This occurs with both the latest 3.9.9.18 and also the Subsonic Media Stream on Google Play.
It only seems to happen clicking the "Library" button, but I can use ones such as "Recently Added" to listen to music, etc.
Is there anything I can try to stop this happening?
I have a fix for the issue, but you wouldn't see any artists. For some reason the call is returning null. I added a null check so the app won't crash, but I'm not sure why it is getting null data back. I'll have that in the next release. What does your folder structure look like in the web app?
daneren2005 wrote:Some thing I noticed when trying to use your StreamProxy implementation: it uses downloadService.getCurrentPlaying().getSong().getSize(). The problem is I'm pretty sure that getSize in that context will return the size of the original file and not the size of the file which is being downloaded. This makes it so that if you have a different bitrate set it will continually wait for a much bigger file then it should be. This makes it so that the next file you go to play will never start if everything is being routed through the StreamProxy which is still waiting for a previous one to finish.
Edit: And the Content-Length isn't filled out by the server, so I'm not sure if there really is any way to tell exactly what the expected file size is going to be.
daneren2005 wrote:Also when I try it this way it basically runs the buffer to 100% before it actually starts playing. Have you been experiencing that? I thought it was only supposed to buffer a small amount before it starts playing?
daneren2005 wrote:Also when I try it this way it basically runs the buffer to 100% before it actually starts playing.
alphawave7 wrote:daneren2005 wrote:Also when I try it this way it basically runs the buffer to 100% before it actually starts playing.
Ya mean that wasn't intentional? LOL! I thought that was one of your tweaks to prevent the playback dropouts!
daneren2005 wrote:alphawave7 wrote:daneren2005 wrote:Also when I try it this way it basically runs the buffer to 100% before it actually starts playing.
Ya mean that wasn't intentional? LOL! I thought that was one of your tweaks to prevent the playback dropouts!
I gave it as an option on my own fork. I mean that eve without it this new method is doing that
Sent from my HTC One X using Tapatalk 2
Return to UltraSonic for Android
Users browsing this forum: No registered users and 2 guests