Rockbox Technical Forums
Support and General Use => Plugins/Viewers => Topic started by: Bilgus on May 24, 2022, 06:48:24 PM
-
I've made the last fm logger into a plugin
We have the ability to run plugins at start-up so you could simply run scrobbler at start up
(Settings > General Settings > Startup/Shutdown > Start Screen > Open Plugin:
[apps/lastfm_scrobbler]
https://forums.rockbox.org/index.php/topic,54165.0.html
-
Last Fm Scrobbler
The Scrobbler plugin keeps a log of songs played and songs skipped
The plugin is TSR (Terminate and stay resident)
it keeps a thread running to respond to playback events caches the track info and occasionally flushes data to disk
TSR is a term from the days of DOS
return as though the plugin finished, but it remains in memory
There are some new options, to activate the menu run the plugin a second time
- Resume playback
resume playback at plugin start
while enabled if nothing to resume will bring you back to scrobbler menu
- Save threshold
0-100% when this percentage of time has elapsed the track will be marked (L)istened
- Minimum Elapsed
0-10000(ms) Tracks played less than Minimum Elapsed will not be logged
- Verbose
Suppress messages such as 'Scrobbler Started' and 'Scrobbler Flushed'
- Beep Level
0-10 set the volume level of the startup beep
- Unique Track MRU
0-32 keep a list of this many skipped tracks to prevent repeats in the log
(Listened entries will always be written)
- Revert to Defaults
Write track data to disk immediately
Quit the plugin
exit the plugin but leave running (resident)
-
TSR plugins now restart automatically after you close the plugin that interrupted
if you want to exit the scrobbler for good run the plugin again and choose 'Exit Plugin'