Change cache size to 1MB

Need help? Post your questions here.

Moderator: moderators

Change cache size to 1MB

Postby mlobo » Wed Dec 14, 2011 2:14 pm

Hi Subsonic experts,
I tried Subsonic android apk and it is wonderful. No need to keep updading your SDCARD. Having it onn the PC is enough.
One question though, I would like to limit the SDCARD usage by subsonic to 1 MB. The minimum through the UI is 500MB, but I would like to cache only 1 MB at a time.

I delved into "/data/data/net.sourceforge.subsonic.androidapp/shared_prefs/net.sourceforge.subsonic.androidapp_preferences.xml" and found
the contents as follows:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<int name="serverInstanceId" value="1" />
<string name="serverUrl3">http://yourhost</string>
<string name="serverUrl2">http://yourhost</string>
<string name="cacheLocation">/mnt/sdcard/subsonic/music</string>
<string name="serverUrl1">http://192.168.1.6:5555</string>
<string name="theme">wheat</string>
<string name="username1">admin</string>
<boolean name="mediaButtons" value="true" />
<string name="preloadCount">3</string>
<string name="password1">water456</string>
<string name="maxBitrateMobile">0</string>
<string name="serverName1">Subsonic demo</string>
<string name="maxBitrateWifi">0</string>
<boolean name="screenLitOnDownload" value="true" />
<long name="installTime" value="1323848728530" />
<string name="serverName3">Unused 2</string>
<string name="cacheSize">500</string>
<string name="serverName2">Unused 1</string>
</map>

So accordingly I changed:
<string name="cacheSize">500</string>
to
<string name="cacheSize">500</string>

But nothing changed it is still caching the same as without this change.
Any help is appreciated.
Thanks,
MLOBO
mlobo
 
Posts: 2
Joined: Wed Dec 14, 2011 2:04 pm

Re: Change cache size to 1MB

Postby mlobo » Wed Dec 14, 2011 2:16 pm

Sorry I mean to say I changed:
<string name="cacheSize">500</string>
to
<string name="cacheSize">1</string>

So I wanted subsonic to cache only 1 MB but this did not work.
It still caches as much as without this change. Can the architects/developers look into this.
mlobo
 
Posts: 2
Joined: Wed Dec 14, 2011 2:04 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests