Change cache location error

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Change cache location error

Postby yodamusic » Thu Jun 19, 2014 8:05 pm

I am trying to change the default music cache location on the phone or ext sd card, and no matter what location I put in, the app reports invalid location, reverting to default. Is there a way to correct this? Thanks. I'm on Dsub for Android on Note 3, lastest OS.
yodamusic
 
Posts: 1
Joined: Thu Jun 19, 2014 8:03 pm

Re: Change cache location error

Postby daneren2005 » Thu Jun 19, 2014 8:19 pm

What is the default, and what is the location you are trying to put it to? Apps can only write to specific spots on the SD card since Android 4.4.
Developer of DSub for Android
daneren2005
 
Posts: 1704
Joined: Fri Jul 06, 2012 7:52 pm

Re: Change cache location error

Postby ar9 » Sat Jun 21, 2014 7:02 am

IN regards to the cache... it would be sweet if you could browse the file system and didn't have to manually plug in the address of your external mem card which is usually named obscurely.

Sorry, back to the main topic!
ar9
 
Posts: 50
Joined: Fri Feb 01, 2013 12:40 am

Re: Change cache location error

Postby jehan » Sat Jun 28, 2014 8:42 pm

Same here, if I try to set cache location to /storage/sdcard1/dsub the path gets reset to default although the location is writable by other apps. Would be nice if I could use the sdcard1 location because I have not much space on sdcard0.
jehan
 
Posts: 10
Joined: Sun Jul 03, 2011 8:42 pm

Re: Change cache location error

Postby daneren2005 » Sun Jun 29, 2014 6:52 pm

If you are also on a Note with Android 4.4, no it is not writable by other apps. The internet is full of information about this change that made the SD Card locked down for 3d party app's use. You need to set it to the same location as the default but with sdcard1 instead sdcard0.
Developer of DSub for Android
daneren2005
 
Posts: 1704
Joined: Fri Jul 06, 2012 7:52 pm

Re: Change cache location error

Postby jehan » Sun Jun 29, 2014 9:21 pm

I just made a test and downloaded a podcast with beyondpod directly into /extSdCard/BeyondPod without problems. Anyway - I now changed the path in DSub to /storage/sdcard1/Android/data/github.daneren2005.dsub/files/music and this works like expected.
jehan
 
Posts: 10
Joined: Sun Jul 03, 2011 8:42 pm

Re: Change cache location error

Postby jehan » Mon Jun 30, 2014 6:38 pm

Today I started DSub and got a message like “... selected path is no longer writable.... DSub corrected the path ... "". I looked into settings and saw that the path is exactly the same as before ( /storage/sdcard1/Android/data/github.daneren2005.dsub/files/music). This happens if I move the old cache data to the new path in sdcard1. Do I have to re-cache all data?
jehan
 
Posts: 10
Joined: Sun Jul 03, 2011 8:42 pm

Re: Change cache location error

Postby daneren2005 » Mon Jun 30, 2014 8:04 pm

The only thing I can imagine is if some of the file permissions are being moved as well, so you might need to. How did you move the stuff over?
Developer of DSub for Android
daneren2005
 
Posts: 1704
Joined: Fri Jul 06, 2012 7:52 pm

Re: AW: Change cache location error

Postby jehan » Mon Jun 30, 2014 9:44 pm

I moved the cache with FX. The files and directories in the new location have permissions 770 and user/group media_rw/media_rw. DSub complains but can read and delete the previously cached music. Also I can cache new music with DSub in the new location.
jehan
 
Posts: 10
Joined: Sun Jul 03, 2011 8:42 pm

Re: Change cache location error

Postby jehan » Thu Jul 17, 2014 9:28 pm

For the records.... after I removed a "tmp" file I found in the cache directory caching to " /mnt/media_rw/sdcard1/dsub" works flawlessly.
jehan
 
Posts: 10
Joined: Sun Jul 03, 2011 8:42 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 1 guest