BUG: Local lyrics not matching for file names with 255+ character paths

Server Version#: 1.41.4.9463

I have several song files ending in a period, so like “U.S.A…flac” The lyric files for these songs are save as the same name as the song file, like I have in the 1,000’s of other files. These lyrics won’t match.

Is there any file name length limitation for song file/lyric files? I am not sure why these won’t match.

Just try without these dots immediately before the file name extension.
You can still embed the correct track title as a meta tag.

Hi @OttoKerner, since I realized that a period at the end of a file name is technically not a valid file name in windows. I did try what you mentioned last night. For some reason Plex won’t pickup the lrc file after I rename the song file and lyric to not have the period.

Here is what I did…
Renamed both files to remove the period
Moved them out of the Plex directory
Scanned media files
Emptied the trash
Brought the files back into the Plex directory
Rescanned media files
Refreshed metadata on that album.

All other files picked up the lyric file, but this one. Plex seems to be remembering something about this file and won’t match the lyric.

Anything else I can do to assist with this?

Sorry for asking, but you do have file name extensions set to be visible in Windows, right?

Have you tried a Plex Dance with this album?

Did you also apply identical capitalization to both file names?

Yes, file name extensions are visible.

File names are a direct copy and paste between the 2 files. Obviously extensions are .flac and .lrc.

What I listed was what I was doing for the dance, I as missing cleaning bundles. I can give that a shot in the process steps.

@OttoKerner Did the full dance and the lrc file is still not recognized. The other 27 lrc files on that album matched just fine.

I went to the album and did a refresh metadata, still nothing.

I removed the .lrc file, added in a brad new .txt lrc file, plex dance and nothing.

I shortened the file name to just the last few letters “U.S.A.flac” and named the .txt lrc the same and did a rescan only and it picked it up. But now i have a file name that is not right… Why would shortening that file name help the match? Plex must have now thought it was a new file? But the Dance should have done that…

EDIT: If I go back to the full length file name and rescan, the lrc no longer matches.

What name have you been trying the whole time before?

The name is quite long, but the filename is shorter than the other 27 songs that matched, so file name length did not seem to play a part in it. It was actually U.S.A. and X.Y.U. that I was trying.

Could you post the complete path (i.e. starting at the drive letter and including every folder name inbetween)?

I have LongPathsEnabled in the registry, obviously only works on compatible programs. But with the other files along side this working, it does not seem like this is the cause.

Try shortening the path to under 255 characters length. The above is definitely exceeding that.
See if it makes any difference.

Here are the results on this file:

Under 255 characters with or without period at end: LRC matches - I checked other songs too and they we already matching in Plex

Over 255 characters with or without period at end: LRC does not match

Edit: I think I figured it out. The LRC matches on 255+ length path files are LyricFind lyrics, not my sidecar lyrics. So any file 255+ will not match local lyrics.

For my notes: I also use OpenLyrics in Foobar and that won’t display any lyric that has a period at the end. Under 255 or over. I entered an issue on that GIT. 255+ with no period display fine.

@OttoKerner So, in the end… If Plex could support sidecar lyric matching for 255+ character files that would be great. The files play fine, no other issues, just the lyric matching.

@OttoKerner is this a bug that can be resolved?

@OttoKerner checking back in. Is this a bug that can be resolved?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.