SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV Customizations (http://forums.sagetv.com/forums/forumdisplay.php?f=27)
-   -   Plugin: PlayOn in Online Services (Hulu, Netflix, Amazon VOD, etc.) (http://forums.sagetv.com/forums/showthread.php?t=44446)

sic0048 03-26-2010 07:24 AM

Quote:

Originally Posted by craigdthom (Post 414823)
I am struggling with the PlayOn Plugins .. Did I miss the memo ... it seems everyone else has this piece working ... I have had no luck. I can see the Plugins in the PlayOn control panel, but I don't see them in Sage or ... I don't know how to make them appear in Sage.

Basically it takes a two step process for a person to be able to watch shows in this Sage plugin. First, playon has to be able to receive the feeds. This requires you install the plugins in Playon when applicable. Second, it requires a person to modify the UPnP feeds to add the information for the shows found in the playon plugin. This is required so that Sage can find and display the feeds.

Let's looks at the Comedy Central feed for example. You need the plugin installed on the Playon software, but EP has updated the Sage feeds to show any applicable Comedy Central show. If EP hadn't updated the feeds, or if the Comedy Central plugin wasn't installed then you wouldn't be able to browse or play any of the shows within SageTV.

What this means is that you cannot simply install any/all the Playon plugings and expect to watch the shows in Sage. It requires someone taking the effort to breakdown the feeds and provide the required information to EP so he can distribute it out in his regular UPnP feed updates.

I hope this helps explain it.

craigdthom 03-26-2010 01:31 PM

Quote:

Originally Posted by sic0048 (Post 414851)
... you cannot simply install any/all the Playon plugings and expect to watch the shows in Sage. It requires someone taking the effort to breakdown the feeds and provide the required information to EP so he can distribute it out in his regular UPnP feed updates.

I hope this helps explain it.

Thank You!!! Thank You!!! Thank You!!! ....

I'm Off to take on the effort of learning how to breakdown the feeds

evilpenguin 03-26-2010 02:06 PM

Quote:

Originally Posted by wacole (Post 414841)
The PlayOn folks say "It sounds like your SageTV might be sorting the videos alphabetically even though PlayOn isn't specifying this. Do you see that folders and videos are generally always listed alphabetically?"

Where should I look, please, to find the folders that they are referring to?

Thanks, as always,

Bill Cole

There are only two ways to view your Netflix queue with this plug-in...
  1. (Default) "Queue Top 50" which limits you to the first 50 items in queue order.
  2. (Greg's modification) "Alphabetical" which will show you them all but in alphabetical order.
Unfortunately, at least for now, you've got to pick one limitation and live with it.

Quote:

Originally Posted by craigdthom (Post 414917)
Thank You!!! Thank You!!! Thank You!!! ....

I'm Off to take on the effort of learning how to breakdown the feeds

Let me know what plug-ins you're trying to add and I might be able to help you along (especially if I get bored at work :)).

dblaine2 03-28-2010 02:20 PM

no videos found
 
Hi EP

This plugin originally worked great and I managed to keep it working after the first of the many Hulu changes. But alas, my Playon setup has been busted for some time. I have kept trying to update things as they come out but to no avail. I always get "no videos found" on everything. As of today, I have the latest updated Playon (.74) and latest upnp2podcast with custom feeds. So I thought I'd finally break down and post something to the forum in the hopes of getting it working again.

So I ran the debug steps from the second post without any luck.. I then went to the Hulu User queue.

Here is the log:

Code:

Welcome to UPnP2Podcast v1.6!
  + Path: C:\Program Files\SageTV\SageTV
  + Parameters
    - (PlayOn:Hulu:User Queue:By Name:+2)
  + Search String: PlayOn:Hulu:User Queue:By Name:+2
    - Looking for UPnP Server: PlayOn
      + Device: ()
      + Device: PlayOn (pvr)(urn:schemas-upnp-org:device:MediaServer:1)
        - Found PlayOn
    - Current Dir:
      + Looking For: Hulu
      + Listing Directory:
      *** \Hulu
        - \Netflix
        - \CBS
        - \Comedy Central (Beta)
        - \ESPN
        - \NCAA March Madness
        - \MLB (Beta)
        - \CNN
        - \Amazon VOD (Beta)
        - \YouTube
        - \Pandora (Beta)
        - \PlayOn Info
GetContent from: Hulu (hulu)
    - Current Dir: Hulu\
      + Looking For: User Queue
      + Listing Directory:
      *** \User Queue
        - \TV
        - \Movies
        - \Popular
        - \Recently Added
GetContent from: User Queue (hulu-b0a7209b-c081-4f55-8197-8f7223680912)
    - Current Dir: Hulu\User Queue\
      + Looking For: By Name
      + Listing Directory:
        - \Sort By Date
      *** \Sort By Name
        - \Sort By Play Order
GetContent from: Sort By Name (hulu-88097f40-c196-4a9f-9e66-20a2b950000c)
    - Success!
      + Found Directory: Hulu\User Queue\Sort By Name\
        - Searching (2) folders deep for video content
    - \Sort By Name
 ! ! ! ! !<----------------- Feed ------------------>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Sort By Name</title>
    <description>UPnP2Podcast v1.6 PlayOn:Hulu:User Queue:By Name:+2</description>
    <language>en-us</language>
    <itunes:summary>Sort By Name</itunes:summary>
    <itunes:subtitle>Sort By Name</itunes:subtitle>
  <item>
      <title>No Videos Found</title>
      <description>No videos found for UPnP search string (PlayOn:Hulu:User Queue:By Name:+2).  Since online videos are constantly being added and removed this could mean that there are just no videos available at this time. (This message is from the UPnP2Podcast Plug-in)</description>
      <pubDate>1981-09-15</pubDate>
      <itunes:subtitle>No videos found for UPnP search string (PlayOn:Hulu:User Queue:By Name:+2).  Since online videos are constantly being added and removed this could mean that there are just no videos available at this time. (This message is from the UPnP2Podcast Plug-in)</itunes:subtitle>
      <itunes:duration>00:46:35</itunes:duration>
      <enclosure url="http://127.0.0.1/fake.mpg" length="1668940000" type="video/mpeg2" />
      <media:content duration="2795" medium="video" fileSize="1668940000" url="http://127.0.0.1/fake.mpg" type="video/mpeg2">
      <media:title>No Videos Found</media:title>
        <media:description>No videos found for UPnP search string (PlayOn:Hulu:User Queue:By Name:+2).  Since online videos are constantly being added and removed this could mean that there are just no videos available at this time. (This message is from the UPnP2Podcast Plug-in)</media:description>
        <media:thumbnail url="http://127.0.0.1/fake.jpg"/>
      </media:content>
    </item>
  </channel>
</rss>


craigdthom 03-28-2010 08:42 PM

Quote:

Originally Posted by evilpenguin (Post 414923)
...
Let me know what plug-ins you're trying to add and I might be able to help you along (especially if I get bored at work :)).

...( Only if you are bored :D) There is a scripts plug-in that seems to encompass everything. C-SPAN or even the Ted plugin would be nice.

EP ... Thanks for such a great plugin and all your help making it work for all of us!!

joe123 03-29-2010 12:18 AM

If I hit pause while watching a stream, how long can I pause it without loosing any part of the stream?

GKusnick 03-29-2010 01:01 AM

Quote:

Originally Posted by joe123 (Post 415206)
If I hit pause while watching a stream, how long can I pause it without loosing any part of the stream?

It depends on your PlayOn settings. If you have it set to always buffer the entire file, then you can pause indefinitely (but it will keep buffering even if you hit Stop). If you turn off this setting, it will time out and stop buffering after five minutes of inactivity (pause or stop).

fventura 03-29-2010 08:04 AM

Pandora Radio
 
Does this work?

I am trying to play my stations. I get the list of stations but when I select one I get the screen we used to get with Hulu that says I need to reload flash and make sure I can play Pandora in IE (Which I can).

The plugin is great, everything else works perfectly for me.

I am trying to play the radio via an HD-200. The only thing I believe that may not be the latest version is SageTV. I am running 6.6.2.218.

Any advice on what to check if it is supposed to work?

xxLJLxx 03-29-2010 09:48 AM

Quote:

Originally Posted by fventura (Post 415223)
Does this work?

I am trying to play my stations. I get the list of stations but when I select one I get the screen we used to get with Hulu that says I need to reload flash and make sure I can play Pandora in IE (Which I can).

Any advice on what to check if it is supposed to work?

The Pandora part does work. I have sat down and listened to it multiple times with my HD200 already. I like it quite a bit!

For the flash error, you may look at this post. MKANET seemed to have fixed his problem pretty easy. You might just need to reinstall flash and reboot Sage/Playon or something similar.

gibsonpa 03-29-2010 09:58 AM

Quote:

Originally Posted by xxLJLxx (Post 415236)
The Pandora part does work. I have sat down and listened to it multiple times with my HD200 already. I like it quite a bit!

For the flash error, you may look at this post. MKANET seemed to have fixed his problem pretty easy. You might just need to reinstall flash and reboot Sage/Playon or something similar.

I had this exact problem a few days ago. Could play pandora fine in IE, but not on Sage with same error message.

The fix was to uninstall Flash, then re-install flash for IE....then restart playon. For some reason, the uninstall/reinstall did the trick, even though it seemed to be working fine before that.

YMMV....

fventura 03-29-2010 08:29 PM

Playon and flash
 
That did it. I just upgraded flash to the latest version.

Thanks.

joe123 03-29-2010 09:59 PM

Quote:

Originally Posted by GKusnick (Post 415207)
It depends on your PlayOn settings. If you have it set to always buffer the entire file, then you can pause indefinitely (but it will keep buffering even if you hit Stop). If you turn off this setting, it will time out and stop buffering after five minutes of inactivity (pause or stop).

Cool. What is the setting I need to always buffer the entire file?

GKusnick 03-29-2010 11:48 PM

Quote:

Originally Posted by joe123 (Post 415335)
Cool. What is the setting I need to always buffer the entire file?

I don't have the PlayOn screen in front of me right now but as I recall the wording is very much along the lines of "always buffer the entire file". Shouldn't be too hard to find if you look.

drewg 03-30-2010 08:01 AM

UPnP2podcast vs daily show
 
Hey EP,

I've got my own linux setup (not using the playon plugin), and I'm having a problem with the Daily show this week. Basically, it is not finding new episodes, but UPnP Insepector is.

When I run UPnP2Podcast 'PlayOn:Scripts:Comedy Central:Full Episodes:The Daily Show With Jon Stewart:+4', I see the following output in .log. Note the "! ! ! ! !" after the March 29th episode. That episode does not show up in the output xml, but all the others do. Any idea what's happening?

BTW, a similar thing happens when I use the top-level Comedy Central source. Except NO daily show episodes show up there at all (but they're all there in UPnP inspector.

Thanks,

Drew
Code:

Welcome to  v1.6 (SNIP:BUILT)!
  + Path:
  + Parameters
    - (PlayOn:Scripts:Comedy Central:Full Episodes:The Daily Show With Jon Stewart:+4)
  + Search String: PlayOn:Scripts:Comedy Central:Full Episodes:The Daily Show With Jon Stewart:+4
    - Looking for UPnP Server: PlayOn
      + Device: PlayOn (playon)(urn:schemas-upnp-org:device:MediaServer:1)
        - Found PlayOn
    - Current Dir:
      + Looking For: Scripts
      + Listing Directory:
        - \Hulu
        - \Netflix
        - \CBS
        - \Comedy Central (Beta)
        - \ESPN
        - \NCAA March Madness
        - \MLB (Beta)
        - \CNN
        - \Amazon VOD (Beta)
        - \YouTube
        - \Pandora (Beta)
        - \PlayOn Info
        - \PodCasts
        - \Revision3
      *** \Scripts
        - \Syfy
GetContent from: Scripts (playon.luascripts)
    - Current Dir: Scripts\
      + Looking For: Comedy Central
      + Listing Directory:
      *** \Comedy Central
        - \Script Manager
GetContent from: Comedy Central (playon.luascripts-98654eec-db19-4bdb-8594-714283296ad9)
    - Current Dir: Scripts\Comedy Central\
      + Looking For: Full Episodes
      + Listing Directory:
      *** \Full Episodes
        - \Clips
GetContent from: Full Episodes (playon.luascripts-9e6c8c58-2dcc-40d6-bcc2-6ef27995ac68)
    - Current Dir: Scripts\Comedy Central\Full Episodes\
      + Looking For: The Daily Show With Jon Stewart
      + Listing Directory:
      *** \The Daily Show With Jon Stewart
        - \The Colbert Report
        - \Drawn Together
        - \Mind of Mencia
        - \Premium Blend
        - \Strangers With Candy
GetContent from: The Daily Show With Jon Stewart (playon.luascripts-7c015209-2722-4b73-a8e4-ee7707394583)
    - Success!
      + Found Directory: Scripts\Comedy Central\Full Episodes\The Daily Show With Jon Stewart\
        - Searching (4) folders deep for video content
    - \The Daily Show With Jon Stewart
      - \Week of March 29
        - \March 29, 2010 - Ben Stiller
 ! ! ! ! !      - \Week of March 15
        - \March 18, 2010 - Gary Locke
          - \March 18, 2010 - Gary Locke (http://172.31.193.172:63478/playon.luascripts-279cde66-11e8-40e3-a654-db1bcae90c1f/1-playon.luascripts-279cde66-11e8-40e3-a654-db1bcae90c1f.mpg - 2010-03-30T08:44:18 - video/mpeg)
        - \March 17, 2010 - Snoop Dogg
          - \March 17, 2010 - Snoop Dogg (http://172.31.193.172:63478/playon.luascripts-800b4550-53a0-431d-8825-6be2c8f9ac79/1-playon.luascripts-800b4550-53a0-431d-8825-6be2c8f9ac79.mpg - 2010-03-30T08:44:19 - video/mpeg)
        - \March 16, 2010 - Jude Law
          - \March 16, 2010 - Jude Law (http://172.31.193.172:63478/playon.luascripts-ab61e443-f763-469d-a375-e08200e72672/1-playon.luascripts-ab61e443-f763-469d-a375-e08200e72672.mpg - 2010-03-30T08:44:20 - video/mpeg)
        - \March 15, 2010 - Michael Lewis
          - \March 15, 2010 - Michael Lewis (http://172.31.193.172:63478/playon.luascripts-5ca0f657-0a82-4233-9fa9-24df7e2cb1b7/1-playon.luascripts-5ca0f657-0a82-4233-9fa9-24df7e2cb1b7.mpg - 2010-03-30T08:44:21 - video/mpeg)
      - \Week of Mar 8
        - \March 11, 2010 - Eamon Javers
          - \March 11, 2010 - Eamon Javers (http://172.31.193.172:63478/playon.luascripts-80ee1aa7-3b17-4b1e-afa9-b98ab94aefce/1-playon.luascripts-80ee1aa7-3b17-4b1e-afa9-b98ab94aefce.mpg - 2010-03-30T08:44:22 - video/mpeg)
        - \March 10, 2010 - Jerry Seinfeld
          - \March 10, 2010 - Jerry Seinfeld (http://172.31.193.172:63478/playon.luascripts-cd661bb5-6a27-40e6-9b49-b2381e148112/1-playon.luascripts-cd661bb5-6a27-40e6-9b49-b2381e148112.mpg - 2010-03-30T08:44:23 - video/mpeg)
        - \March 9, 2010 - Marc Thiessen
          - \March 9, 2010 - Marc Thiessen (http://172.31.193.172:63478/playon.luascripts-54811d8e-b607-4dc2-8d5c-04e070913897/1-playon.luascripts-54811d8e-b607-4dc2-8d5c-04e070913897.mpg - 2010-03-30T08:44:24 - video/mpeg)
        - \March 8, 2010 - Harry Markopolos
          - \March 8, 2010 - Harry Markopolos (http://172.31.193.172:63478/playon.luascripts-d0ca6863-c8e3-47e8-9d7f-dfd7bdc1b14a/1-playon.luascripts-d0ca6863-c8e3-47e8-9d7f-dfd7bdc1b14a.mpg - 2010-03-30T08:44:25 - video/mpeg)
      - \Week of Mar 1
        - \March 4, 2010 - Scott Patterson
          - \March 4, 2010 - Scott Patterson (http://172.31.193.172:63478/playon.luascripts-48bab318-6aa7-446d-abe3-33c3cf3b3ab1/1-playon.luascripts-48bab318-6aa7-446d-abe3-33c3cf3b3ab1.mpg - 2010-03-30T08:44:26 - video/mpeg)
        - \March 3, 2010 - Lynne Olson
          - \March 3, 2010 - Lynne Olson (http://172.31.193.172:63478/playon.luascripts-9df292af-c587-49f8-b700-d74b4be318cb/1-playon.luascripts-9df292af-c587-49f8-b700-d74b4be318cb.mpg - 2010-03-30T08:44:26 - video/mpeg)
        - \March 2, 2010 - Robert Pattinson
          - \March 2, 2010 - Robert Pattinson (http://172.31.193.172:63478/playon.luascripts-09820c79-d18a-4fbb-81c6-2cad1a456d9a/1-playon.luascripts-09820c79-d18a-4fbb-81c6-2cad1a456d9a.mpg - 2010-03-30T08:44:27 - video/mpeg)
        - \March 1, 2010 - Neil DeGrasse Tyson
          - \March 1, 2010 - Neil DeGrasse Tyson (http://172.31.193.172:63478/playon.luascripts-f143faf6-67a9-4dde-8b45-00327d8485ce/1-playon.luascripts-f143faf6-67a9-4dde-8b45-00327d8485ce.mpg - 2010-03-30T08:44:28 - video/mpeg)
  + Adding to recent: (PlayOn:Scripts:Comedy Central:Full Episodes:The Daily Show With Jon Stewart:+4)
  + Couldn't find (PlayOn:Scripts:Comedy Central:Full Episodes:The Daily Show With Jon Stewart:+4)
  + Removing expired recent searches
<.....>


dinki 03-30-2010 04:58 PM

Quote:

Originally Posted by evilpenguin (Post 414432)
Yeah, that's what I thought was happening, I have a hard coded timeout of 3 seconds for UPnP responses which is already pretty generous. 2 minute is just insane so there's something weird going on with your computers/network, but I couldn't venture a guess as to what it could be :confused:

But regardless, extending the time out definitely ins't the way to go, it'd take ~2 minutes to load every menu which would be pretty unusable. I'm working on some test code that *might* help where I cache UPnP server information so I don't need to do the broadcasting. Now if your Server takes 2 minutes to respond to direct messages then you've got bigger problem than I can solve, but hopefully it'll help.

EP, I've been doing some testing in trying to nail down the problem.

* I changed my router; same problem as before.

* I contacted PlayOn support to see if it might be PlayOn related. The tech had me download a program similar to UPNP-Inspector. I was able to see the PlayOn server from my HTPC and the PlayOn server. I then installed XBMC and was able to connect to and play PlayOn videos from my HTPC.

* I tried playing a video using this plugin and it did not work (no videos found).

* I am also able to view the PlayOn server and watch videos fine from my Xbox360 and from the HD200 in standalone mode that won't play it in extender mode.

Do you think that there might be something going on with your UPNP2Podcast? I've gotten XBMC to work reliably with the PlayOn server but just can't get your plugin to work consistently (it will work like 5% of the time). Any ideas on what might be causing this? It's really starting to look like a software issue.

By the way, let me thank you again for all the time and effort you've put into developing and supporting this great plugin. Thanks!!

drewg 03-31-2010 07:17 AM

Quote:

Originally Posted by drewg (Post 415361)
Hey EP,
When I run UPnP2Podcast 'PlayOn:Scripts:Comedy Central:Full Episodes:The Daily Show With Jon Stewart:+4', I see the following output in .log. Note the "! ! ! ! !" after the March 29th episode. That episode does not show up in the output xml, but all the others do. Any idea what's happening?

FWIW, it picked up the next (March30) episode, but it never found the March 29th episode. I guess there is something in the March29 episode that is confusing the parser. I still see the !!!! output for that. Eg:

Code:

      + Found Directory: Scripts\Comedy Central\Full Episodes\The Daily Show With Jon Stewart\
        - Searching (4) folders deep for video content
    - \The Daily Show With Jon Stewart
      - \Week of Mar 29
        - \March 30, 2010 - Robin Williams
          - \March 30, 2010 - Robin Williams (http://172.31.193.172:63478/playon.luascripts-bbfccf81-22f2-40ed-a8a5-78a84c9
cd83c/1-playon.luascripts-bbfccf81-22f2-40ed-a8a5-78a84c9cd83c.mpg - 2010-03-31T08:00:37 - video/mpeg)
        - \March 29, 2010 - Ben Stiller
 ! ! ! ! !      - \Week of Mar 15
        - \March 18, 2010 - Gary Locke
          - \March 18, 2010 - Gary Locke (http://172.31.193.172:63478/playon.luascripts-f243fea9-6ea7-4612-909e-d24a9b809e3
5/1-playon.luascripts-f243fea9-6ea7-4612-909e-d24a9b809e35.mpg - 2010-03-31T08:00:39 - video/mpeg)
<....>

Whatever is confusing the parser also makes it impossible to see any of the daily show episodes from the top-level Comedy Central directory.

Any idea what's happening? Does anybody else see this?

Drew

sacrament055 04-01-2010 08:30 AM

I see the new episodes but both the new ones 29th and 30th only play as far as the commercials before the show starts then it just hangs. I tried watching it browsing through the HD200 without the "plugin" to make sure it wasn't related and I saw the same behavior. When I watch using the scripts plugin I can see the entire show so for the moment I have a work around.

tsitalon1 04-01-2010 12:59 PM

Rebuilt sage, are the links on the first post still the most current?

evilpenguin 04-01-2010 01:14 PM

Yep, first post is always the most updated info.

tsitalon1 04-01-2010 01:20 PM

Cool, Thanks!


All times are GMT -6. The time now is 09:40 PM.

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