mpogue2 / SquareDesk

Fully-featured music player and sequence designer, designed for square dance callers
10 stars 4 forks source link

Bug: playlist entries are marked as "not found" although the files exist #946

Closed Gero5 closed 10 months ago

Gero5 commented 11 months ago

See screenshot. I guess the files marked red in the playlist mean "not found". the missing titles are in the music list. Is it caused by the artist's name in the file name?

Bildschirmfoto 2023-11-22 um 10 04 54

mpogue2 commented 10 months ago

@Gero5 Yes, red strikethrough are items in the playlist that were not found when we tried to find that file on disk. It is the updated error mechanism for playlists.

My guess is that this is not due to the artist's name per se, but rather that for these files there is no label field, yet there IS a "-", which normally separates label and title (e.g. "ESP 0601 - Gonna Have A Party").

We do quite a bit of "fuzzy matching", so that we can decode filenames like "Gonna Have A Party-ESP0601" (label after title, and lack of spaces). But, if the filename is "Electric Daisy Violin - Vanessa Sterling.mp3" then we can't figure it out.

I wouldn't think that would matter here, but maybe it does for some reason....

Questions for you, to try to narrow this down:

Thanks!

mpogue2 commented 10 months ago

@Gero5 If you have a chance to take a look at the above questions, I can dig into this one....need more info here...thanks!

Gero5 commented 10 months ago

the pure filenames are 'Electric Daisy Violin- Vanessa Sterling.mp3' and 'Stampede - Vanessa Sterling.mp3'. I think I never changed the name. I cannot tell from the modification date, because iCloud is deleting my music files after a while and I have to force it for a new load and all files have the timestamp from that reload.

playlist entries

"/patter/Electric Daisy Violin.mp3",0,128 "/patter/Stampede.mp3",0,131

Is the "Darmstompers" playlist one that you had from a while ago? (It's dated 2023-04-12, I think). In other words, it's NOT a brand new playlist that you just created, right?

yes

Is "1 -800" really a file in that playlist? "900" too?

yes filename '1-800.mp3' and '900.mp3'. that is a patter Sting record SIR 504. Named by telephone numbers. it was renamed to 1:800 / 911 somewhere between 1995 and now.

Does this playlist open OK in V1.0.5? Or does it give you errors because it can't find the files?

it opens buts. the v. sterling titles are vanished then.

I think it is likely that I renamed the files and do not remember.

Gero5 commented 10 months ago

I think it is likely that I renamed the files and do not remember. I will reopen that if it happens again.