Yahoo Screens/Burning Love

Can you post what you have so far? Like in Git so we can test for you?


Put me down as a tester!

For the URLs that don’t work with the URL service, the first issue is likely that they don’t match the URLPattern regular expression defined in the ServiceInfo.plist. I’d need to see an example to be sure. The difference in the URL from the others that work (combined with the fact that they don’t use the same JSON back-end) suggests the possibility that the mechanics of the existing URL service may not work for them even if we modify the URLPattern to include those URLs as possible matches. Again, I’d need an example to be sure.

In terms of using the URL from the log and getting a video rather than XML with a key providing the URL to a video, it’s hard to say without an example but it’s possible that whichever service it is matching just redirects to the video.

Good to know.  I figure it will take some more work and digging to get those channels to work, since there are URL service issues on top of the other problems with access. 

I have just created a version of the channel that returns a error message for the channels that are not working and took out all the code for the those problem channels.  Which is probably what I should have done from the start.  The shows that do not work are Cybergeddon, Electric City, and Animal All Stars. I have created issues on the problems I am aware of and need to work on. Because of the limitations of the JSON url used, you have to set a limit to the number of videos returned for each show and I have set that limit to 31 for now, since that seems to get all the shows for most and does not create too long of a list.

Here is the working channel: https://github.com/shopgirl284/YahooScreen.bundle

I am a little burned out after looking at those problem channels for the last three days, but after I take a little break, I will look back at the URL service code and see if I can find any easy solutions. Honestly, the way they have designed the Cybergeddon and Electric City show pages makes it almost impossible to pull or at least to pull the complete show anyway. I could find no alternative JSON data for them.  Cybergeddon only allows you to access one video at a time and Electric City changes to code based on which video is currently playing. So even if those show's videos were working, they would not be pretty or complete in the channel.

Animal All Stars works correct with the URL Service, but I can confirm that Cybergeddon and Electric City do not. The problem with Cybergeddon is probably that it's just 1 video without a specifc URL (a URL with a unique id in it). Electric City is hosted under a different subdomain.

Yes.  I was able to get Animal Allstars to work with the URL Service, so I know it an issue with how the URLs are being submitted to the service. Because I am pulling that one from url list, it is a completely different format than the other urls.  I just looked at it in the log.  I am going to have to pull the anchor from the description field, which contains a lot of other stuff and extract the url out.

With JSON, can't I pull the JSON data and then get the HTML elements from that data? I think I saw another program do that.

Cybergeddon and Electric City are just a mess just even to pull the data for a channel.
 

That was it.  I played around with the Element from String and was able to get a URL that works with the service.  Also was able to add summaries to all the videos.

I have uploaded the new version to github at https://github.com/shopgirl284/YahooScreen.bundle

Since the only other problems are not really fixable (the other two channels) , it is up to date and working for now.

BTW, the Yahoo! Sports Fantasy Minute does not return any videos, but if you look at that shows page, you will realize that it has no videos, just links to videos from other shows. It has a json data file, it just has no items to display.

On all of these I get "Server Responded with error" when I try to click into them to see any content...

A couple questions.

At what point are you getting these errors? When you click on the section, a show, a video with a show, or when you choose to play a video?

Also, what is your setup? What is your PMS version, on what operating system, what client are you using?

I get it when I enter Burning Love and try to click current or previous. It comes up with errors in roku and windows 8 pmc and web. I just extracted your git right to PMS addons.


I’m on PMS 0.9.7.23.

What PMS are you using for it to work? Should I downgrade?

I am using PMS 9.7.22 didn't know there had been an update.  As my signature shows I am running on Win7.  I tried it on PMC, Plex Web, and Roku and worked fine.

I have a problem with my Github account.  Let me try to delete and reload this channel, maybe it is causing you some errors.

OK I'll try your new download first... But I was on Plex pass and I have a newer PMS, 9.7.23.

Ok.  It has been updated.  I do not have Plex Pass so I am not sure if there would be any issues with that newest version.

Try downloading the channel again now. I just downloaded it to test it and it is working for me.

Not sure if it makes a difference but I always delete "-master" off the end of the extension of the bundle folder, before I  paste it in the Plugins folder.

I will be watching here let me know what happens.

I cant get this to work... I even uninstalled PMS and downgraded and still unavailable....

Crimsonfury, I want to get it working for you, and I thank you for helping me test this channel, so here are a few questions and things to try:

Are you having trouble accessing videos for any of the shows? For example, if you open Yahoo Comedy Originals, does it show you a list of shows, but not allow you to enter any of the shows? In particular, try to access the Animal All Stars show listed under the Lifestyle section. Since it uses a little different code than the other shows, if you can access that show and not the others, it would isolate the issue for me.  Also, what kind of error are you getting on the screen? Is it telling you the folder is empty and giving a statement of "Unable to display videos for this show right now" or is it saying there is an error?

If it is giving you an error message, it sounds like it is a problem with the accessing the URL Service, since it has to find the service to populate the videos for a show.  Go into your Plugins folder and check the Services.bundle and make sure you have YahooScreens (com.plexapp.plugins.yahooscreen) listed in your Service Sets.

Also, you can attach a log here if you want and I can give it a look.

In case you do not know where the logs are located, they are located on the computer hosting Plex Media Server in the same area as the plugins.  The easiest way is to just open the Plex plugins folder and go one folder back to Plex Media Server folder.  Then enter the Logs folder and then the PMS plugins logs, there you should see a listing for com.plexapp.plugins.yahooscreen.log.  Copy that to a text file and attach it here to a post.

I tried Animal All Stars and I see the same thing;

  " :( The media server responded with an error."

Yes I have (com.plexapp.plugins.yahooscreen) in there with all the com.plexapp.plugins....

Yep it is having problems with accessing the URL service. 

Can you use the Plexit button to save a video from Yahoo Screens to your Plex Queue?

Yes that works just fine... But not the channel...

If I might interject, it might be worth trying to force PMS to re-download the latest Services.bundle. Shut down PMS, delete the Setvices.bundle from the plug-ins folder, restart PMS. then try testing again. Hopefully that will help.