SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Customizations (http://forums.sagetv.com/forums/forumdisplay.php?f=27)
-   -   IMDB PlugIn (http://forums.sagetv.com/forums/showthread.php?t=64439)

mike1961 04-30-2017 04:19 PM

IMDB PlugIn
 
Hello - a while back I had the IMDB plugin and it has not worked for a long time. I just upgraded to version 9 and I was wondering if there is a way to get this working again. Also, as a related note, In Setup, SageTV Plugins, does the available list of plugins update automatically when there is a new plugin available?

Thanks,

JREkiwi 05-01-2017 01:14 AM

The functionality of the IMDB plugin is included in the Complementary Metadata Tools (CMT) plugin.

Yes the list of plugins is regularly updated automatically.

John

mike1961 05-01-2017 03:07 AM

Beautiful! Thanks so much - I really missed this plug in for a long time. It's great to have it working again. :clap:

phelme 11-14-2017 03:16 PM

Not sure where this should be posted because of all the differing versions and such so I'll just tag on to this thread. :D

Apparently the IMDB plugin (Nielm's IMDb plugin as part of Complimentary Metadata tools?) is broken again no doubt due to IMDb's meddling. This time episodes are no longer showing up in TV shows.

Also I've noticed for quite a while now that searching on an episode title name will no longer find a match.

JREkiwi 11-14-2017 11:28 PM

Quote:

Originally Posted by phelme (Post 612108)
Apparently the IMDB plugin (Nielm's IMDb plugin as part of Complimentary Metadata tools?) is broken again no doubt due to IMDb's meddling. This time episodes are no longer showing up in TV shows.

Also I've noticed for quite a while now that searching on an episode title name will no longer find a match.

I've noticed that too, and it's starting to irritate me, so I hope to look at fixing it over the weekend.

John

phelme 11-15-2017 02:17 PM

Quote:

Originally Posted by JREkiwi (Post 612130)
I've noticed that too, and it's starting to irritate me, so I hope to look at fixing it over the weekend.

John

thanks! :)

phelme 12-04-2017 04:16 PM

JREkiwi: assume you haven't had any time to look at this?

JREkiwi 12-05-2017 12:04 AM

Quote:

Originally Posted by phelme (Post 612560)
JREkiwi: assume you haven't had any time to look at this?

Unfortunately I have had a look at it and it's a major change which I've been chipping away at. The pages that previously contained the episode information are completely gone and the information is now spread over multiple pages.

John

JREkiwi 12-20-2017 03:25 AM

Looks like IMDB have made a major change which has removed most of the pages that were being used for look-ups. I'm not sure when or if there will be anything functional again.

John

Shield 12-21-2017 10:37 PM

Yep, I noticed a few weeks ago that the episodes were gone; now IMDB is completely broken.
I would pay $$ for this to be fixed...:)

Tiki 12-22-2017 11:59 AM

I know IMDB doesn't offer a public API, but they do make their databases available for downloading. There are a few sites that download this data and make their own API available. I see there is one called omdb (open movie database) www.omdbapi.com. They offer free or paid API keys. And provide results in either xml or json.

Has anyone looked into using one of these services instead of trying to scrape the website?

phelme 01-08-2018 02:22 PM

Quote:

Originally Posted by Tiki (Post 613023)
I know IMDB doesn't offer a public API, but they do make their databases available for downloading. There are a few sites that download this data and make their own API available. I see there is one called omdb (open movie database) www.omdbapi.com. They offer free or paid API keys. And provide results in either xml or json.

Has anyone looked into using one of these services instead of trying to scrape the website?

Omdb looks rather promising, have to figure out how to handle their API keys per user.

JREkiwi: Are CMT and nielms imdb plug in code open source in case someone wants to look into this (if you don't have the time)?

Tiki 01-08-2018 05:59 PM

Quote:

Originally Posted by phelme (Post 613458)
Omdb looks rather promising, have to figure out how to handle their API keys per user.

JREkiwi: Are CMT and nielms imdb plug in code open source in case someone wants to look into this (if you don't have the time)?

I would make the key something each user has to enter as a setup parameter (they would go to the Omdb site and could choose either the free or donator version). It would be kind of like how the Schedules Direct EPG licensing is handled.

JREkiwi 01-08-2018 11:29 PM

I'm just hanging off doing anything at the moment as IMDB have said that they will be reinstating some of the removed pages, they just don't say which ones, or when.

John

michaeldjcox 01-19-2018 04:10 AM

Is there a good alternative to provide meta data for movies?

I always got mixed results with IMDB within SageMC anyway but I used to use it to build meta data for DVDs.

I'm just in the process of re-adding movies and IMDB is not working but
it looks like some of my meta data is coming from Phoenix but I'm not sure how and if I can give it a kick to re-scan.

Properties files and jpg seem to be appearing

michaeldjcox 01-19-2018 09:12 AM

Found BMT - seems to be able to get it from themoviedb but no longer imdb

spencerw 04-18-2018 11:14 PM

Quote:

Originally Posted by JREkiwi (Post 613464)
I'm just hanging off doing anything at the moment as IMDB have said that they will be reinstating some of the removed pages, they just don't say which ones, or when.

John

I went through the pain of parsing the new pages. I'll send you latest code in a PM so you can get this to the community as an official plugin update.

If anybody is interested in trying the latest plugin until John makes an official release, please PM me and I'll send you the updated nielm_sageimdb.jar file. Thanks.

-Bill

JREkiwi 04-18-2018 11:32 PM

Quote:

Originally Posted by spencerw (Post 615371)
I went through the pain of parsing the new pages. I'll send you latest code in a PM so you can get this to the community as an official plugin update.

If anybody is interested in trying the latest plugin until John makes an official release, please PM me and I'll send you the updated nielm_sageimdb.jar file. Thanks.

-Bill

Thanks Bill, I looked at it a number of times, but just couldn't find them time/enthusiasm to work on it. I'm looking forward to getting this posted. Did you fix up the actor filmography too?

John

spencerw 04-19-2018 09:17 PM

Yes, actor filmography is working. I initially added a new Filmography instance per TV series rather than combining them "TV Episodes" but the list on the left could get pretty long. I liked it because the list on the right became more focused having only the episodes the actor/actress was in for that series. The disadvantage was that it would force you to have to page down to get to trivia, quotes and goofs on the left if the actor/actress has been very busy over the years. I didn't want to change the look and feel of the current interface so I restored the "TV Episodes" item. Perhaps this can be controlled in the future via a configurable setting either in Sage.properties or through the GUI.

I think a better approach might be to change the list of episodes (Roles) on the right to a list of TV series names. When you drill in further you could then see the episodes for that actor and series. Currently each series for which the actor has more than 5 episodes needs an ajax request to get the additional episodes so doing this on-demand rather than upfront would save quite a few requests. The reason I'm concerned about this is that I noticed there was throttling logic to limit title and person queries to 1 per 10 seconds. Did IMDB start slowing your access or blocking you at some point? I found 10 seconds to be painfully long during my development so I disabled it locally. If IMDB didn't restrict my access with all the testing I did then my guess is that we could remove the 10 second throttling or greatly reduce it.

belleaudb 04-24-2018 07:19 PM

I have been using the updated plugin supplied by Bill.

I am happy to say it is working great.

Thumbs up to Bill and great work! :thumb:

JREkiwi 04-24-2018 09:21 PM

I've been having problems with the Plugin Repository, which is why it's not in the plugin system yet

John

Denali 04-25-2018 05:53 PM

+1 Thanks Bill

cupp 04-25-2018 10:12 PM

Thanks a lot Bill. This is one function I really missed :goodjob:

RonBoyd 04-26-2018 04:32 AM

Quote:

Originally Posted by cupp (Post 615447)
Thanks a lot Bill. This is one function I really missed :goodjob:

+1

BobPhoenix 04-26-2018 04:33 PM

Quote:

Originally Posted by cupp (Post 615447)
Thanks a lot Bill. This is one function I really missed :goodjob:

+2

phelme 05-08-2018 11:55 AM

Quote:

Originally Posted by cupp (Post 615447)
Thanks a lot Bill. This is one function I really missed :goodjob:

Quote:

Originally Posted by RonBoyd (Post 615449)
+1

Quote:

Originally Posted by BobPhoenix (Post 615456)
+2

+3

Shield 05-22-2018 12:33 AM

Quote:

Originally Posted by JREkiwi (Post 612961)
Looks like IMDB have made a major change which has removed most of the pages that were being used for look-ups. I'm not sure when or if there will be anything functional again.

John


Thank you SO MUCH for updating this! I couldn't update it from the HD300, so I stopped the Sage service, pulled down the .jar file from here:
https://bintray.com/jrekiwi/SageTV/d...imdb_2.0.0.zip
Unpacked the zip file, renamed the old file to .old and put the new file in the jar folder.

Spun Sage back up and IMDB is WORKING AGAIN!

If someone as dumb as I am could figure this out then hopefully others will see this and update their jar file.

As promised I will send you some Paypal money - PM your Paypal address. I spend hours reading the trivia on the big screen.
Shawn

egeller 08-18-2018 05:18 PM

Cast List broken?
 
Is anybody else seeing a blank cast list in the last day or two? For me, the list of cast members is now empty for both movies and TV shows. I tried rebooting SageTV, but that didn't change anything, as far as I could tell.

icemanjl 08-19-2018 01:59 PM

Seeing the same thing: "Cast" information is now blank. "Cast" data from the IMDB site was working perfectly last week.

phelme 08-19-2018 04:30 PM

Quote:

Originally Posted by egeller (Post 616366)
Is anybody else seeing a blank cast list in the last day or two? For me, the list of cast members is now empty for both movies and TV shows. I tried rebooting SageTV, but that didn't change anything, as far as I could tell.

yep, seeing it too and came here to post about it.

likely IMDb had to change things to make room for another auto-playing video. ;)

JREkiwi 08-19-2018 10:36 PM

A fix is being tested at the moment.

John

Shield 08-28-2018 10:29 AM

Any updates? :) Sorry I know I'm not very patient. You never realize how much you use IMDB in Sage...:)

kegler 09-07-2018 09:23 PM

Quote:

Originally Posted by JREkiwi (Post 616381)
A fix is being tested at the moment.

John

Got notification an update was available. Tried to update, but no joy.

Got error:

Plugin Update Progress: Done - FAILED - Resource
Download
https://bintray.com/jrekiwi/SageTV/d...FCMT_3.1.7.zip

If you need more info, please let me know.

Jim

peternm22 09-07-2018 10:55 PM

Quote:

Originally Posted by kegler (Post 616714)
Got notification an update was available. Tried to update, but no joy.

Got error:

Plugin Update Progress: Done - FAILED - Resource
Download
https://bintray.com/jrekiwi/SageTV/d...FCMT_3.1.7.zip

If you need more info, please let me know.

Jim

I just tried updating on my end, and it worked with no problem. Maybe try it again?

The cast list is now showing up again for movies and TV.

Thanks for the fix!

phelme 09-07-2018 11:33 PM

Quote:

Originally Posted by kegler (Post 616714)
Got notification an update was available. Tried to update, but no joy.

Got error:

Plugin Update Progress: Done - FAILED - Resource
Download
https://bintray.com/jrekiwi/SageTV/d...FCMT_3.1.7.zip

If you need more info, please let me know.

Jim

I get the same thing. So I went and tried to download it on a web browser, no problem. I tried to download *any* plugin. Can't. Get the same resource failed message.

So now I'm wondering if something else is broken. I haven't tried to update plug-ins in quite a while.

I'm on Windows 10, 1803. Build 17134.165

I'm on a slightly older version of SageTV 9.1.7.757. Just haven't got around to updating.

Does anyone know if a recent release of Windows might have broken something or do I need to be on the latest release of SageTV 9 for plug-in downloading to work again?

Edit: Found this post which led to this thread. Looks like we may need to update Java. I'm still on v7. ;)

peternm22 09-08-2018 12:07 AM

That might explain it. I'm running Java 1.8.

kegler 09-08-2018 06:31 AM

Quote:

Originally Posted by phelme (Post 616716)
I get the same thing. So I went and tried to download it on a web browser, no problem. I tried to download *any* plugin. Can't. Get the same resource failed message.

So now I'm wondering if something else is broken. I haven't tried to update plug-ins in quite a while.

I'm on Windows 10, 1803. Build 17134.165

I'm on a slightly older version of SageTV 9.1.7.757. Just haven't got around to updating.

Does anyone know if a recent release of Windows might have broken something or do I need to be on the latest release of SageTV 9 for plug-in downloading to work again?

Edit: Found this post which led to this thread. Looks like we may need to update Java. I'm still on v7. ;)

I am running under Windows 8.1 6.3 Build 9600. SageTV is V9.1.5.683 and Java is V7. This is all running in a VM in under ESXI.

Like you, I can download plugins via the browser, but not through SageTV.

Looks like Java V7 may be the issue. If memory serves, there was a Jetty issue that was the reason for not updating to V8??? Anyone have more recent info???

With the exception of the IMDB cast issue everything has been working well so I have left it alone.

Will try to update SageTV and Java next week when I have time available.

Jim

phelme 09-08-2018 11:08 AM

Quote:

Originally Posted by kegler (Post 616719)
Looks like Java V7 may be the issue. Looks like Java V7 may be the issue. If memory serves, there was a Jetty issue that was the reason for not updating to V8??? Anyone have more recent info???

seems to me there was an issue with SJQv4 (which could involve jetty, yes), which I still rely on for compression duties, so I stayed away from upgrading to v8 too. but on reading the SJQv4 thread, looks like it may have been installation problems, not actual running under 8. If I get a chance I'll try and get to upgrading this weekend.

for reference, here's a couple threads discussing jetty webserver issues on v8:

https://forums.sagetv.com/forums/sho...tty+index.html

https://forums.sagetv.com/forums/sho...ighlight=jetty

icemanjl 09-08-2018 03:54 PM

Downloaded the new jar (nielm_sageimdb_2.0.1) then replaced the old 2.0.0 version in the JARs folder with the new 2.0.1 version. Works perfectly.
Many thanks!!

Shield 09-08-2018 07:55 PM

THANK YOU for the hard work!:clap::jump:


All times are GMT -6. The time now is 07:07 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.