SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

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 09-21-2009, 07:32 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Exclamation Need help testing something for PlayOn

UPDATE: Thanks, I got everything I needed!

I'm doing a little investigation and I could use some data from other people who are using Playon. I wrote a little test tool for quickly parsing UPnP Media Server file systems and i'm curious if the ID's PlayOn uses are universal.

Could I get a few people to download this program and run the following commands via the command prompt and then post the results?
Code:
> UPnP.exe ""Hulu:TV Episodes:+2"
> UPnP.exe ""Hulu:TV Episodes:W:+2"
> UPnP.exe ""Hulu:TV Episodes:W:Warehouse 13:+2"
And if you have Netflix configured (Make sure you don't have anything embarrassing in your Queue before you post )
Code:
> UPnP.exe "Netflix:Instant Queue:Top:+2"
Thanks,
EP

Example Output:
Code:
G:\mediaScraper>upnp.exe "Netflix:Instant Queue:Top:+2"
Device: PlayOn (secretivo)(urn:schemas-upnp-org:device:MediaServer:1)
 * Found PlayOn
Device: SIDECAR(urn:schemas-upnp-org:device:tvdevice:1)
Device: SIDECAR(urn:schemas-upnp-org:device:tvdevice:1)
Device: ()
Device: SIDECAR: Macrovision Media Server(urn:schemas-upnp-org:device:MediaServer:1)
  + Looking For: Netflix
    - Found: Netflix (Netflix)(netflix)
  + Looking For: Instant Queue
    - Found: Instant Queue (Instant Queue)(netflix-02c5cdef-1919-4a89-a242-03efb5c18e8d)
  + Looking For: Top
    - Found: Queue Top 50 (Top)(netflix-e4ec129f-bf5b-4991-bcbc-b39e2e884782)
We're Free! (2)
         + netflix-e4ec129f-bf5b-4991-bcbc-b39e2e884782 = Queue Top 50
                 + netflix-636da797-c906-4bed-9484-ad0d9954b55e = The Office: Season 2
                 + netflix-4d2f31a9-1109-4fc3-93ee-4835bf99d8d7 = The Office: Season 3
                 + netflix-5728c726-86ed-4bcd-b8a4-5f212d0a2b09 = The Office: Season 4
                 + netflix-18f36f09-f491-4694-b37f-9ebf05644688 = 30 Rock: Season 1
                 + netflix-df8c4632-34ef-4e31-985a-db31bff36ee4 = 30 Rock: Season 2
                 + netflix-02691fcd-6fe6-4232-8390-6b3fab853bfb = Enron: The Smartest Guys in the Room (http://10.0.1.2:63478/netflix-02691fcd-6fe6-4232-8390-6b3fab853bfb/1-netflix-02691fcd-6fe6-4232-8390-6b3fab853bfb.mpg - 2005-01-01T00:00:00 - video/mpeg)
                 + netflix-3b25ed35-77b7-4982-af30-9c366e6b977c = Who Framed Roger Rabbit? (http://10.0.1.2:63478/netflix-3b25ed35-77b7-4982-af30-9c366e6b977c/1-netflix-3b25ed35-77b7-4982-af30-9c366e6b977c.mpg - 1988-01-01T00:00:00 - video/mpeg)
                 + netflix-98b23ed9-8bb1-4c0f-a432-3a2eaddf3d4d = Tootsie (http://10.0.1.2:63478/netflix-98b23ed9-8bb1-4c0f-a432-3a2eaddf3d4d/1-netflix-98b23ed9-8bb1-4c0f-a432-3a2eaddf3d4d.mpg - 1982-01-01T00:00:00 - video/mpeg)
                 + netflix-da622551-8a31-4bc0-b698-a51ff58efcfc = Man on Wire (http://10.0.1.2:63478/netflix-da622551-8a31-4bc0-b698-a51ff58efcfc/1-netflix-da622551-8a31-4bc0-b698-a51ff58efcfc.mpg - 2008-01-01T00:00:00 - video/mpeg)
                 + netflix-b8b95d0d-00f4-48ad-80b4-5e62265399a7 = My Favorite Year (http://10.0.1.2:63478/netflix-b8b95d0d-00f4-48ad-80b4-5e62265399a7/1-netflix-b8b95d0d-00f4-48ad-80b4-5e62265399a7.mpg - 1982-01-01T00:00:00 - video/mpeg)
                 + netflix-33ac96ef-ae6b-4528-af95-bbddcc9ce898 = The Muppets Take Manhattan (http://10.0.1.2:63478/netflix-33ac96ef-ae6b-4528-af95-bbddcc9ce898/1-netflix-33ac96ef-ae6b-4528-af95-bbddcc9ce898.mpg - 1984-01-01T00:00:00 - video/mpeg)
                 + netflix-d2015880-0a66-4841-9cff-a6c8a05efc90 = Sneakers (http://10.0.1.2:63478/netflix-d2015880-0a66-4841-9cff-a6c8a05efc90/1-netflix-d2015880-0a66-4841-9cff-a6c8a05efc90.mpg - 1992-01-01T00:00:00 - video/mpeg)
                 + netflix-4f3a81cd-bb81-47b9-bed5-1f90058decdb = Hancock (http://10.0.1.2:63478/netflix-4f3a81cd-bb81-47b9-bed5-1f90058decdb/1-netflix-4f3a81cd-bb81-47b9-bed5-1f90058decdb.mpg - 2008-01-01T00:00:00 - video/mpeg)
                 + netflix-fc9240fd-6af6-4b18-a939-5a3450e553c7 = Roxanne (http://10.0.1.2:63478/netflix-fc9240fd-6af6-4b18-a939-5a3450e553c7/1-netflix-fc9240fd-6af6-4b18-a939-5a3450e553c7.mpg - 1987-01-01T00:00:00 - video/mpeg)
                 + netflix-441c11c8-c732-4770-a963-b8db0cf0996e = A League of Their Own (http://10.0.1.2:63478/netflix-441c11c8-c732-4770-a963-b8db0cf0996e/1-netflix-441c11c8-c732-4770-a963-b8db0cf0996e.mpg - 1992-01-01T00:00:00 - video/mpeg)
                 + netflix-fcd0ceed-fd43-4223-afe3-1cb270363c7f = Dead Like Me: Life After Death (http://10.0.1.2:63478/netflix-fcd0ceed-fd43-4223-afe3-1cb270363c7f/1-netflix-fcd0ceed-fd43-4223-afe3-1cb270363c7f.mpg - 2009-01-01T00:00:00 - video/mpeg)
                 + netflix-2c59519a-f721-4e87-a087-5eb91c31608c = Chocolate (http://10.0.1.2:63478/netflix-2c59519a-f721-4e87-a087-5eb91c31608c/1-netflix-2c59519a-f721-4e87-a087-5eb91c31608c.mpg - 2008-01-01T00:00:00 - video/mpeg)
                 + netflix-00b6aeb6-b98b-4720-8e84-79aecf9906a9 = Harvard Beats Yale 29-29 (http://10.0.1.2:63478/netflix-00b6aeb6-b98b-4720-8e84-79aecf9906a9/1-netflix-00b6aeb6-b98b-4720-8e84-79aecf9906a9.mpg - 2008-01-01T00:00:00 - video/mpeg)
                 + netflix-25852abf-2c71-465f-9faf-85741a14cc66 = The Iron Giant: Special Edition (http://10.0.1.2:63478/netflix-25852abf-2c71-465f-9faf-85741a14cc66/1-netflix-25852abf-2c71-465f-9faf-85741a14cc66.mpg - 1999-01-01T00:00:00 - video/mpeg)
                 + netflix-b8fe3f01-bb47-4812-96f9-01b072a2512e = 10 Things I Hate About You (http://10.0.1.2:63478/netflix-b8fe3f01-bb47-4812-96f9-01b072a2512e/1-netflix-b8fe3f01-bb47-4812-96f9-01b072a2512e.mpg - 1999-01-01T00:00:00 - video/mpeg)
                 + netflix-b963d87b-3327-48ae-b1fb-45e2536d0da1 = Batman: Mask of the Phantasm (http://10.0.1.2:63478/netflix-b963d87b-3327-48ae-b1fb-45e2536d0da1/1-netflix-b963d87b-3327-48ae-b1fb-45e2536d0da1.mpg - 1993-01-01T00:00:00 - video/mpeg)

Last edited by evilpenguin; 09-21-2009 at 08:29 PM.
Reply With Quote
  #2  
Old 09-21-2009, 08:22 PM
pedz25 pedz25 is offline
Sage User
 
Join Date: Dec 2006
Posts: 29
Here you go.

Seems like you've got something interesting cooking. Let me know what else I can do to help.

Ed
Attached Files
File Type: txt playon.txt (16.1 KB, 622 views)
Reply With Quote
  #3  
Old 09-21-2009, 08:26 PM
robogeek robogeek is offline
Sage Expert
 
Join Date: Apr 2003
Location: Appleton, WI USA
Posts: 568
Here ya go...text file attached to this post.
Attached Files
File Type: txt upnp.txt (10.5 KB, 432 views)
__________________
--Jason

Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250
29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs).
Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5.
Clients: 3xHD300s, 2xHD100, 2xPlaceshifters

Last edited by robogeek; 09-21-2009 at 08:29 PM.
Reply With Quote
  #4  
Old 09-21-2009, 08:28 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Excellent, that's actually all I needed to see: Nope, the ID's aren't universal.

And I'm not quite cooking anything up yet, I'm just exploring some ideas for improving PlayOn performance on the HD200. Right now its uselessly slow, but I'm wondering if we can pre-cache the paths to a file daily for snappy browsing and easy filtering/favoriting.

Last edited by evilpenguin; 09-21-2009 at 08:33 PM.
Reply With Quote
  #5  
Old 09-22-2009, 01:29 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Ok, wtf, there is no way its this easy...



So all we need is a way to convert the UPnP listing my tool generates to a compliant RSS podcast feed and PlayOn will work in extender mode?

Edit: Yep, just tested and it works on just fine on the HD200 via the default STV complete with pause, fast forward, and rewind. And most importantly: not a spinning circle in sight

http://www.youtube.com/watch?v=G7Aj8u95zsU

The duration's a bit screwed up because that's the length of the podcast I overwrote with the PlayOn URL.
Attached Images
File Type: png hulu2.png (182.5 KB, 410 views)
File Type: png hulu2_small.png (117.6 KB, 1651 views)

Last edited by evilpenguin; 09-22-2009 at 02:41 AM.
Reply With Quote
  #6  
Old 09-22-2009, 03:34 AM
MeInMaui's Avatar
MeInMaui MeInMaui is offline
SageTVaholic
 
Join Date: Feb 2005
Location: Maui. HI
Posts: 4,203
EP, I just gotta say....

You are the Penguin!!

__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full."
- Nikolaus (4yrs old)
Reply With Quote
  #7  
Old 09-22-2009, 05:16 AM
wado1971's Avatar
wado1971 wado1971 is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Stamford, CT
Posts: 345
That screenshot looks like a client?? Is it a client?? Please tell me it's a client!!
Reply With Quote
  #8  
Old 09-22-2009, 06:16 AM
PLUCKYHD PLUCKYHD is offline
SageTVaholic
 
Join Date: Dec 2007
Posts: 6,257
Quote:
Originally Posted by evilpenguin View Post
Ok, wtf, there is no way its this easy...



So all we need is a way to convert the UPnP listing my tool generates to a compliant RSS podcast feed and PlayOn will work in extender mode?

Edit: Yep, just tested and it works on just fine on the HD200 via the default STV complete with pause, fast forward, and rewind. And most importantly: not a spinning circle in sight

http://www.youtube.com/watch?v=G7Aj8u95zsU

The duration's a bit screwed up because that's the length of the podcast I overwrote with the PlayOn URL.
holy crap penguin man I look foward to this.
Reply With Quote
  #9  
Old 09-22-2009, 10:18 AM
Brent Brent is offline
SageTVaholic
 
Join Date: May 2006
Location: KC, Missouri
Posts: 3,695
Is there any way that Hulu could block this?

I ask because I'm prepping a blog post and thought that I wouldn't publicize it IF it might cause Hulu to try to block it. Otherwise I'd like to share with the masses.


Oh, and by the way - WAY TO GO EP!!!!!! Love it


EDIT: I looked into this a little and basically Hulu could block it. But if they did they'd be blocking all RSS-type feeds which would cause them other problems. So I went ahead and blogged it.

Last edited by Brent; 09-22-2009 at 11:15 AM.
Reply With Quote
  #10  
Old 09-22-2009, 10:30 AM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
Holy cow EP, you are the Penguin! I can't wait to try it out.
Reply With Quote
  #11  
Old 09-22-2009, 11:30 AM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
I have created a vbscript using the upnp.exe tool to pull out the hulu user queue and parse the information to the screen. It works pretty well and task manager could be used to run the script every x hours. The next step is to write that parsed data to a file (if need be) and turn it into an rss feed xml file.

Stop me here if you think that your method will bring a browser function into Sage instead of using the custom online feeds like I am working on. Obviously that would be more useful.
Reply With Quote
  #12  
Old 09-22-2009, 11:34 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by Brent View Post
Is there any way that Hulu could block this?

I ask because I'm prepping a blog post and thought that I wouldn't publicize it IF it might cause Hulu to try to block it. Otherwise I'd like to share with the masses.


Oh, and by the way - WAY TO GO EP!!!!!! Love it


EDIT: I looked into this a little and basically Hulu could block it. But if they did they'd be blocking all RSS-type feeds which would cause them other problems. So I went ahead and blogged it.
No worries, this is nothing more than PlayOn. So as long as PlayOn works, this will work
Reply With Quote
  #13  
Old 09-22-2009, 11:39 AM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
Quote:
Originally Posted by simonen View Post
I have created a vbscript using the upnp.exe tool to pull out the hulu user queue and parse the information to the screen. It works pretty well and task manager could be used to run the script every x hours. The next step is to write that parsed data to a file (if need be) and turn it into an rss feed xml file.

Stop me here if you think that your method will bring a browser function into Sage instead of using the custom online feeds like I am working on. Obviously that would be more useful.
I'm thinking the quick and dirty way to get this going is to make it a CGI script for the jetty webserver that generates a custom podcast feed. Then you could just add the links just like you would for any other online service.

Code:
http:\\JettyServer\PlayOn\Hulu:TV Episodes:W:Warehouse 13:+2
http:\\JettyServer\PlayOn\Netflix:Instant Queue:Top:+2
Reply With Quote
  #14  
Old 09-22-2009, 11:44 AM
Peter_h Peter_h is offline
Sage Fanatic
 
Join Date: May 2008
Location: Kailua, HI
Posts: 798
EP strikes again. This is great news.
Reply With Quote
  #15  
Old 09-22-2009, 11:48 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Looks cool. Thanks to EP for the investigative work on this. (And thanks to Brent for reminding me of the $10 coupon code).

matt
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #16  
Old 09-22-2009, 11:51 AM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
I like it. Thanks for the update, I will cease my work on it. BTW, I did notice that when I tested the links to the hulu mpeg files that they downloaded at such a high rate that after 10-20 seconds, I was able to do quite a bit of fastforwarding. I imagine that sage is buffering the file instead of leaving it up to playon to handle. I wasn't going to mention it for fear of hulu repercussions, but I am sure it will get mentioned eventually.

Last edited by simonen; 09-22-2009 at 11:55 AM.
Reply With Quote
  #17  
Old 09-22-2009, 12:39 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Aw, man. You couldn't have come out with this before the $20 coupon expired ?
__________________
-Craig
Reply With Quote
  #18  
Old 09-22-2009, 01:14 PM
aflat aflat is offline
Sage Aficionado
 
Join Date: Feb 2009
Posts: 302
simonen was working on something similar, and I pulled the trigger on the last day of the $20 coupon for this very reason. It's really sweet to start seeing it in action though.
Reply With Quote
  #19  
Old 09-22-2009, 01:38 PM
simonen simonen is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Carlsbad, CA
Posts: 384
Ok, my buddy came through last night (just found out) and he wrote it in PHP. Basically it is using a different approach (I was tackling the VBscript approach while he did the PHP one).

It navigates through PlayOn's internal webserver, which I think is used for the Wii on port 54478. It follows the links to the Hulu user queue and parses out the links and reformats them into an rss feed. He is still adding some other information, like the titles, because they just show up as empty boxes in the online feed, but they are playable.

I like the upnp.exe approach because you can pull the list directly from a specific location without having to navigate to a specific web page. I think that it makes it more robust, since I am not sure if the netflix queue is at the same directory level as the hulu queue. I don't have netflix to try.

Either way, it would be completely live in regards to queue additions showing up (or at least however long it takes for playon to update that) with no task scheduling.
Reply With Quote
  #20  
Old 09-22-2009, 01:54 PM
evilpenguin's Avatar
evilpenguin evilpenguin is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Seattle, WA
Posts: 3,696
I think we're trying to do the same thing and you're much further along. What are the valid web address's for PlayOn's built in webserver, I keep getting 403's.
Reply With Quote
Reply


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

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
PlayOn Media Streaming Software for $19.99 JetreL The SageTV Community 7 09-30-2009 03:49 PM
Playon slowww SageGk SageTV HD Theater - Media Player 11 07-17-2009 06:27 AM
Special Playon Deal bigbill The SageTV Community 3 06-29-2009 01:08 PM
PlayOn... Beginners Manual... joelinkup SageTV HD Theater - Media Player 13 04-13-2009 01:55 PM
HD Netflix Content with Playon fyodor SageTV HD Theater - Media Player 0 03-14-2009 08:04 PM


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


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