Jump to content

Research TV extra naming #Feature #Suggestion


ldexterldesign
 Share

Recommended Posts

ldexterldesign
 
Hi all,
 
Hope you're well
 
Thanks for software and OPs for raising this issue - lots of fragmented discussion on this topic (see above)
 
Some (more in depth) documentation on how I'm solving this issue:

# Syntax
## Flat

[series]/season [season] | extra/[series] - s[season]e[episode] - [extra type] - [title] - [date] - [quality: [source]-[format/resolution]] - [media info] - [release group: foo]

## Nested

[series]
    season [season] | extra
        [series] - s[season]e[episode] - [extra type] - [title] - [date] - [quality: [source]-[format/resolution]] - [media info] - [release group: foo]

# Description

season:

s0 = season specials (inc. extras)
s1 = season 1
s01 = season 1, padded
s10 = season 10

if necessary then pad (e.g. if e10 then e01 & if e100 then e001, e010)

episode:

e1 = episode 1
s0e099 == extra aired before s1e1 (e.g. s0e099 newest/latest and s0e001 oldest)
s0e101 == s1e1 extra
s0e0101 == s1e1 extra, padded
s0e1001 == s10e1 extra

if necessary then pad (e.g. if e10 then e01 & if e100 then e001, e010)

extra type:

bts
commentary
deleted
featurette
interview
short
trailer

# Example
## Season

Curb Your Enthusiasm - s01e01 - The Pants Tent - 2000-10-15

## Special

Curb Your Enthusiasm - s00e30 - Ricky Gervais Meets Larry David - 2006-01-05

## Extra

Curb Your Enthusiasm - s00e701 - bts, interview, trailer - on the set - 2009-09-11
 
It's non-trivial to categorise extra types (in folders), because often they can be >1 category/type, so instead I use use (optional) tags (in file names). This way I can still easily search/filter by file name and group files into playlists. If Emby is to handle tags from file names, in addition to the existing categories from folders, then Emby will need a more complex, structured, yntax in order to parse file names.
 
In addition to this file name schema you're free to use whatever folder names in whichever nested structure you wish (e.g. similar to the Emby [m]ovie naming docs). However, Emby will limit displaying >1 nested folders in the UI and using folders named "extras" will not work (i.e. Emby defaults to "Specials) this is why I use "extra" instead. Also, if .nfo enabled then be sure to delete .nfo files before refreshing metadata.
 
IMO clever use of file naming solves the extras debate but I'd be interested to hear contrary use cases
 
If this (hack) does solve the issue then please update [T]V naming docs or link to this forum thread. With webisodes becoming quite normal now, I expect the frequency of extras (and queries/requests) to skyrocket in the coming years.
 
If you have any issues (e.g. questions/queries) then happy to help
 
Hope this helps
 
Regards
 
PS http://trakt.tv - there's talk of an extras DB but so far this is almost always my best source for discovering/naming extras, love to hear more
 
Edited by ldexterldesign
  • Like 2
Link to comment
Share on other sites

zippy72

It puts them at the end of the season, which is better than lumping them all into series 0.

 

I'd stil want something like, say "Doctor Who S17E04X01 Terror Nation" rather than this, but it's a good workaround until we get that.

Link to comment
Share on other sites

  • 4 weeks later...
ldexterldesign

Hi zippy72,

 

How would you handle the use case where an extra isn't associated with a season?

 

Cheers

Link to comment
Share on other sites

ldexterldesign

Updated README

# Syntax
## Flat

[series]/season [season] | extra/[series] - s[season]e[episode] - [title] - [extra] - [date] - [quality: [source]-[format/resolution]] - [media info] - [release group: foo]

## Nested

[series]
    season [season] | extra
        [series] - s[season]e[episode] - [title] - [extra] - [date] - [quality: [source]-[format/resolution]] - [media info] - [release group: foo]

# Description

season:

s0 = season specials (inc. extras)
s1 = season 1
s01 = season 1, padded
s10 = season 10

to retain alphanumeric file name order use padding (e.g. if s10 exists then pad s01 & if s100 exists then pad s001 and s010)

episode:

e1 = episode 1
s0e099 == extra aired before s1e1 (e.g. s0e099 newest [i.e. latest] and s0e001 oldest)
s0e098 == another, older, extra aired before s1e1
s0e101 == s1e1 extra
s0e0101 == s1e1 extra, padded
s0e1001 == s10e1 extra
s0e[date: 20190509] == extra not associated with any season

to retain alphanumeric file name order use padding (e.g. if e10 exists then pad e01 & if e100 exists then pad e001 and e010)

extra:

bts
commentary
deleted
featurette
interview
short
trailer

# Example

├── extra
│   ├── The League of Gentlemen - s00e031 - the league of gentlemen's apocalypse - a cast of thousands - dvd - 2005-06-03 - highcode.mkv
│   ├── The League of Gentlemen - s00e032 - the league of gentlemen's apocalypse - a gentleman's diary by steve pemberton - dvd - 2005-06-03 - highcode.mkv
│   ├── The League of Gentlemen - s00e033 - the league of gentlemen's apocalypse - commentary - dvd - 2005-06-03 - highcode.aac
│   ├── The League of Gentlemen - s00e034 - the league of gentlemen's apocalypse - deleted - dvd - 2005-06-03 - highcode.mkv
│   ├── The League of Gentlemen - s00e035 - the league of gentlemen's apocalypse - out-takes - dvd - 2005-06-03 - highcode.mkv
│   ├── The League of Gentlemen - s00e036 - the league of gentlemen's apocalypse - the making of - dvd - 2005-06-03 - highcode.mkv
│   ├── The League of Gentlemen - s00e037 - the league of gentlemen's apocalypse - the real royston vasey - dvd - 2005-06-03 - highcode.mkv
│   ├── The League of Gentlemen - s00e094 - on the town with the league of gentlemen - a guest at the dentons - featurette - 1997-11.mp3
│   ├── The League of Gentlemen - s00e095 - on the town with the league of gentlemen - death by mau mau - featurette - 1997-11.mp3
│   ├── The League of Gentlemen - s00e096 - on the town with the league of gentlemen - go to joan glover - featurette - 1997-11.mp3
│   ├── The League of Gentlemen - s00e097 - on the town with the league of gentlemen - gunpowder, treason and plot - featurette - 1997-11.mp3
│   ├── The League of Gentlemen - s00e098 - on the town with the league of gentlemen - the wedding - featurette - 1997-11.mp3
│   ├── The League of Gentlemen - s00e099 - on the town with the league of gentlemen - god rest ye merry gentlemen - featurette - 1997-11.mp3
│   ├── The League of Gentlemen - s00e101 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e102 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e103 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e104 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e105 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e106 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e107 - deleted - dvd - highcode.mkv
│   ├── The League of Gentlemen - s00e201 - commentary - dvd - highcode.aac
│   ├── The League of Gentlemen - s00e20101028 - the league of gentlemen's ghost chase - featurette - 2010-10-28.mp3
│   ├── The League of Gentlemen - s00e202 - commentary - dvd - highcode.aac
│   ├── The League of Gentlemen - s00e203 - commentary - dvd - highcode.aac
│   ├── The League of Gentlemen - s00e204 - commentary - dvd - highcode.aac
│   ├── The League of Gentlemen - s00e205 - commentary - dvd - highcode.aac
│   ├── The League of Gentlemen - s00e206 - commentary - dvd - highcode.aac
│   ├── The League of Gentlemen - s00e207 - christmas special - in conversation with paul jackson - interview - dvd - highcode.aac
│   ├── The League of Gentlemen - s00e208 - christmas special - interview with composer jody talbot - interview - dvd - highcode.mkv
│   ├── The League of Gentlemen - s00e209 - christmas special - jackanory the curse of the karrit poor - short - dvd - highcode.mkv
│   ├── The League of Gentlemen - s00e210 - christmas special - tales from behind the cript - interview - dvd - highcode.mkv
│   ├── The League of Gentlemen - s00e301 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e302 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e303 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e304 - commentary - dvd - highcode.opus
│   ├── The League of Gentlemen - s00e305 - commentary - dvd - highcode.opus
│   └── The League of Gentlemen - s00e306 - commentary - dvd - highcode.opus
├── season 00
│   ├── The League of Gentlemen - s00e01 - Christmas Special - 2000-12-27 - SDTV - x264 AC3 [EN] - highcode.mkv
│   ├── The League of Gentlemen - s00e02 - Live at Drury Lane - 2001-11-19 - SDTV - XviD MP3.avi
│   ├── The League of Gentlemen - s00e03 - The League of Gentlemen's Apocalypse - 2005-06-03 - SDTV - XviD MP3.avi
│   ├── The League of Gentlemen - s00e04 - The League of Gentlemen Are Behind You - 2006-11-20 - SDTV - x264 Vorbis.mkv
│   ├── The League of Gentlemen - s00e05 - Return To Royston Vasey - 2017-12-18 - HDTV-720p - x264 AAC - mtb.mkv
│   ├── The League of Gentlemen - s00e06 - Save Royston Vasey - 2017-12-19 - HDTV-720p - x264 AAC - mtb.mkv
│   ├── The League of Gentlemen - s00e07 - Royston Vasey Mon Amour - 2017-12-20 - HDTV-720p - x264 AAC - mtb.mkv
│   └── The League of Gentlemen - s00e08 - Live Again! - 2019-04-21 - HDTV-1080p - x264 AAC - plutonium.mkv
├── season 01
│   ├── The League of Gentlemen - s01e01 - Welcome to Royston Vasey - 1999-01-11 - SDTV - x264 AC3 - highcode.mkv
│   ├── The League of Gentlemen - s01e02 - The Road to Royston Vasey - 1999-01-18 - SDTV - h264 AC3 - highcode.mkv
│   ├── The League of Gentlemen - s01e03 - Nightmare in Royston Vasey - 1999-01-25 - SDTV - h264 AC3 - highcode.mkv
│   ├── The League of Gentlemen - s01e04 - The Beast of Royston Vasey - 1999-02-01 - SDTV - h264 AC3 - highcode.mkv
│   ├── The League of Gentlemen - s01e05 - Love Comes to Royston Vasey - 1999-02-08 - SDTV - h264 AC3 - highcode.mkv
│   └── The League of Gentlemen - s01e06 - Escape From Royston Vasey - 1999-02-15 - SDTV - h264 AC3 - highcode.mkv
├── season 02
│   ├── The League of Gentlemen - s02e01 - Destination- Royston Vasey - 2000-01-14 - SDTV - x264 AC3 [EN] - highcode.mkv
│   ├── The League of Gentlemen - s02e02 - Lust for Royston Vasey - 2000-01-21 - SDTV - x264 AC3 [EN] - highcode.mkv
│   ├── The League of Gentlemen - s02e03 - A Plague on Royston Vasey - 2000-01-28 - SDTV - x264 AC3 [EN] - highcode.mkv
│   ├── The League of Gentlemen - s02e04 - Death in Royston Vasey - 2000-02-04 - SDTV - x264 AC3 [EN] - highcode.mkv
│   ├── The League of Gentlemen - s02e05 - Anarchy in Royston Vasey - 2000-02-11 - SDTV - x264 AC3 [EN] - highcode.mkv
│   └── The League of Gentlemen - s02e06 - Royston Vasey and the Monster from Hell - 2000-02-18 - SDTV - x264 AC3 [EN] - highcode.mkv
└── season 03
    ├── The League of Gentlemen - s03e01 - The Lesbian and the Monkey - 2002-09-26 - SDTV - x264 AC3 - highcode.mkv
    ├── The League of Gentlemen - s03e02 - The One-Armed Man is King - 2002-09-26 - SDTV - h264 AC3 - highcode.mkv
    ├── The League of Gentlemen - s03e03 - Turn Again Geoff Tipps - 2002-10-03 - SDTV - h264 AC3 - highcode.mkv
    ├── The League of Gentlemen - s03e04 - The Medusa Touch - 2002-10-10 - SDTV - h264 AC3 - highcode.mkv
    ├── The League of Gentlemen - s03e05 - Beauty and the Beast (Or, Come into My Parlour) - 2002-10-17 - SDTV - h264 AC3 - highcode.mkv
    └── The League of Gentlemen - s03e06 - How The Elephant Got Its Trunk - 2002-10-24 - SDTV - h264 AC3 - highcode.mkv

Hope it's helpful

 

Regards

Edited by ldexterldesign
Link to comment
Share on other sites

  • 2 years later...
zippy72
On 09/05/2019 at 02:48, ldexterldesign said:

How would you handle the use case where an extra isn't associated with a season?

I'd assume they would still be handled exactly the same way, by putting them into a season 0.

Link to comment
Share on other sites

zippy72

I can see that Emby now has a way to place them in order through the front end, and that's great, but a way to do this through the filename as well would fit the requirement I think.

So maybe (using my example again), something like "Doctor Who 0x49 (b4 18x05) Terror Nation", could mean "before S18, episode 04", or "Doctor Who 0x49 (af 18x04) Terror Nation" could mean "after S18, episode 05".

I was going to use > and <, but then realised those don't really work in file names.

If the brackets don't work, maybe a double dash? "Doctor Who 0x49 Terror Nation - - b4 18x05".

I'm not totally sold on the "b4" / "af" but I just can't think of a better option at the moment.

Link to comment
Share on other sites

On 1/8/2022 at 3:24 PM, zippy72 said:

I can see that Emby now has a way to place them in order through the front end, and that's great, but a way to do this through the filename as well would fit the requirement I think.

So maybe (using my example again), something like "Doctor Who 0x49 (b4 18x05) Terror Nation", could mean "before S18, episode 04", or "Doctor Who 0x49 (af 18x04) Terror Nation" could mean "after S18, episode 05".

I was going to use > and <, but then realised those don't really work in file names.

If the brackets don't work, maybe a double dash? "Doctor Who 0x49 Terror Nation - - b4 18x05".

I'm not totally sold on the "b4" / "af" but I just can't think of a better option at the moment.

Do you really need to have the dual episode numbers in the file names? Is it so that you don't forget?

Link to comment
Share on other sites

zippy72

I'm honestly thinking out loud here, I'm not sure what is going to be the best option. Personally, I'm one of those people that tries to do everything through the filename rather than the web front end, mainly because I find it quicker.

That said, I have realised that I'm confusing two different issues here - one is the sort of Doctor Who specials like "Good Night", "Bad Night" and so on, that are essentially prequels to episodes, while others are things like "Terror Nation" that are specials about episodes. I thought the "attaching" idea would be a good one for the first use case, not so sure about the second though.

Link to comment
Share on other sites

Happy2Play

Sure parsing a naming scheme could seem a little more automated but manually applying "Airs during Season" and "Airs before episode" to special/season 0 item metadata is just as much work is it not?

Link to comment
Share on other sites

zippy72

I'd say manually applying through the UI is more work - having added them in the first place I then have to go through and do a second pass to get things how I want them.

Link to comment
Share on other sites

Happy2Play

Each there own, but to me taking the time renaming and editing metadata take the same amount of time.

But a Required Naming scheme will not that easy to accommodate.

Link to comment
Share on other sites

zippy72

I'm thinking that if I need to do one pass sorting out 30 extras for a single episode (like I did the other night), it'd be easier to be able to tag them to that episode in the filename in the first pass, rather than having to go hunt them down in the UI and attach them (especially as Dr Who has so many specials, released at so many times, that those 30 might be specials from all over the years, rather than a block in order. And yes, the season 24 box set does have 30 specials on the first disk... for four episodes...)

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...