Jump to content

Custom TV Naming Pattern for separate Folders or Libraries


Go to solution Solved by ebr,

Recommended Posts

stevewalison
Posted

I have live racing replay media which is not available in the normal "SXXEXX" or similar format, but is named "YYYY Round XX".

Currently, I duplicate the content for tracking in emby which is renamed and spread across multiple folders for different series. I then keep another clean copy of the content for seeding.

If we could provide a custom regex string for specific folders, series, or libraries for custom name handling of content, I could easily provide emby with the information on handling the content.

Similarly, the regex string could also allow a single folder to have multiple separate TV Shows. For example Pre-Race show, Race and Post-Race show.

For example, the content might be available in the following folder format:

- 2026 AMA Supercross Rd 11 Detroit 1080p60 x265.mkv
- 2026 AMA Supercross Rd 11 Detroit Post Show 1080p60 x265.mkv

For the main race content, I could just a regex pattern below which provides season and episode as named groups, and would only get the race.
20(?'season'\d\d) AMA Supercross Rd (?'episode'[\d]+)( [a-zA-Z]+){1,2}(?:Post Show(*FAIL)|) [0-9p]+ x26[45]

For post race content, a separate regex pattern for the series could be done which forces pattern matching for the post show.
20(?'season'\d\d) AMA Supercross Rd (?'episode'[\d]+)( [a-zA-Z]+){1,2} (Post Show) [0-9p]+ x26[45]

This is one example, but other content might be 4-6 different races throughout the event with unique naming and tags.

I was thinking each pattern could be added similar to adding "Folders" but each Regex pattern creates a separate TV series with all of the matches. Each regex pattern would scan all of the content in the indicated folders to build up the series database.

Thanks,

  • Solution
Posted

Hi, there's already an open request for this or something functionally equivalent. Please join in and contribute to the existing discussion at:

 

  • Thanks 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...