Skip to content

From < 0.14.0

MS 0.14.0 introduces a database for persisting Plays/Scrobbles, queues, and other data associated with a Source/Client.

To make this association atomic a Source/Client ID is now configurable. This ID is what MS will use to identify the Source/Client in your config with the Source/Client in the database.

This ID needs to be unique to the client or source type it is used on IE:

  • two Koito Clients cannot both have the ID myKoitoID
  • it is recommended that the ID be globally unique among all sources/clients, but it’s not required

For each Source/Client in your environmental variables, add a key with the suffix _ID and the ID value. EX

compose.yaml
services:
multi-scrobbler:
# ...
environment:
- KOITO_TOKEN=...
# ...more koito config
- KOITO_ID=myKoitoID
- JELLYFIN_URL=...
# ...more jellyin config
- JELLYFIN_ID=myJellyfinID

MS 0.14.0 introduces a database for persisting Plays/Scrobbles, queues, and other data. Prior to 0.14.0, queued/failed scrobbles were stored in a cache file inside your CONFIG_DIR named ms-scrobble.cache.

When a Client is created and enabled in 0.14.0 it will attempt to automatically migrate scrobbles from this cache into the database.

  • You can see progress/results for this process by filtering logs for [Cached Scrobble Migration]
  • If the process fails MS will attempt to migrate failed scrobbles, again, the next time it is started
  • Your cached scrobbles are not deleted in either the success or failure outcome
    • If the process succeeds then MS knows to ignore the cache on subsequent startups

In 0.14.0 Cache has been simplified with much of the required configuration being removed.

Scrobble caching has removed and replaced by the new database.

  • Remove any ENV Config starting with CACHE_SCROBBLE
  • Remove cache.scrobble from the AIO Config

Metadata caching remains the same but the config has been simplified. If you were using Valkey for caching update your config:

  • Remove CACHE_METADATA
  • Rename CACHE_METADATA_CONN to CACHE_VALKEY

Auth caching remains the same but the config has been simplified. The connection option for Auth is no longer configurable. You may specify provider as either file (default, uses CONFIG_DIR) or valkey. If you want to use Valkey for auth it will use the same config as Metadata.

In an effort to standard ENV prefixes some ENV keys have been renamed:

  • LZENDPOINT_ENABLE => LZE_ENABLE
  • LFMENDPOINT_ENABLE => LFM_ENABLE

In the MS Dashboard, prior to 0.14.0, UI Client/Sources configured with ENV Config always had generated names like unnamed-koito.

ENV Config Clients/Sources can now be configured with a name by using the _NAME suffix, example:

compose.yaml
services:
multi-scrobbler:
# ...
environment:
- KOITO_TOKEN=...
# ...
- KOITO_ID=myKoitoID
- KOITO_NAME=Koito A
- JELLYFIN_URL=...
# ..
- JELLYFIN_ID=myJellyfinID
- JELLYFIN_NAME=Foxx Jelly