Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: Bilgus on May 24, 2022, 06:48:24 PM

Title: Last Fm logging Scrobbler
Post by: Bilgus on May 24, 2022, 06:48:24 PM
I've made the last fm logger into a plugin

Quote
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


Title: Re: Last Fm logging Scrobbler
Post by: Bilgus on May 28, 2022, 08:40:48 AM
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
Quote
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
Settings

Flush cache
    Write track data to disk immediately
Exit Plugin
   Quit the plugin
Back
  exit the plugin but leave running (resident)


Title: Re: Last Fm logging Scrobbler
Post by: Bilgus on March 25, 2023, 11:21:46 AM
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'