Old 23rd April 2010, 19:52   #1
thegood
Junior Member
 
Join Date: Aug 2008
Posts: 13
Bug: Remove Duplicate Entries should not be case-sensitive

Problem:

When using the Remove Duplicate Entries option found in REM > REM MISC (or Shift+Delete), playlist items with identical paths but different casing will not be seen as duplicates. Therefore, the duplicates will remain.

How to reproduce the problem:
  1. Clear your playlist
  2. Add the same song twice to your playlist
  3. Save the playlist
  4. Open the playlist file in your favorite text editor
  5. Change the casing of even one letter in the file path of one of the two file path entries
  6. Save and exit
  7. Load the playlist into Winamp
  8. Select Remove Duplicate Entries > it will not remove the duplicate
Of course, here we're modifying the path manually, but the casing mismatch might happen for a variety of reasons.
thegood is offline   Reply With Quote
Old 26th April 2010, 15:27   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
i've just checked the plug-in's code which implements that feature and you are correct it doesn't handle paths case-insensitively (it actually works against a crc of the file-path instead of a string comparison for speed). it used to do things on a case-insensitive basis but this then caused all of the re-added file-paths to be lower case which people didn't like.

i've logged the issue and will look to getting it resolved (just not sure when at the moment).

-daz
DrO is offline   Reply With Quote
Old 29th April 2010, 23:36   #3
thegood
Junior Member
 
Join Date: Aug 2008
Posts: 13
I see the resolution is harder than I thought. But still, I'm glad to hear that the issue has been logged. I hope it will be fixed soon!
thegood is offline   Reply With Quote
Old 30th April 2010, 16:15   #4
DrO
 
Join Date: Sep 2003
Posts: 27,873
i think i've fixed this in the plug-in now so will see how it goes with the next release of the jtfe plug-in.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump