Bugzilla – Bug 859
stream metadata changes song title permanently
Last modified: 2008-09-15 14:37:04 UTC
Currently, when a stream includes metadata, the server sets the title of that stream according to the metadata. This metadata is usually the currently playing song. The result is that after the stream is stopped, the info database keeps the now inaccurate title information. Solution: don't update the database with this information. Just keep a runtime cache of current titles. Also, provide a callback so interested parties are notified of song title changes.
Created attachment 274 [details] patch for current title hash Here's a quick patch that adds a currentTitles hash in Slim::Music::Info and has ways to set, query, and register for change notifications.
Fixed in r2382.
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.