Bug 735 - duplicate URLs in a playlist cannot have unique titles
: duplicate URLs in a playlist cannot have unique titles
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 5.x or older
: All All
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-16 14:47 UTC by Ben Klaas
Modified: 2008-12-18 11:50 UTC (History)
0 users

See Also:
Category: ---


Attachments
playlist that has dup URLs. (10.41 KB, text/plain)
2004-12-16 14:51 UTC, Ben Klaas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klaas 2004-12-16 14:47:42 UTC
I have created a playlist that has some URLs that are repeated, but I want the
titles to be different. Slimserver displays the titles as whatever the last
title listed was.

for example:
[playlist]
NumberOfEntries=3
File1=http://streamA.mp3
Title1=This is STREAM A
Length1=-1
File2=http://streamB.mp3
Title2=This is STREAM B
Length2=-1
File3=http://streamA.mp3
Title3=This is ALSO STREAM A
Length3=-1
Version=2

when browsing to this playlist on slimserver, the titles should read:
This is STREAM A
This is STREAM B
This is ALSO STREAM A

instead they would read:
This is ALSO STREAM A
This is STREAM B
This is ALSO STREAM A

the same behavior is seen when using m3u files.

I will attach a real working example
Comment 1 Ben Klaas 2004-12-16 14:51:53 UTC
Created attachment 228 [details]
playlist that has dup URLs.

File2 and File3 are the first examples of the bug.
Comment 2 Ben Klaas 2004-12-16 14:54:16 UTC
note on the attachment- you will need to point a slimserver at this playlist to
see the issue. 

is a hash is being initialized and used where the key is the URL? that would
explain the title overwrite...
Comment 3 KDF 2004-12-16 15:15:24 UTC
That is correct.  The infoCache in 5.4.x.  
Comment 4 KDF 2004-12-17 01:55:19 UTC
er...seems that got cut off.   the infocache in 5.4.x uses a url for the key, so
its currently not possible to have multiple titles associated with a given url.
The SQL work underway for 6.0 may be doing some things to alleviate this issue.
Comment 5 KDF 2004-12-20 16:24:39 UTC
Does the SQL schema allow the server to address this issue?
Comment 6 Dan Sully 2005-02-09 23:28:03 UTC
We do the right thing in the 6.0 branch.
Comment 7 Chris Owens 2008-12-18 11:50:21 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.