ICTman1076 / foo_maloja

foobar2000 plugin to submit listen history to your Maloja server
MIT License
8 stars 3 forks source link

Scrobble cache #2

Open ICTman1076 opened 3 years ago

ICTman1076 commented 3 years ago

If offline or scrobbles fail, there should be a cache that allows scrobbles to be retried later.

Maloja currently doesn't allow backdating scrobbles natively so this might not work great.

krateng commented 3 years ago

You can use the key time to create a scrobble at any arbitrary timestamp - kinda forgot to mention that in the setup page :D

ICTman1076 commented 3 years ago

Oh interesting - is it expecting the same kind of timestamp that time.time() would produce (seconds since 1/1/1970) or something else?

krateng commented 3 years ago

Yep!

ICTman1076 commented 3 years ago

Fantastic, I'll look into making the cache work then :)