Yahoo Screens/Burning Love

Yes, thanks Mike for the advice.  Lets hope that works.

I am stumped.  Considering his log says, for example, " No service found for URL 'http://screen.yahoo.com/best-listening-dog-world-201054842.html'," I am not sure there is any way I could alter the channel to make it work for him.

Here is a question for you in Mike.  Yahoo screen likes to put parameters on its URLs.  For example:

http://screen.yahoo.com/ask-real-estate-agent-081000926.html;_ylt=AqaHkBAhWrIy_cHFSJm65PUAAAAA;_ylu=X3oDMTF0bGpyZGN0BHBrZwNjNGJkODFlNi04NGYwLTM5MGQtOTQzZC02MmM3MTg4YmI0OGYEcG9zAzEEc2VjA01lZGlhU2xhdGU-;_ylg=X3oDMTBnZWh2ZDd1BGxhbmcDZW4tVVMEdGVzdAM-;_ylv=3

I can take off the parameters for these URLs and for example change the URL above to:

http://screen.yahoo.com/ask-real-estate-agent-081000926.html

Is it a better practice to keep the parameters a site puts on its URLs or to keep the URL as basic as possible?

To some extent, the choice to keep or remove the “extra” parameters is personal preference. In general though, if you’re hard-coding an URL and just altering the value of some of the arguments, I think it’s better to strip out “garbage” that isn’t necessary for returning a proper response with all the desired data. That makes for cleaner, more legible code. Onthe other hand, if you’re parsing the URLs and using them on the fly, then I wouldn’t bother pruning them unless you otherwise need to manipulate them for your purposes. The idea there being to avoid introducing unnecessary lines of code and execution steps.

Thanks. That makes perfect sense.

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.

Nope this didn't work either.... :(

Does it work for everyone else?

I would also be curios if anyone else has tried it.  I had a friend try it out for me and it worked for him. He uses Win 7 PMS with Roku, but said it also worked for him through Plex/Web.

That way we would know if there is a problem I need to address with the channel or if Crimsonfury has a glitch in his setup. 

I haven’t had a chance to test it in my setup yet. That being said, the error in the logs makes me very suspicious of a glitch in crimsonfury’s setup. Tracking that down and correcting it could take some work…

OK, that is what I was thinking, but I feel better hearing that from you.  There are so many variables to everyone's system setup, it is easy to have a glitch with certain channels. I have a glitch in my system that makes it to where I cannot access webkit channels, that noone else seems to be experiencing and I cannot find the cause.

I sent Crimsonfury a pm with some instructions to try to access the URL service directly from his PMS to see if he gets any error messages.

Update:

I sent Crimsonfury a link that used the URL service test address with an episode of Burning Love and told him to access it from the computer he has running PMS and he gets a blank page.

Works fine for me on OSX, iOS, and Plex/Web(Chrome). The error in Crimsonfury's log is definitely not something that you can fix in your channel code.

@Crimsonfury: Try removing the "Framework.bundle", "Services.bundle", and "System.bundle" from the plug-ins folder (without PMS running), then restart PMS.

Thanks so much for the test. I do not have access to Mac or anyone to test that, so it is good to know it works.

Did you make any changes to the URL service?  It loads the shows and will play them, but for the longer shows it cuts out half of the way through.  For the shorter videos, it plays, but once you have watched any video once, you get an error if you try to play it again.

I know I have made some tweaks to the channel over the last week, but there are no errors in the logs. I keep copies of my old versions.  I just tried the very first version I wrote without sections that I used to do extensive testing and playing of all the videos and it is giving me the same error as my latest version, so the issue has to be something has changed in the service or something changed in their site.

And on Plex/Web, it either gives a 404 not found for videos I have already tried to play through Roku or the first time you play it it is OK but then it goes to the yahoo web page on the second play. Please tell me you didn't change the service to webkit.

Some updates were made to the Service but it was definitely not changed to use webkit and nothing *should* have changed which would produce those errors.  It does sound like there may be something going wrong between the service and the website. Hopefully, Sander or I will have a chance to look into it.

BTW, did you delete your GitHub account?

Some updates were made to the Service but it was definitely not changed to use webkit and nothing *should* have changed which would produce those errors.  It does sound like there may be something going wrong between the service and the website. Hopefully, Sander or I will have a chance to look into it.

BTW, did you delete your GitHub account?

In reference to GitHub, are you talking about back when I was having errors with uploading?  Yes I just deleted that YahooScreens.bundle repository that day and created a new one.  That was more than a week ago. It has been working fine ever since. 

Just checked mail and saw the message from Sanders from Lighthouse. It is there and should be working.  I will repost the link.

Just tried it.  My account is still there and working, but halfway thru clicking through repositories, I hit my name in the upper right hand corner to get back to my Github home page and it gave me the page not found error. I hit refresh and it finally came up.

It seems to be working now. I have have clicked around my page and a few others and it hasn't given me the user not found again. Let me know if it is still having issues.

Weird! Must be some server glitch in their end.

Tell him to let me know if he continues to have issues with my account

We're both still unable to access your repos or even your account page. Might be worth contacting GitHub support to see what's going on.

Sent a message. I was incorrectly marked as a spam account, but he said it should work now.

Seems to be working now  :)

So glad to hear. Just let me know if I need to do anything else.

Back to the issue of the Yahoo Screens URL service.  I tried playing it again today.  At first I thought it was fixed because the videos seemed to be playing again. But I realized that the error only starts when you play one of the longer videos like those available through the show Burning Love. When you play one of those longer videos from the Burning Love show, at about the 4 minute mark, it kicks you out and gives a video unavailable error.  That is when it starts to giving you errors for videos you have played before.

Not sure how to clear the cache (after a day the videos appear to play again until you choose a longer one, so I am guessing there is certain info that is kept in the cache for 24 hours.  I took the caching code out of my channel, but it must cache the video info elsewhere in the system). Unless you can tell me how to clear out the cache, I will try again tomorrow to see if I can do some more testing.

Hope that helps you with the issue.