[Resolved] SS App on KitKat not downloading Music to SD Card

Need help? Post your questions here.

Moderator: moderators

[Resolved] SS App on KitKat not downloading Music to SD Card

Postby jharveytx » Tue Feb 25, 2014 4:49 pm

Problem Description:

Subsonic app works fine on my Samsung Galaxy S4 running KitKat, but when I change the Cache location to the SD Card, it fails to download anything.
Prior to upgrading to KitKat, this functionality worked fine. This affects video as well as music files.

Troubleshooting Steps:

First off, let me say that Subsonic never rejected the folder name as being invalid.
I used the following name for the folder on the SD Card:

/storage/extSdCard/Music/

I have tried the following, all without success:
  • Restarting Subsonic and clearing the memory after changing the location.
  • Restarting my phone after changing the location.
  • Increasing and decreasing the Cache Size
  • Creating various folders on the SD Card, thinking Subsonic did not like the folder name/location.
  • Variations on folder names (i.e. /storage/extSdCard0/Music/). These were rejected as being invalid.
  • I even purchased and installed DSub, but experienced the same problem with it.

Playback Application and version:

Subsonic Music Streamer 4.1
and
DSub 4.5.2

Subsonic Version:

4.9 (build 3853) – January 23, 2014

Server Version:

jetty-6.1.x, java 1.7.0_45, Windows 7 (74.1 MB / 116.6 MB)

Hardware Platform:

The server is running on Windows 7
The App is running on a Samsung Galaxy S4 using Android 4.4.2.

Java Memory Limit:

150MB

Problem Filename:

N/A

Output from ffmpeg -i:

N/A

Last ten log file lines:
Code: Select all
[2/25/14 10:03:35 AM CST]   INFO   PlayQueueInputStream   admin listening to "1977 - A Farewell To Kings\02 - Xanadu.mp3"
[2/25/14 10:03:39 AM CST]   WARN   RESTFilter   Error in REST API: EofException
[2/25/14 10:03:39 AM CST]   INFO   PlayQueueInputStream   admin listening to "1977 - A Farewell To Kings\02 - Xanadu.mp3"
[2/25/14 10:03:45 AM CST]   INFO   PlayQueueInputStream   admin listening to "1977 - A Farewell To Kings\02 - Xanadu.mp3"
[2/25/14 10:03:49 AM CST]   INFO   PlayQueueInputStream   admin listening to "1977 - A Farewell To Kings\02 - Xanadu.mp3"
[2/25/14 10:03:55 AM CST]   INFO   PlayQueueInputStream   admin listening to "1977 - A Farewell To Kings\02 - Xanadu.mp3"
[2/25/14 10:03:59 AM CST]   INFO   PlayQueueInputStream   admin listening to "1977 - A Farewell To Kings\02 - Xanadu.mp3"
[2/25/14 10:04:05 AM CST]   INFO   PlayQueueInputStream   admin listening to "1977 - A Farewell To Kings\02 - Xanadu.mp3"
[2/25/14 10:04:09 AM CST]   INFO   PlayQueueInputStream   admin listening to "1983 - Rare\04 - Holy Holy.mp3"
[2/25/14 10:04:15 AM CST]   INFO   PlayQueueInputStream   admin listening to "1983 - Rare\04 - Holy Holy.mp3"
[2/25/14 10:04:20 AM CST]   INFO   PlayQueueInputStream   admin listening to "1983 - Rare\04 - Holy Holy.mp3"
[2/25/14 10:04:25 AM CST]   INFO   PlayQueueInputStream   admin listening to "1983 - Rare\04 - Holy Holy.mp3"
[2/25/14 10:04:30 AM CST]   INFO   PlayQueueInputStream   admin listening to "1983 - Rare\04 - Holy Holy.mp3"
[2/25/14 10:04:35 AM CST]   INFO   PlayQueueInputStream   admin listening to "1983 - Rare\04 - Holy Holy.mp3"
[2/25/14 10:04:38 AM CST]   INFO   PlayQueueInputStream   admin listening to "1983 - Rare\04 - Holy Holy.mp3"
[2/25/14 10:04:45 AM CST]   INFO   PlayQueueInputStream   admin listening to "1983 - Rare\04 - Holy Holy.mp3"
[2/25/14 10:06:07 AM CST]   WARN   RESTFilter   Error in REST API: EofException
[2/25/14 10:06:32 AM CST]   WARN   RESTFilter   Error in REST API: EofException


I'm sure there is a simple solution, but I can't figure out what it might be.
Last edited by alphawave7 on Sun Feb 07, 2016 11:05 pm, edited 2 times in total.
Reason: unStickified
jharveytx
 
Posts: 9
Joined: Fri Jun 03, 2011 2:05 pm

Re: Subsonic App on KitKat not downloading Music to SD Card

Postby daneren2005 » Tue Feb 25, 2014 5:52 pm

http://www.androidpolice.com/2014/02/17/external-blues-google-has-brought-big-changes-to-sd-cards-in-kitkat-and-even-samsung-may-be-implementing-them/

Try changing the folder to <SDCard>/Android/data/net.sourceforge.subsonic.androidapp/
For DSub users that come across this: <SDCard>/Android/data/github.daneren2005.dsub/

Before this, Subsonic never had any reason to check for file permissions because everything was allowed to write to the SD card. I will be looking to change the default location to be the correct location, and to have a button to update it to the correct location soon.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Subsonic App on KitKat not downloading Music to SD Card

Postby jharveytx » Tue Feb 25, 2014 7:15 pm

That did the trick!

Thank you so much - especially for the quick response.
jharveytx
 
Posts: 9
Joined: Fri Jun 03, 2011 2:05 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby daneren2005 » Thu Feb 27, 2014 3:23 am

DSub has been updated to fix the issue. If anyone comes across this and they are still having a problem please let me know.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby toxbox » Mon Mar 10, 2014 7:07 pm

Just to be clear... are you saying we should set the cache location to the path you specify?

Is that directory somehow recognized as a private folder to subsonic? I'm just curious as to how this fix actually works. I want to try it on my tablet when I get home from work, since I see this as being a pretty significant problem.
toxbox
 
Posts: 9
Joined: Mon Nov 07, 2011 8:48 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby daneren2005 » Mon Mar 10, 2014 7:55 pm

Yes, set the path to the location specified. If you want more details I included a link that gives the back story on the change. This only affects devices with 4.4 and which use SD cards.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby toxbox » Mon Mar 10, 2014 8:54 pm

Right, I read the article and everything... I just wanted to know the significance of the directory and what makes it work locally (since it looks like it contains a network address). In any case, thanks for the fix... hope to try it soon.
toxbox
 
Posts: 9
Joined: Mon Nov 07, 2011 8:48 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby daneren2005 » Mon Mar 10, 2014 9:13 pm

It is a local address, not a network address. Nothing makes it work other then that is the location Google decided it should be... The call to getExternalFilesDir just returns a location, and in the default implementation that location is <SDCard>/Android/data/<App Package>/files/, though everything under <SDCard>/Android/data/<App Package>/ appears to be writable.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby toxbox » Mon Mar 10, 2014 11:24 pm

Awesome... works. Thank you! I was beginning to regret my tablet purchase because of this.
toxbox
 
Posts: 9
Joined: Mon Nov 07, 2011 8:48 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby daneren2005 » Thu Mar 27, 2014 1:49 pm

Can this be stickied. This is going to keep coming up as more and more people upgrade to Kitkat.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby gogogo » Mon Mar 31, 2014 11:01 pm

Hi. I have the same problem in galaxy s4 with encrypted sd card and phone.
In the android folder of the sd card I can't find the folder of the subsonic app. I have tried to move the app from the phone to the sd and the same I can't see any folder.

Tried to add manually the folder in the data folder without results.

Help!
gogogo
 
Posts: 37
Joined: Mon Aug 08, 2011 12:12 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby mikes » Tue Apr 01, 2014 12:35 am

Just set the Subsonic app setting as daneren2005 described. Subsonic will create the folder.

The only tricky part is knowing the path to your sdcard, but that can be different between phones, so you'll have to figure it out or post your phone model and software version and hope someone else has the same and can help with that.
mikes
 
Posts: 64
Joined: Fri Aug 12, 2011 9:29 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby j3tblk » Fri Apr 11, 2014 11:50 pm

I've got a Galaxy S5. I can't get any of these tricks\paths to work. Anyone have it working or can provide help for this device?
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby gogogo » Fri Apr 11, 2014 11:55 pm

I Havre followed the procedure, and after some day it stopped newly, and more there is no way to save music to the sd card!
gogogo
 
Posts: 37
Joined: Mon Aug 08, 2011 12:12 pm

Re: [Resolved] SS App on KitKat not downloading Music to SD

Postby mikes » Sun Apr 13, 2014 1:31 pm

The 4.2 update is supposed to fix the issue, and appears to no longer allow the user to configure the path.
mikes
 
Posts: 64
Joined: Fri Aug 12, 2011 9:29 pm

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 21 guests