myjunkmalebox 8 Posted September 15, 2022 Posted September 15, 2022 Would be nice if there was a way we could specify the format for a season or folder. Something at the Series and or Season level where I could enter "{SeasonNum}.{EpisodeNum} - {Title}" (or similar) then Emby could convert that into the Regex it needs to get the fields and do proper processing. Then people could use what ever format they want and have each season have individual formats if needed. Added bonus, you wouldn't have to ever add more name formats for people 2 3
Luke 42077 Posted September 15, 2022 Posted September 15, 2022 HI, yes something like this is something I've been wanting to add. It's possible for future updates. Thanks. 2
liyefei 1 Posted December 23, 2022 Posted December 23, 2022 This is a good idea. I think many people need this fuction. 1
HTanner 3 Posted January 21, 2025 Posted January 21, 2025 I don't have a problem with TV shows, but some movies aren't identified properly. In particular, when I have a collection of movies and prefix the movie names with numbers, Emby can't identify the movie. For example: u:\movies\action\marvel\the infinity saga\Phase 1 u:\movies\action\marvel\the infinity saga\Phase 2 u:\movies\action\marvel\the infinity saga\Phase 3 u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered]-clearlogo.png u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered]-fanart.jpg u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered]-poster.jpg u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered].en.srt u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered].mp4 u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered].nfo u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008]-clearlogo.png u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008]-fanart.jpg u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008]-poster.jpg u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008].en.srt u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008].mp4 u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008].nfo u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010]-clearlogo.png u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010]-fanart.jpg u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010]-poster.jpg u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010].mkv u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010].nfo or u:\movies\collections\japenese masters\zatoichi\[01] The Tale of Zatoichi [1962] [7.6]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[01] The Tale of Zatoichi [1962] [7.6].avi u:\movies\collections\japenese masters\zatoichi\[01] The Tale of Zatoichi [1962] [7.6].nfo u:\movies\collections\japenese masters\zatoichi\[02] The Tale of Zatoichi Continues [1962] [7.2]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[02] The Tale of Zatoichi Continues [1962] [7.2].avi u:\movies\collections\japenese masters\zatoichi\[02] The Tale of Zatoichi Continues [1962] [7.2].nfo u:\movies\collections\japenese masters\zatoichi\[03] New Tale of Zatoichi [1963] [7.4]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[03] New Tale of Zatoichi [1963] [7.4].avi u:\movies\collections\japenese masters\zatoichi\[03] New Tale of Zatoichi [1963] [7.4].nfo u:\movies\collections\japenese masters\zatoichi\[04] Zatoichi the Fugitive [1963] [7.2]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[04] Zatoichi the Fugitive [1963] [7.2].avi u:\movies\collections\japenese masters\zatoichi\[04] Zatoichi the Fugitive [1963] [7.2].nfo u:\movies\collections\japenese masters\zatoichi\[05] Zatoichi on the Road [1963] [7.2]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[05] Zatoichi on the Road [1963] [7.2].avi u:\movies\collections\japenese masters\zatoichi\[05] Zatoichi on the Road [1963] [7.2].en.srt u:\movies\collections\japenese masters\zatoichi\[05] Zatoichi on the Road [1963] [7.2].nfo Of course I can right click the movie and select "Identify", which I've done, but I'd prefer if it identified these names on its own. I'd also accept an option for me to customize the file name scanner by specifying a regular expression. It would only use this regular expression if the normal parser couldn't identify the movie. Thanks for your consideration!
Luke 42077 Posted January 21, 2025 Posted January 21, 2025 1 hour ago, HTanner said: I don't have a problem with TV shows, but some movies aren't identified properly. In particular, when I have a collection of movies and prefix the movie names with numbers, Emby can't identify the movie. For example: u:\movies\action\marvel\the infinity saga\Phase 1 u:\movies\action\marvel\the infinity saga\Phase 2 u:\movies\action\marvel\the infinity saga\Phase 3 u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered]-clearlogo.png u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered]-fanart.jpg u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered]-poster.jpg u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered].en.srt u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered].mp4 u:\movies\action\marvel\the infinity saga\Phase 1\1 Iron Man [2008] [Remastered].nfo u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008]-clearlogo.png u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008]-fanart.jpg u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008]-poster.jpg u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008].en.srt u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008].mp4 u:\movies\action\marvel\the infinity saga\Phase 1\2 The Incredible Hulk [2008].nfo u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010]-clearlogo.png u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010]-fanart.jpg u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010]-poster.jpg u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010].mkv u:\movies\action\marvel\the infinity saga\Phase 1\3 Iron Man 2 [2010].nfo or u:\movies\collections\japenese masters\zatoichi\[01] The Tale of Zatoichi [1962] [7.6]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[01] The Tale of Zatoichi [1962] [7.6].avi u:\movies\collections\japenese masters\zatoichi\[01] The Tale of Zatoichi [1962] [7.6].nfo u:\movies\collections\japenese masters\zatoichi\[02] The Tale of Zatoichi Continues [1962] [7.2]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[02] The Tale of Zatoichi Continues [1962] [7.2].avi u:\movies\collections\japenese masters\zatoichi\[02] The Tale of Zatoichi Continues [1962] [7.2].nfo u:\movies\collections\japenese masters\zatoichi\[03] New Tale of Zatoichi [1963] [7.4]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[03] New Tale of Zatoichi [1963] [7.4].avi u:\movies\collections\japenese masters\zatoichi\[03] New Tale of Zatoichi [1963] [7.4].nfo u:\movies\collections\japenese masters\zatoichi\[04] Zatoichi the Fugitive [1963] [7.2]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[04] Zatoichi the Fugitive [1963] [7.2].avi u:\movies\collections\japenese masters\zatoichi\[04] Zatoichi the Fugitive [1963] [7.2].nfo u:\movies\collections\japenese masters\zatoichi\[05] Zatoichi on the Road [1963] [7.2]-poster.jpg u:\movies\collections\japenese masters\zatoichi\[05] Zatoichi on the Road [1963] [7.2].avi u:\movies\collections\japenese masters\zatoichi\[05] Zatoichi on the Road [1963] [7.2].en.srt u:\movies\collections\japenese masters\zatoichi\[05] Zatoichi on the Road [1963] [7.2].nfo Of course I can right click the movie and select "Identify", which I've done, but I'd prefer if it identified these names on its own. I'd also accept an option for me to customize the file name scanner by specifying a regular expression. It would only use this regular expression if the normal parser couldn't identify the movie. Thanks for your consideration! This right here is going to be a challenge to handle automatically: Quote 3 Iron Man 2 Why, because when you search for it on moviedb, this is what you get: https://www.themoviedb.org/search?query=3 Iron Man 2&language=en-US
HTanner 3 Posted January 21, 2025 Posted January 21, 2025 (edited) That's why I asked for an option for a regular expression. This way I could tell Emby to ignore the leading numbers. But only use the regular expression if the regular search comes up empty. This way a movie that starts with a number would still be found. Edited January 21, 2025 by HTanner
Luke 42077 Posted January 21, 2025 Posted January 21, 2025 52 minutes ago, HTanner said: That's why I asked for an option for a regular expression. This way I could tell Emby to ignore the leading numbers. But only use the regular expression if the regular search comes up empty. This way a movie that starts with a number would still be found. The challenge is that it doesn't really work like this. The two parts of the server are not connected. The filename is first parsed to determine a title and year. Then, later, a metadata lookup happens based on that result. So if we gave you the ability to customize the regexes, you would have to produce a regex that could find the title and year from the filename, without knowing what the result from moviedb would be later.
HTanner 3 Posted January 24, 2025 Posted January 24, 2025 On 1/21/2025 at 5:42 PM, Luke said: So if we gave you the ability to customize the regexes, you would have to produce a regex that could find the title and year from the filename, without knowing what the result from moviedb would be later. If you notice, I do provide the title and year in my filenames. So yes, this would be acceptable to me.
Luke 42077 Posted January 24, 2025 Posted January 24, 2025 5 hours ago, HTanner said: If you notice, I do provide the title and year in my filenames. So yes, this would be acceptable to me. Right but you said this: Quote But only use the regular expression if the regular search comes up empty. This way a movie that starts with a number would still be found. It wouldn't work this way. You have to produce one result, and then this is what gets fed into the metadata lookups.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now