Jump to content

Folder names with "|" in them cause problems


Recommended Posts

justwondering
Posted

I added a new movie to my library in a new folder called "Taylor Swift | The Eras Tour (2023)". It seemed to add successfully, but all of the images showed up as broken and the movie won't play. When I tried to play the movie I got "No compatible streams are currently available." When I opened the broken poster image in a new browser window it showed this error:

Could not find a part of the path '/volume1/@appstore/EmbyServer/ The Eras Tour Taylor's Version (2023)/poster.jpg'.

It looks like the file name in the error message is missing everything up to the | character. I removed the | from the folder name and rescanned the library, and now everything works. So it seems like an issue with the pipe character specifically.

It's pretty small potatoes but it would be nice if this was fixed so pipe characters are supported. Or if that's not possible, perhaps Emby could give a warning when a movie has an incompatible character. It's easy to just remove the | from the name, but first you have to know that's the problem.

I'm running Emby 4.8.8.0-724080800, which shows as the current version for Synology. DSM version is DSM 7.2.1-69057 Update 5.

Thanks!

Happy2Play
Posted

Will need to see logs but I know on Windows it is considered an illegal character and will assume ffmpeg/ffprobe would probably choke on it also.

Neminem
Posted (edited)

I believe the pipe char is a escape | as in error out if not expected.

It will on most os's me an illegal, what is crazy is that the some os's allows it. 

In some cases its used as a delimiter.

Edited by JayceDK
Happy2Play
Posted

Surprised TMDB allowed it but TVDB is the same while IMDB uses a colon.

TAYLOR SWIFT | THE ERAS TOUR (2023) — The Movie Database (TMDB) (themoviedb.org)

Taylor Swift | The Eras Tour - TheTVDB.com

So may have to test this one as api data may be an issue.  But from a folder standpoint don't see this working even if OS allows it as all the tools will not know what to do with it.

justwondering
Posted

Log is attached.

Looking at Wikipedia's Comparison of filename limitations table, it looks like NTFS and every version of FAT disallow the | character, while pretty much every other filesystem allows it. So anyone using Apple or Unix wouldn't see a problem until it hits Emby.

embyserver.txt

Neminem
Posted (edited)

Here is my path for it.

Folder TAYLOR SWIFT THE ERAS TOUR (2023) {TmdbId-1160164}

File TAYLOR SWIFT THE ERAS TOUR (2023) {TmdbId-1160164}.mkv

That was scanned in ok

image.png.21b948a7bacc8ba85b6fda4c0ee33bfa.png

image.thumb.png.0c850df9b57f62ae5ff4855a2fc2148b.png

Edited by JayceDK
Happy2Play
Posted

Ya I just used a dash as I can't use pipe and got and displayed without issue.

Happy2Play
Posted (edited)

Dev will have to comment but with the db path wrong the image processor won't work either.

'/volume1/@appstore/EmbyServer/ The Eras Tour Taylor's Version (2023)/poster.jpg'.

But for someone that this have never worked for I personally would say the other platforms are wrong for allowing it.

 

ffprobe appears to have issue with path.

concat:/volume1/Mothership/Media/Kid Movies/Taylor Swift | The Eras Tour Taylor's Version (2023)/Taylor.Swift.The.Eras.Tour.2023.Taylor's.Version.1080p.10bit.WEBRip.6CH.x264-PSA .mp4: No such file or directory

 

Edited by Happy2Play
Posted

image.png.7376cc0d0ae903f4bbf9539fd5964b17.png

Why would you leave the pipe in the folder name? The names on those sites is for display, not for actual directory/filenames.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...