Using the advice of local.bin (this post here), I've managed to have Slimserver scrobble to my Maloja instance using the Last.fm plugin. Since I'm using piCorePlayer, I have to modify the file located at `/usr/local/slimserver/Slim/Plugin/AudioScrobbler/Plugin.pm` to do this. However, whenever I reboot my Pi, the file is erased. Is there a way to make it stay persistent, possibly with some form of cache or local overwrite file?
Announcement
Collapse
No announcement yet.
piCorePlayer -- Patching Plugin and keeping it persistent on reboot?
Collapse
X
-
piCorePlayer -- Patching Plugin and keeping it persistent on reboot?
Host: piCorePlayer on Raspberry Pi 4
Music Room: Raspberry Pi 4 + 7" Touch Screen + Hifiberry DAC
Bedroom: Squeezebox Radio
Computer: Squeezelite + JDS Atom Amp+ + Sennheiser HD58XTags: None -
-
!!! I had no idea about the `.filetool.lst` file. Worked like a charm! You've just saved me countless hours of head scratching. Thank you!Host: piCorePlayer on Raspberry Pi 4
Music Room: Raspberry Pi 4 + 7" Touch Screen + Hifiberry DAC
Bedroom: Squeezebox Radio
Computer: Squeezelite + JDS Atom Amp+ + Sennheiser HD58XComment
-
Sure! All I had to do was the following:
1. Change line 56 of /usr/local/slimserver/Slim/Plugin/AudioScrobbler/Plugin.pm
from: use constant HANDSHAKE_URL => 'http://post.audioscrobbler.com/';
to: use constant HANDSHAKE_URL => 'https://YOURMALOJAINSTANCEHERE/apis/audioscrobbler_legacy/';
(use http or https, depending on what you need)
2. Under "Last.fm Audioscrobbler" settings on LMS, enter whatever you want as a username. I just use "maloja". Enter your API key as the password
3. Be sure to add the following to /opt/.filetool.lst :
usr/local/slimserver/Slim/Plugin/AudioScrobbler/Plugin.pm
(NO leading /)
4. ???
5. ProfitHost: piCorePlayer on Raspberry Pi 4
Music Room: Raspberry Pi 4 + 7" Touch Screen + Hifiberry DAC
Bedroom: Squeezebox Radio
Computer: Squeezelite + JDS Atom Amp+ + Sennheiser HD58XComment
-
Paul Webster
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-pluginComment
-
Host: piCorePlayer on Raspberry Pi 4
Music Room: Raspberry Pi 4 + 7" Touch Screen + Hifiberry DAC
Bedroom: Squeezebox Radio
Computer: Squeezelite + JDS Atom Amp+ + Sennheiser HD58XComment
Comment