Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fanart not retrieved for movies when using external epg data #100

Open
GoogleCodeExporter opened this issue Oct 11, 2015 · 11 comments
Open

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. Use external (Schedules Direct) epg in anticipation of SageTV epg data 
potentially ending at the end of the year.
2. Select TV, Program Guide and then scroll through the guide
3. Fanart retrieved and displayed for TV shows but not for movies

What is the expected output? What do you see instead?
I expect to see fanart for movie selection just the same as I see it for TV 
shows. I do not. In fact the last TV background remains on the screen when I 
select a movie listing in the guide

What version of the product are you using? On what operating system?
Gemstone 1.0182 on Win 8 x64

Please provide any additional information below.
For some unexplained reason, SageTV decided to remove leading zeros from show 
ID's when it downloads the programming guide. External plugins to retrieve an 
epg do not remove these leading zeros (in order to maintain the link to the 
show in the original data source). The presence or absence of these leading 
zeros do not affect fanart downloads for TV shows. However, they do affect 
fanart display for movies in the Program Guide, ie, if the show ID is listed as 
MVxxxxxxxxx, then the background fanart is displayed. However, if the show ID 
is MV00xxxxxxxxx, then the background fanart is not displayed.


Original issue reported on code.google.com by [email protected] on 19 Nov 2012 at 11:53

@GoogleCodeExporter
Copy link
Contributor Author

Are you using full screen EPG mode?  For movies in the EPG, does the poster 
display in the Gemstone info that slides out after pausing navigation?  I'm 
just curious if the Poster is showing and the background is not etc...

Original comment by [email protected] on 19 Nov 2012 at 3:08

@GoogleCodeExporter
Copy link
Contributor Author

The issue occurs on both the partial and full screen modes. The Gemstone info 
panel slides out appropriates but, except for a text title of the movie at the 
top, the poster is blank. The attached screen capture shows the old background 
image from a previous TV listing and the empty slideout poster. Note, this only 
occurs for movies. If the selected entry is a TV show, then the background 
image is set and the poster contains appropriate fanart.

Original comment by [email protected] on 19 Nov 2012 at 3:58

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

Can you please turn on debug logging in Gemstone and provide the phoenix.log 
and gemstone.log files from after selecting one of these movies in the guide.  
Hopefully that will help to determien the issue.

This will be a hard on to resolve without my installing the EPG SD replacement 
which I am not sure I want to dig into at this time but let's see what the logs 
point to.

Original comment by [email protected] on 19 Nov 2012 at 4:12

@GoogleCodeExporter
Copy link
Contributor Author

Here are the log files. I selected a TV show (which worked) and then several 
movies (which didn't)

Original comment by [email protected] on 19 Nov 2012 at 6:25

Attachments:

@GoogleCodeExporter
Copy link
Contributor Author

There are 2 issues (at least 2).  The first is that I am not handling the 
Movies from the EPG as movies even with the default epg provider and often get 
just a channel logo with some movies... perhaps that's all that is available 
but I could likely improve the process in that space now that I have looked it 
over more.  Even the times I get a epg provided poster we are displaying it 
stretched so that needs fixing too!

For this alternate provider we are getting a null result in a sage call trying 
to get the internal thumnails and I am not handling the null result.. Now 
handling it may not improve the result as it looks like it should not have been 
null.  Perhaps it is null due to the issue you rasied above around movies... 
but I am basically just calling a sage function for the airing and getting null 
back and in theory it should be returning a zap2it path to an image (at least 
that is what returns in the default EPG provider).

Does that sound right?  Given your comment above I assume you are a coder or at 
least know the guts of sage epg pretty well (what's your Sage Forum name?).

How much complexity would there be to me setting up my dev environment to use 
this alternate provider and then switch back to the sage one so I can ensure I 
can use either???

Ken

Original comment by [email protected] on 19 Nov 2012 at 7:31

@GoogleCodeExporter
Copy link
Contributor Author

My Sage Forum name is JerryB and I have done some coding (see "Win8 non-Metro 
App" and "Win 8 Metro App" discussions in the Sage Forum). I've tried to figure 
out what I could about the Sage epg in order to try and understand this issue 
but I'm certainly not an expert on it.

What I have found out is that SageTV processes movie files in a non-Standard 
way. Specifically, I just went to Zap2It and looked up the Zap2It ID for one of 
tonight's prime time movies (The Adjustment Bureau). The Zap2It ID is 
MV002740550000. I don't know how SageTV ever finds the image on Zap2It since 
SageTV strips out the 2 zeros that immediately follow the MV when creating the 
SageTV ID for this movie. Consequently, the SageTV ID, using the built in epg, 
isn't identical to the Zap2It ID. In contrast, the Schedules Direct plugin, 
correctly leaves those zeros in place so the SageTV ID for the movie that is 
created using this plugin is identical to the Zap2It ID. Unfortunately, in this 
case SageTV doesn't retrieve the image for the movie from Zap2It.

You'd have to check with Slugger regarding access to the Schedule Direct epg 
beta test in order to setup a dev environment. Once you get access, then it 
isn't hard to switch back and forth between the two scheduling services. All I 
did was to make 2 copies of my SageTV directory. One I labeled as SageTV-old 
and the other as SageTV-epg. I shut down the Sage Server and then rename 
whichever one of these directories I want to work with as SageTV and then 
restart the Sage Server. Of course, when you first assess the SageTV-epg 
directory (temporarily renamed as SageTV) you have to install and configure 
Sluggers Schedule Direct epg beta plugin as a replacement for the standard 
SageTV epg service.

Original comment by [email protected] on 19 Nov 2012 at 9:52

@GoogleCodeExporter
Copy link
Contributor Author

Thanks for all the good details... it certainly helps.  I will keep this open 
and work on the fanart gathering for the EPG as after reviewing the code I 
certainly want to take a different approach and fix some items as well.

At the same time I will see what I can do to get EPG fanart thumbnails for 
these movies with an external epg provider... as it looks like the sage call is 
not returning these.

But at least it's on the list and I know where to look... thanks

Original comment by [email protected] on 20 Nov 2012 at 11:46

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Contributor Author

JerryB , 

Can you test and see if this is now fixed as we did fix a number of epg type 
fanart issues in 1.0194

Thanks

Original comment by [email protected] on 27 Dec 2012 at 12:38

@GoogleCodeExporter
Copy link
Contributor Author

Sorry, I just saw your message. Unfortunately, 1.0194 does not fix the problem 
with downloading fanart for movies when using an external epg source (Slugger's 
Schedules Direct Beta plug-in). As before, fanart for TV shows is downloaded. 
It's just movies that are affected.

Original comment by [email protected] on 29 Dec 2012 at 4:18

@GoogleCodeExporter
Copy link
Contributor Author

FYI, I just downloaded the latest Gemstone update and the fanart problem when 
using an external epg source is still present.

Original comment by [email protected] on 9 Jan 2013 at 4:23

@GoogleCodeExporter
Copy link
Contributor Author

The issue, I believe, is that my epg plugin does not make any calls to 
SeriesInfoAPI.AddSeriesInfo() so there are no links to any images for newer 
shows.  Shows that already had links populated by the Sage EPG prior to 
switching to my plugin would remain, which is what I've seen all along.

So, in theory, if I add the calls to AddSeriesInfo() now that the latest 
version of the Schedules Direct service provides fanart images then things 
should just to "automagically" work (i.e. the SeriesInfoAPI calls should start 
returning proper URLs for images).  This assumes I am able to directly link to 
the SD servers for the images, which is still up in the air at this point.

Original comment by [email protected] on 28 Apr 2014 at 3:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant