|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
|||
|
|||
I posted my HuLu/Netflix rss feed generator here: http://forums.sagetv.com/forums/showthread.php?t=44382
It is not for Jetty (unless it supports PHP), but maybe you guys can make something useful of it for your application. |
#42
|
||||
|
||||
Quote:
But check out my updated script, UPnP2Podcast.exe. It pulls out extra metadata and automatically outputs in RSS format. The usage is a little different though, Usage: All available episodes of "The Daily Show"Take note that you need to specify PlayOn at the beginning and I added an optional extra item at the end for filtering the results. Last edited by evilpenguin; 09-24-2009 at 11:55 AM. |
#43
|
||||
|
||||
Looks great so far. Thanks for putting all this work into this. I copied your program UPnP2Podcast.exe into the cgi-bin directory of an appache http server I have running in my house. It seems to be able to run it just fine. Without any parameters, I get the usage information in my web browser. However, when I add the parameters to get the listings of a show (after I managed to get the syntax right for that) I get an internal error message from my server. In the log file it says the following:
[Thu Sep 24 14:53:47 2009] [error] [client 130.108.29.98] malformed header from script. Bad header=<!--: /var/www/cgi-bin/UpnP2Podcast.cgi So it does not seem very happy with it starting with the comments in the very beginning where you put the debugging info. Would it be possible to either leave that out or start with the header first followed by the debug output comment and than the remainder? Thanks, Thomas |
#44
|
||||
|
||||
Done. Try downloading the .exe again, I just moved the comments under the header.
|
#45
|
||||
|
||||
Quote:
[Thu Sep 24 15:55:46 2009] [error] [client 130.108.29.98] Premature end of script headers: /var/www/cgi-bin/UpnP2Podcast.cgi I did write a quick awk script (the server runs under cygwin in Windows) to simply remove the comment from the output of your program and that seems to work fine. I can see the rss file in my browser now. I am currently in the office so I cannot test it within Sage. But I will once I get home. Thanks, Thomas |
#46
|
|||
|
|||
EP, in case you didn't see the other post. I thought is was the leading and trailing zeros for the time in the itunes.duration is the problem, but it turns out just to be the millisecond (.0) that is screwing up the duration.
|
#47
|
||||
|
||||
Just a quick update: I integrated the rss feeds into Sage and that seems to work just fine. I can see the episodes and the descriptions. However, it does not play the video. Instead I get the error message "The requested video was not found on the server" When I try to download that same link with my web browser I do get an error 404; so Sage is right that the file is not there. I just do not know why it is not.
Thomas |
#48
|
|||
|
|||
So once I've run the little UPnP2Podcast.exe program and get what looks to be good output - what do you do with it? How do you get it into SageTV's online video?
|
#49
|
||||
|
||||
Quote:
Thomas |
#50
|
|||
|
|||
I have added the custom online feeds to my Sage menus...and have the UPnP2 working.
However, am not sure how to "call" the UPnP2 from my custom sage property file via HTTP....I think I need to convert the EXE to CGI...maybe..and/or url syntax issues? Any pointers or quick tips? Hoping I am close. Here is what I have in CustomOnlineVideo.properties: xFeedPodcastCustom/NetflixQueue=xPodcastNetflix;http://localhost:8085/sage/UPnP2Podcast.exe "PlayOn:Netflix:Instant:Top 50:+2" |
#51
|
||||
|
||||
Use this for now. Follow the instructions and install the xampplite website. It's easy and the instructions are written for it.
Gerry
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#52
|
|||
|
|||
Quote:
__________________
--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 |
#53
|
||||
|
||||
Quote:
Thomas |
#54
|
||||
|
||||
Quote:
Thomas |
#55
|
||||
|
||||
Quote:
|
#56
|
||||
|
||||
Wait, are you guys seeing localhost in your feeds instead of the actual IP?
Last edited by evilpenguin; 09-24-2009 at 08:26 PM. |
#57
|
||||
|
||||
I updated to the latest version of playon (did not realize I was a few releases behind). I was able to get to an mpeg file briefly once. But since then I get the same errors about the file not being found on the server
|
#58
|
||||
|
||||
No, it has the local address in it (in my case 192.168.99.6). I do get a response from the playon web server, so it seems to be able to connect.
|
#59
|
||||
|
||||
It seems to work now I updated to the newest UPnP2Podcast.exe. I also had some error message on my playon server about a flash script hanging. Maybe that's what was keeping it from giving me the videos. I am watching my first hulu video in Sage
Thanks again for all your hard work! Thomas |
#60
|
|||
|
|||
I think I almost got it now. I was one version behind on the PlayOn software. I installed it less than 2 weeks ago and there was an update that I hadn't installed. I shutdown the PlayOn software/MediaMallServer service and installed the updated PlayOn software. The only other thing I did was disable the Revision3 plugin in PlayOn. Just to be sure PlayOn was running the correct configuration, I shutdown all of the PlayOn software/services, restarted PlayOn and the MediaMallServer service, and then regenerated the xml feeds. After doing this, I can now play my NetFlix Instant Queue...with some audio/video sync issues (on my MediaMVP client), but that's for another topic.
The only other problem I have now is the Hulu user queue from PlayOn doesn't seem to work after updating PlayOn to the latest version. After upgrading PlayOn, this is what I get from upnp2podcast.exe: Code:
C:\Playonsage>upnp2podcast "PlayOn:Hulu:User Queue:+2" <!-- Debug Log: Device: () Device: WNDR3300 (Gateway)(urn:schemas-upnp-org:device:InternetGatewayDevice:1) Device: () Device: PlayOn (dvr-server)(urn:schemas-upnp-org:device:MediaServer:1) * Found PlayOn Device: WNDR3300(urn:schemas-wifialliance-org:device:WFADevice:1) Device: Linksys WRT54GS(urn:schemas-upnp-org:device:InternetGatewayDevice:1) + Looking For: Hulu - Found: Hulu (Hulu)(hulu) + Looking For: User Queue - Found: User Queue (User Queue)(hulu-0a238a00-cc4f-4b93-a832-46760fc9bd5b) + We're Free! (2)() + hulu-0a238a00-cc4f-4b93-a832-46760fc9bd5b = User Queue + hulu-f3be0489-fd87-4f93-9e3e-b77c4e59acb0 = Sort By Date + hulu-98d4f85f-ee11-4592-a827-a54d4d4bc62f = Sort By Name + hulu-8ee23e43-cbb4-4a07-b5e9-d93b669193d5 = Sort By Play Orde r --> <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>User Queue</title> <description>User Queue</description> <language>en-us</language> <itunes:summary>User Queue</itunes:summary> <itunes:subtitle>User Queue</itunes:subtitle> </channel> </rss>
__________________
--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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |