Jump to content

multi-version episodes naming - corner cases


Recommended Posts

horstepipe
Posted

hello

This is Emby Server v4.5.0.18.

Creating following episode names

Game of Thrones - S01E01 - HD.ext
Game of Thrones - S01E01 - Remux HD (4K-Bitrate).ext

results in this drop down version selector

HD
Remux HD (4k-Bitrate

note that the closing bracket at the end is missing.

 

So I tried another notation which unfortunately didn't work as expected, either:
 

Game of Thrones - S01E02 - HD.ext
Game of Thrones - S01E02 - HD Remux.ext

results in

Game of Thrones - S01E02 - HD
Game of Thrones - S01E02 - HD Remux

So the dropdown shows the whole file names instead of the different suffixes.

 

Thanks

Posted

Hi,

It's likely just the length of chars after the dash and nothing to do with the ")" itself.

Not sure why you got the difference you did in the second test where is shows the whole filename.

Have you looked at the second example in different clients?  What client show the whole name.

Thanks for reporting this.

pwhodges
Posted

Pretty sure it's the parenthesis, actually - I've certainly seen similar odd behaviour of square brackets in this situation.

Paul

Posted

Yes you're right.  I just did some testing.  It never shows the right parenthesis.

@Luke will need to look at this as well as the S01E02 episode naming as well.

Posted
12 hours ago, horstepipe said:

hello

This is Emby Server v4.5.0.18.

Creating following episode names


Game of Thrones - S01E01 - HD.ext
Game of Thrones - S01E01 - Remux HD (4K-Bitrate).ext

results in this drop down version selector


HD
Remux HD (4k-Bitrate

note that the closing bracket at the end is missing.

 

So I tried another notation which unfortunately didn't work as expected, either:
 


Game of Thrones - S01E02 - HD.ext
Game of Thrones - S01E02 - HD Remux.ext

results in


Game of Thrones - S01E02 - HD
Game of Thrones - S01E02 - HD Remux

So the dropdown shows the whole file names instead of the different suffixes.

 

Thanks

The parenth one I'll fix but the second one is expected behavior. The common prefix is 

Game of Thrones - S01E02 - HD
Game of Thrones - S01E02 - HD

However once you strip that off the beginning of each one, that leaves the first one empty, therefore no stripping happens at all for any of them.

Posted

Why would you strip HD at all?  That's supposed to be part of the multi file name.

Everything after the dash should be used so the two things shown in the dropdown will be:

HD
HD Remux

That would be the expected result.

Posted

It's generic. There's no special sauce for any keyword such as hd. The documentation is very explicit - it will strip off the common prefix of all the names and just show you the rest.

Posted

I need to change the different knowledge base articles then because they don't reflect this.

"anything following the "-" (dash) up to the file extension will be used in the drop down version selector in your Emby client"

Personally I think it's better to do as KB says so the user has complete control over what is shown. What if they want it to show:

HD, 720p
HD, 1080p
UHD, 4K

That would work correct because there is nothing in common, but the next show/movie might only have

HD, 720p
HD, 1080p

So they would get different views of files.  What's the point of stripping off what's in common if you then have to display the full file name making it harder to read if possible at all due to length of filename?

pwhodges
Posted

Yes, when I first tried multi versions I was surprised to find that the dash was not a significant divider as the article said it was. 

Paul

crusher11
Posted

It is for movies, not for episodes. 

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...