INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Please Add IMDB IDs for TV Series  (Read 2342 times)

elprice7345

  • Galactic Citizen
  • ****
  • Posts: 254
Please Add IMDB IDs for TV Series
« on: September 20, 2020, 05:00:50 pm »

Can you please add IMDB ID to the metadata that is retrieved from TMDB for TV Series?
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Please Add IMDB IDs for TV Series
« Reply #1 on: September 20, 2020, 06:34:53 pm »

MC already has the field [IMDb ID] and it is filled when I run "Get Movie & TV Info".

Oops. You said TV Series. I always assume movies when I think of TMDB. MC doesn't seem to be getting that field from TMDB. Is the data actually available in the API?

EDIT1: Seems like the data is available, but a few searches I did on TMDB using the IMDB ID didn't find anything. So maybe they have the field, but don't have the data for TV Series.

EDIT2: It seems that searching by IMDB ID doesn't work on TMDB, by design. However using a URL does. i.e. https://www.themoviedb.org/redirect?external_source=imdb_id&external_id=tt8111088 takes me to he page for "The Mandalorian", so TMDB does have the IMDB ID record. But it doesn't show up in MC after running the "Get Movie & TV Info" function for an Episode from the Series.

MC does collect "TheMovieDB Series ID" and "TheTVDB Series ID" though. It would seem to make sense to collect the "IMDB ID" as well.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

elprice7345

  • Galactic Citizen
  • ****
  • Posts: 254
Re: Please Add IMDB IDs for TV Series
« Reply #2 on: September 20, 2020, 09:32:26 pm »

Sorry @RoderickGI for making you research the functionality. I was aware and didn't include it in my post.  :o

I believe the IMDB ID has to be manually populated by users, so it may not exist for all series.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10931
Re: Please Add IMDB IDs for TV Series
« Reply #3 on: September 21, 2020, 03:00:45 am »

Importing the IMDB ID for TV Shows was always a bit of a question mark because of the ambiguity of importing the global ID for the show, or the ID for the episode.
I suppose you would want the ID for the show, not the episode?

TheMovieDB has both, but we only have one field. The episode ID would be more appropriate in my mind because it fits the one ID for one file concept the field has.
I could also add an IMDB Series ID field, if there is demand for that, on top.

So as a first step, the IMDB ID is now being populated with the episode ID, since thats a per-file ID the episode ID is more appropriate, and we can also use it for subtitle searches for better accuracy.
Logged
~ nevcairiel
~ Author of LAV Filters

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Please Add IMDB IDs for TV Series
« Reply #4 on: September 21, 2020, 04:06:37 am »

Excellent. You have already done it?

I agree the [IMDB ID] should be for the Episode, and not for the Series. All the lookups are on a file basis, so that makes sense.

An [IMDB Series ID] field would be interesting, and could be used in URL links from MC to the IMDB I guess, using Manage Links. That would be kind of nice, although it could just be done for the Episode [IMDB ID] as well. I can't think of another use of the IMDB Series ID, except perhaps for display on Tooltips or Info Panels. Maybe elprice7345 or others can think of other uses.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10931
Re: Please Add IMDB IDs for TV Series
« Reply #5 on: September 21, 2020, 04:11:03 am »

The episode ID will be in the next build.
Logged
~ nevcairiel
~ Author of LAV Filters

elprice7345

  • Galactic Citizen
  • ****
  • Posts: 254
Re: Please Add IMDB IDs for TV Series
« Reply #6 on: September 21, 2020, 03:42:33 pm »

I wasn't clear enough in my original request, but I was asking for the IMDB series ID.

I also agree that adding the IMDB episode ID is a good idea, but to be honest, I didn't even remember it existed at the episode level.

The IMDB series ID is referenced in other sources and is a good tool for quickly finding TV series, especially those with common names.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Please Add IMDB IDs for TV Series
« Reply #7 on: September 21, 2020, 06:15:22 pm »

That is fair, but can I ask, exactly how would you use the data?

Would you copy it and then use it in a browser to find the series?
Would you want to click a link to open a browser at the series?
What would be the workflow?

If a link created using Managed Links based the [IMDB ID] in MC took you to the page for an Episode on the IMDb, it would be only one more click to get to the Series page.

As this has obviously been contentious in the past, it would be good to know how you would use the field.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

elprice7345

  • Galactic Citizen
  • ****
  • Posts: 254
Re: Please Add IMDB IDs for TV Series
« Reply #8 on: September 21, 2020, 09:15:27 pm »

Hmmm ... My most common use would be to copy the IMDB series ID and paste within my browser to lookup the series. I use TMDB series ID and TVDB series ID similarly.

Playing with the MC Manage links feature for IMDB, MC currently searches IMDB for the text in the [Name] field of the series or movie.

When the IMDB episode ID is added to MC, I assume the link would go directly to the episode rather than performing a text search of the [Name] field?

If the IMDB ID is already populated in MC for a movie, shouldn't the IMDB link for movies open the movie in IMDB directly rather than performing a text search of the [Name] field?

After a cursory look at the population of IMDB IDs at the series level vs. episode level, I'm also worried that many episode IDs are missing and series IDs are more certain to be populated. It is certainly easier to add 1 IMDB series ID than it is to enter every episode ID.

If the episode ID is missing, the series ID could be a fallback when opening the IMDB link.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Please Add IMDB IDs for TV Series
« Reply #9 on: September 21, 2020, 09:39:01 pm »

I think the link for IMDB was created before the [IMDB ID] was added to MC. It can be updated to link directory to an IMDB ID. It might even be possible to set up a link to check for the existence of the [IMDB ID] field in MC first, which would take you to the Movie or Episode page, and if the [IMDB ID] field didn't exist, check if the [IMDB Series ID] field existed, and if so use that, which would take you to the TV Show Series page.

That would require expressions to work in the Manage Links dialogue. I haven't checked if they do. Maybe I will.  8)
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Please Add IMDB IDs for TV Series
« Reply #10 on: September 21, 2020, 10:32:30 pm »

So this is the lookup using the existing [IMDB ID] field.

Code: [Select]
<Link version="1.2">
<Item Name="Name">IMDB ID</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https:////www.imdb.com//</Item>
<Item Name="Search URL">https:////www.imdb.com//title//[IMDB ID]/</Item>
<Item Name="Filter"/>
</Link>


That works for both Movies and TV Show Episodes, if they have an [IMDB ID] value.

Read this post and the thread to understand what is going on, and how to change it to suit your requirements. https://yabb.jriver.com/interact/index.php/topic,83371.msg789912.html#msg789912
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Please Add IMDB IDs for TV Series
« Reply #11 on: September 21, 2020, 11:49:08 pm »

So if we had an [IMDB Series ID] field, a link from a file could be set up using Manage Links, as below.

Code: [Select]
<Link version="1.2">
<Item Name="Name">IMDB</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https:////www.imdb.com//</Item>
<Item Name="Search URL">IfElse(!IsEmpty([IMDB ID],), https:////www.imdb.com//title//[IMDB ID]//, !IsEmpty([IMDB Series ID],), https:////www.imdb.com//title//[IMDB Series ID]//,1,https:////www.imdb.com//)</Item>
<Item Name="Filter"/>
</Link>



As that field doesn't exist yet, I put the IMDB Series ID into the [Comment] field, using the setup below.

Code: [Select]
<Link version="1.2">
<Item Name="Name">IMDB</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https:////www.imdb.com//</Item>
<Item Name="Search URL">IfElse(!IsEmpty([IMDB ID],), https:////www.imdb.com//title//[IMDB ID]//, !IsEmpty([Comment],), https:////www.imdb.com//title//[Comment]//,1,https:////www.imdb.com//)</Item>
<Item Name="Filter"/>
</Link>

That worked fine.
When the [IMDB ID] field contained a value, it open the IMDB wep page for the Movie or Episode.
When the [IMDB] field was empty, but the [Comment] field had a value, it open the IMDB wep page for the TV Series. (Assuming I had a IMDB Series ID in the [Comment] field for the selected file, of course.)
When neither the [IMDB] or [Comment] fields had a value, it opened the main IMDB page.

So having an [IMDB Series ID] would be quite useful, when combined with a custom Link in MC.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2033
Re: Please Add IMDB IDs for TV Series
« Reply #12 on: September 22, 2020, 04:45:04 am »

I'm already using these links. Made separate link rule for movies and tv shows. It only shows the other depending on what media sub type the selected file is. So if there isn't IMDb ID filled then search for series/movie is used

Code: [Select]
<Link version="1,2">
<Item Name="Name">IMDB</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://www.imdb.com</Item>
<Item Name="Search URL">http:////www.imdb.com//If(!IsEmpty([IMDb ID,0]),title//Hexify([IMDb ID]),find?s=tt&amp;q=Hexify([Series]))</Item>
<Item Name="Filter">[Media Sub Type]=[TV Show]</Item>
</Link>

Code: [Select]
<Link version="1,2">
<Item Name="Name">IMDB</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">http://www.imdb.com</Item>
<Item Name="Search URL">http:////www.imdb.com//if(!isempty([IMDb ID,0]),title//Hexify([IMDb ID]),find?s=tt&amp;q=Hexify([Name] /([Year]/)))</Item>
<Item Name="Filter">[Media Sub Type]=[Movie]</Item>
</Link>
Logged

elprice7345

  • Galactic Citizen
  • ****
  • Posts: 254
Re: Please Add IMDB IDs for TV Series
« Reply #13 on: September 23, 2020, 04:15:52 pm »

Thanks for the help @RoderickGI and @lepa!  ;D

I've used your links and got them working for me as best I can with the fields existing in MC.

I also created similar links to look up TV shows at the Series level in TMDB:
Code: [Select]
<Link version="1,2">
<Item Name="Name">TMDB TV Shows Series</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https:////www.themoviedb.org//</Item>
<Item Name="Search URL">https:////www.themoviedb.org//If(!IsEmpty([TheMovieDB Series ID,0]),tv//[TheMovieDB Series ID],search?query=Hexify([Series]))</Item>
<Item Name="Filter">[Media Sub Type]=[TV Show]</Item>
</Link>

TV shows at the Episode level in TMDB:
Code: [Select]
<Link version="1,2">
<Item Name="Name">TMDB TV Shows Episode</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https:////www.themoviedb.org//</Item>
<Item Name="Search URL">https:////www.themoviedb.org//If(!IsEmpty([TheMovieDB Series ID,0]),tv//[TheMovieDB Series ID]//season//[Season]//episode//[Episode],search?query=Hexify([Series]))</Item>
<Item Name="Filter">[Media Sub Type]=[TV Show]</Item>
</Link>

and Movies in TMDB:
Code: [Select]
<Link version="1,2">
<Item Name="Name">TMDB Movies</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https:////www.themoviedb.org//</Item>
<Item Name="Search URL">https:////www.themoviedb.org//search?query=Hexify([Name])</Item>
<Item Name="Filter">[Media Sub Type]=[Movie]</Item>
</Link>

[TMDB Movie ID] is also missing from MC, so I can't define a link that takes you directly to the TMDB movie.

Having [IMDB Series ID], [IMDB Episode ID], and [TMDB Movie ID] (all coming from TMDB lookups) added to MC would make the ability to link directly to info on these sites much better.

What are the chances of that happening?
Logged

elprice7345

  • Galactic Citizen
  • ****
  • Posts: 254
Re: Please Add IMDB IDs for TV Series
« Reply #14 on: September 23, 2020, 06:04:13 pm »

One more ...

Looks up TV Series in TVDB:
Code: [Select]
<Link version="1,2">
<Item Name="Name">TVDB TV Shows Series</Item>
<Item Name="Action">1</Item>
<Item Name="Base URL">https:////www.thetvdb.com//</Item>
<Item Name="Search URL">https:////www.thetvdb.com//If(!IsEmpty([TheTVDB Series ID,0]),?tab=series&id=[TheTVDB Series ID],search?query=Hexify([Series]))</Item>
<Item Name="Filter">[Media Sub Type]=[TV Show]</Item>
</Link>
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Please Add IMDB IDs for TV Series
« Reply #15 on: September 23, 2020, 07:29:15 pm »

It's good functionality, isn't it!

I have tried using some of the built-in variables to construct the links in the past, such as [IMDBBaseURL], [IMDBTitleSearchURL], [AmazonBaseURL], [AmazonArtistSearchURL], etc., but I can't see any way to set those variables, and they have given me strange results or failures. They all seem to be hard coded in MC. I would have expected a variable such as [BaseURL] to contain the text entered into the "Base URL" box, but that doesn't happen. I can't find any reference to the available variables either.

So I just build the full URL in the expression, as you have been doing. But it would be nice if at least the contents of the "Base URL" box was stored into a [BaseURL] variable, to shorten expressions.

Thanks for sharing your versions.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

elprice7345

  • Galactic Citizen
  • ****
  • Posts: 254
Re: Please Add IMDB IDs for TV Series
« Reply #16 on: October 02, 2020, 02:34:38 pm »

Thanks @roderickgi for pointing me in the right direction!

I agree, it would be nice if the [BaseURL] fields were updated/corrected. @hendrick – Can you make that happen?

@hendrick – Also, thanks for adding the [IMDb ID] for episodes!

Can the following fields be added to MC and have the TMDB lookup populate them:
•   [TheMovieDB Movie ID] – to be able to link directly to the TMDB movie rather than doing a text search
•   [IMDB Series ID] – as a fallback if the “[IMDb ID] for episodes” is empty rather than doing a text search. “[IMDb ID] for episodes” is quite often empty.

This would make the ability to link directly to info on these sites much better.

What are the chances of that happening?
Logged
Pages: [1]   Go Up