Bug 859 - stream metadata changes song title permanently
: stream metadata changes song title permanently
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming To SlimServer
: unspecified
: All All
: P2 normal (vote)
: ---
Assigned To: Vidur Apparao
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-24 15:00 UTC by Dave Cohen
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments
patch for current title hash (4.91 KB, patch)
2005-02-24 15:03 UTC, Vidur Apparao
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Cohen 2005-02-24 15:00:46 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.
Comment 1 Vidur Apparao 2005-02-24 15:03:26 UTC
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.
Comment 2 Vidur Apparao 2005-03-09 09:43:15 UTC
Fixed in r2382.
Comment 3 Chris Owens 2006-06-16 14:40:56 UTC
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.