linibind 5 Posted December 1, 2025 Posted December 1, 2025 this seems to work [imdbid=xxxx] (no 'tt') or maybe it's ignored and a movie title lookup works. I named everything like [imdbid=xxxx] (no 'tt') and it all seems to work fine, but I just did a lookup on google search to see if it is truly correct and the ai result only displayed [imdbid=ttxxxx]. The movie naming doc just uses [imdbid=xxxxxx]. Quote AI Overview Emby can use [imdbid=xxxx] within the file name, but the official and recommended format is Movie Title (Year) [imdbid=xxxx]. The full, standard naming convention for movie files is: Movie Title (Year) [imdbid=ttxxxxxx].ext (e.g., Avatar (2009) [imdbid=tt0499549].mkv) The search result seems counter to the emby doc - it specifies 'tt' as separate to the 'xxxxxx', whereas the doc doesn't mention 'tt' as part of the xxxxxx at all. If 'xxxxxx' was specified as a regex, what would it be? thanks jim
Solution GrimReaper 4739 Posted December 1, 2025 Solution Posted December 1, 2025 (edited) 10 minutes ago, linibind said: AI Overview Emby can use [imdbid=xxxx] within the file name AI hallucinating, what a surprise. If using imdbId, "tt" is mandatory prefix, that is standard IMDB nomenclature. Though tmdbid (if TMDB is your preferred meta-downloader) is preferred, as imdbId is used only as a lookup on online providers databases (TMDB, TVDB, OMDBApi) - if it's not added, there'll be no hits. Edited December 1, 2025 by GrimReaper 1
Luke 42077 Posted December 1, 2025 Posted December 1, 2025 Quote If using imdbId, "tt" is mandatory prefix, that is standard IMDB nomenclature. Correct.
Luke 42077 Posted December 1, 2025 Posted December 1, 2025 Quote Though tmdbid is preferred Or even both. You can use more than one in the path. 1
linibind 5 Posted December 1, 2025 Author Posted December 1, 2025 42 minutes ago, GrimReaper said: AI hallucinating, what a surprise. If using imdbId, "tt" is mandatory prefix, that is standard IMDB nomenclature. Though tmdbid (if TMDB is your preferred meta-downloader) is preferred, as imdbId is used only as a lookup on online providers databases (TMDB, TVDB, OMDBApi) - if it's not added, there'll be no hits. thank you! That is good to know. Like this? mv 'Shrek [imdbid=0126029]' 'Shrek [imdbid=tt0126029][tmdbid=808]' Does leaving the imdb in the path matter? I have to re-write them all anyways, so whatever is best. Now for a bit of python. -jim
GrimReaper 4739 Posted December 1, 2025 Posted December 1, 2025 (edited) 15 minutes ago, linibind said: Like this? mv 'Shrek [imdbid=0126029]' 'Shrek [imdbid=tt0126029][tmdbid=808]' Sounds about right, though I'd put a (Year) as well - simply cause I'm used to it, i.e. 'Shrek (2001) [imdbid=tt0126029] [tmdbid=808]' 15 minutes ago, linibind said: Does leaving the imdb in the path matter? As Luke said, you can have multiple ID tags in the name, so it can't hurt; personally, I don't bother as it is practically a "bridge" that'll lead you to the same tmdbid (which is already present), but maybe it is added with one provider (TVDB) and not with the other (TMDB) so it might potentially have some use; it's up to your preference. Edit: @Lukenever thought about this, but how are provider-side-conflicts of multiple ID tags in the path solved (example: item has incorrect imdbid assigned on TMDB or imdbid in the path does not correspond to tmdbid in the path on TMDB? Which one has priority, first one listed/queried or it's PoviderId vs ExternalId that is preferred?). Thanks. Edited December 1, 2025 by GrimReaper Append
AndreiP 33 Posted December 1, 2025 Posted December 1, 2025 Omg! Hi and thank you for this post! I used imdb, but without id Citadel (2023) [imdb=9794044] and not Citadel (2023) [imdbid=9794044] I thought that id is not necessary... If i understand right id should be there. Please confirm.
Happy2Play 9780 Posted December 1, 2025 Posted December 1, 2025 10 minutes ago, AndreiP said: Omg! Hi and thank you for this post! I used imdb, but without id Citadel (2023) [imdb=9794044] and not Citadel (2023) [imdbid=9794044] I thought that id is not necessary... If i understand right id should be there. Please confirm. To my knowledge no. But will test to confirm. https://emby.media/support/articles/Movie-Naming.html#id-tags-in-folder--file-names 1
Luke 42077 Posted December 1, 2025 Posted December 1, 2025 1 hour ago, GrimReaper said: Sounds about right, though I'd put a (Year) as well - simply cause I'm used to it, i.e. 'Shrek (2001) [imdbid=tt0126029] [tmdbid=808]' As Luke said, you can have multiple ID tags in the name, so it can't hurt; personally, I don't bother as it is practically a "bridge" that'll lead you to the same tmdbid (which is already present), but maybe it is added with one provider (TVDB) and not with the other (TMDB) so it might potentially have some use; it's up to your preference. Edit: @Lukenever thought about this, but how are provider-side-conflicts of multiple ID tags in the path solved (example: item has incorrect imdbid assigned on TMDB or imdbid in the path does not correspond to tmdbid in the path on TMDB? Which one has priority, first one listed/queried or it's PoviderId vs ExternalId that is preferred?). Thanks. It's just about importing data. The presence in the file name has no effect on preferred providers.
AndreiP 33 Posted December 1, 2025 Posted December 1, 2025 Yes, I check the same info, but it says there: Example: Casino Royale (2006) [tmdbid=36557] So, id is only for tmdb?
Happy2Play 9780 Posted December 1, 2025 Posted December 1, 2025 (edited) 19 minutes ago, AndreiP said: Omg! Hi and thank you for this post! I used imdb, but without id Citadel (2023) [imdb=9794044] and not Citadel (2023) [imdbid=9794044] I thought that id is not necessary... If i understand right id should be there. Please confirm. Only issue with this example is invalid ids as they are missing tt so the id is not used in the online query. Edited December 1, 2025 by Happy2Play required reference for IMDB 1
Happy2Play 9780 Posted December 1, 2025 Posted December 1, 2025 (edited) 17 minutes ago, AndreiP said: Yes, I check the same info, but it says there: Example: Casino Royale (2006) [tmdbid=36557] So, id is only for tmdb? No you can use TVDB/TMDB/IMDB= or TVDBID/TMDBID/IMDBID=. Emby can also read a Meta-Data ID from the name. Supported Formats: Name (Year) [tmdbid=xxxx] Name (Year) [tmdbid-xxxx] Name (Year) [tmdb=xxxx] Name (Year) [tmdb-xxxx] Name (Year) {tmdbid=xxxx} Name (Year) {tmdbid-xxxx} Name (Year) {tmdb=xxxx} Name (Year) {tmdb-xxxx} Supported ID's: tvdb tmdb (Moviedb) imdb Example: Casino Royale (2006) [tmdbid=36557] But I guess examples should be expanded Casino Royale (2006) [tmdbid=36557] Casino Royale (2006) [tmdb=36557] Casino Royale (2006) [imdbid=tt0381061] Casino Royale (2006) [imdb=tt0381061] Casino Royale (2006) [tvdbid=330] Casino Royale (2006) [tvdb=330] Note you can have either brackets also { } or [ ] along with - or = Edited December 1, 2025 by Happy2Play 1
GrimReaper 4739 Posted December 2, 2025 Posted December 2, 2025 2 hours ago, Luke said: It's just about importing data. The presence in the file name has no effect on preferred providers. I don't think you understood my qiestion: Movie (Year) [imdbid=X] [tmdbid=Y] If X leads to MovieA and Y leads to MovieB (either due to user error or wrong data with the provider), which one is used?
AndreiP 33 Posted December 2, 2025 Posted December 2, 2025 5 hours ago, Happy2Play said: No you can use TVDB/TMDB/IMDB= or TVDBID/TMDBID/IMDBID=. Emby can also read a Meta-Data ID from the name. Supported Formats: Name (Year) [tmdbid=xxxx] Name (Year) [tmdbid-xxxx] Name (Year) [tmdb=xxxx] Name (Year) [tmdb-xxxx] Name (Year) {tmdbid=xxxx} Name (Year) {tmdbid-xxxx} Name (Year) {tmdb=xxxx} Name (Year) {tmdb-xxxx} Supported ID's: tvdb tmdb (Moviedb) imdb Example: Casino Royale (2006) [tmdbid=36557] But I guess examples should be expanded Casino Royale (2006) [tmdbid=36557] Casino Royale (2006) [tmdb=36557] Casino Royale (2006) [imdbid=tt0381061] Casino Royale (2006) [imdb=tt0381061] Casino Royale (2006) [tvdbid=330] Casino Royale (2006) [tvdb=330] Note you can have either brackets also { } or [ ] along with - or = Thank you! So, with imdb I should also use tt before numbers?
GrimReaper 4739 Posted December 2, 2025 Posted December 2, 2025 10 minutes ago, AndreiP said: So, with imdb I should also use tt before numbers? Yes. 8 hours ago, GrimReaper said: If using imdbId, "tt" is mandatory prefix, that is standard IMDB nomenclature. 1
linibind 5 Posted December 2, 2025 Author Posted December 2, 2025 10 minutes ago, AndreiP said: Thank you! So, with imdb I should also use tt before numbers? yes "If using imdbId, "tt" is mandatory prefix, that is standard IMDB nomenclature. " 1
Luke 42077 Posted December 3, 2025 Posted December 3, 2025 Yea I cringe when I see some software removing the tt prefix. It is part of the id. If imdb were to ever change anything, a lot of apps will have to update their code.
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