sspiff / lms-plugin-pyrrha

Pyrrha - Daughter of Pandora
GNU General Public License v2.0
13 stars 4 forks source link

displayed metadata changes to next track before current track finished #30

Closed sspiff closed 5 months ago

sspiff commented 5 months ago

Approximately 10 secs before the current track finishes, LMS requests the next track from Pyrrha. Once Pyrrha has the next track, the displayed metadata (track title, artist, cover art, etc) changes to that of the next track before the current track has finished.

sspiff commented 5 months ago

It appears that we can't rely on $song->pluginData(), but it looks like $song->streamUrl is correct so maybe we can maintain our own metadata cache keyed on the streamUrl.