SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-30-2017, 04:19 PM
mike1961 mike1961 is offline
Sage Icon
 
Join Date: Dec 2005
Location: California
Posts: 1,481
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,
Reply With Quote
  #2  
Old 05-01-2017, 01:14 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 1,997
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
Reply With Quote
  #3  
Old 05-01-2017, 03:07 AM
mike1961 mike1961 is offline
Sage Icon
 
Join Date: Dec 2005
Location: California
Posts: 1,481
Beautiful! Thanks so much - I really missed this plug in for a long time. It's great to have it working again.
Reply With Quote
  #4  
Old 11-14-2017, 03:16 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,006
Not sure where this should be posted because of all the differing versions and such so I'll just tag on to this thread.

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.
Reply With Quote
  #5  
Old 11-14-2017, 11:28 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 1,997
Quote:
Originally Posted by phelme View Post
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
Reply With Quote
  #6  
Old 11-15-2017, 02:17 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,006
Quote:
Originally Posted by JREkiwi View Post
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!
Reply With Quote
  #7  
Old 12-04-2017, 04:16 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,006
JREkiwi: assume you haven't had any time to look at this?
__________________
Server: AMD 9600 Phenom on XP, Gigabyte GA-MA78GPM, 2GB RAM, 320+250+500 GB SATA drives, HDHomeRun Prime, HD-PVR x.5.1, Paterson serial
Client/Encoder:AMD 3800+ X2, 512 MB RAM, ATI X1650 XT, nMediaPC case, Hauppauge HD-PVR, Cyberlink/ArcSoft decoders, USB-UIRT
Client/Encoder: AMD 3800+ X2, 512 MB RAM, 6150 graphics, nMediaPC case, ArcSoft decoders
Client: HD300, Asus Pundit P1-AH1, AMD 3800+ X2 CPU, 1 GB RAM, 6150 graphics, ArcSoft decoders
Backup: Buffalo LinkStation
SageTV version: FINAL
Reply With Quote
  #8  
Old 12-05-2017, 12:04 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 1,997
Quote:
Originally Posted by phelme View Post
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
Reply With Quote
  #9  
Old 12-20-2017, 03:25 AM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 1,997
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
Reply With Quote
  #10  
Old 12-21-2017, 10:37 PM
Shield Shield is offline
Sage Aficionado
 
Join Date: Jun 2007
Posts: 396
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...
__________________
HD300/HD200 clients
Reply With Quote
  #11  
Old 12-22-2017, 11:59 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 1,677
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?
__________________
Server: Athlon II X4 630 CPU, Gigabyte MA770T-UD3P (AM3) Motherboard, VisionTek Radeon HD4670 PCIe w/ Component output to 50" CRT Rear-Projection HDTV (Mitsubishi), Win7-64Bit (Home Premium), 4GB RAM
Capture Devices (8 tuners): Colossus (x1), HD-PVR (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250
Reply With Quote
  #12  
Old 01-08-2018, 02:22 PM
phelme's Avatar
phelme phelme is offline
Sage Icon
 
Join Date: Dec 2006
Posts: 1,006
Quote:
Originally Posted by Tiki View Post
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)?
Reply With Quote
  #13  
Old 01-08-2018, 05:59 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 1,677
Quote:
Originally Posted by phelme View Post
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.
__________________
Server: Athlon II X4 630 CPU, Gigabyte MA770T-UD3P (AM3) Motherboard, VisionTek Radeon HD4670 PCIe w/ Component output to 50" CRT Rear-Projection HDTV (Mitsubishi), Win7-64Bit (Home Premium), 4GB RAM
Capture Devices (8 tuners): Colossus (x1), HD-PVR (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250
Reply With Quote
  #14  
Old 01-08-2018, 11:29 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 1,997
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
Reply With Quote
  #15  
Old 01-19-2018, 04:10 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 819
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
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #16  
Old 01-19-2018, 09:12 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 819
Found BMT - seems to be able to get it from themoviedb but no longer imdb
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #17  
Old 04-18-2018, 11:14 PM
spencerw spencerw is offline
Sage User
 
Join Date: Jun 2009
Location: New Jersey
Posts: 15
Quote:
Originally Posted by JREkiwi View Post
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
Reply With Quote
  #18  
Old 04-18-2018, 11:32 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 1,997
Quote:
Originally Posted by spencerw View Post
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
Reply With Quote
  #19  
Old 04-19-2018, 09:17 PM
spencerw spencerw is offline
Sage User
 
Join Date: Jun 2009
Location: New Jersey
Posts: 15
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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plugin: IMDB Search JREkiwi SageTV v7 Customizations 117 01-22-2013 09:06 PM
Plugin request for SageTV Windows Client: Autofrequency plugin mkanet SageTV v7 Customizations 3 11-12-2011 09:33 AM
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin deria SageTV Customizations 447 12-11-2010 07:38 PM
IMDB Plugin for Extender tonysathre SageTV Customizations 6 08-20-2008 09:15 PM
Looking for IMDB plugin rdefino SageTV Customizations 5 12-29-2006 04:50 PM


All times are GMT -6. The time now is 02:20 PM.


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