[elektro] Rasberry image

Arnold Füzesi arnold.fuzesi.lista at gmail.com
Mon Mar 28 12:02:40 CEST 2016


Valaszolok magamnak:

https://github.com/Schnouki/spop/issues/40

Cache-t atrakva ramdisk-be, a kartyat nem irja szet idovel, es megszunt a spotify laggolas is.

"Update: Skip this and read my next post below
I had the same problems, using Volumio 1.5. I solved it by limiting the cache size to 20MB and moving it to RAM. It's a no cost solution and has worked fine for a few days now. 
As written above, setting the cache path in spopd.conf has no effect, so I used a symlink instead.Below is my recipe, which works fine as long as no other program is also using the /.cache folder (in which case you can create a symlink from /.cache/spop instead, but that will clutter /var/run. There are probably better ideas)

#First limit cache size to 20MB
$sudo nano /etc/spopd.conf
#Add/edit this setting at the end:
cache_size = 20

#Turn off the spotify client to avoid problems during changes
$telnet localhost 6602
#Type:
quit

#check that /.cache is not used by any other program. The only thing listed should be "spop"
$ls /.cache

#Remove the old cache
sudo rm -r /.cache

#Create symlink to ramdisk instead
sudo ln /var/run /.cache

#Restart Volumio"



Arnold
Sent from my iPhone


More information about the Elektro mailing list