|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
PlayON UPnP to Podcast Feed - Need help
(Continuing off this thread)
So here's what i've got so far... Code:
UPnP2Podcast.exe "UPnP Server:Nav:Nav:Nav:+Depth:(Filter)"
And all it does is grab the results and generate a Podcast feed out of all the videos it finds. I wrote it in Perl and then compiled it into an .exe for windows. I could also easily compile it into an Linux executable. Examples: All available episodes of "The Daily Show" But right now my problem is I'm not sure/able to get this working with Sage. My first thought is to use CGI on Jetty/Neilms webserver, which if I understand correctly, will launch the .exe when navigated via a browser and then return the output. The benefit of this is that it would work straight out of the box inside Sage's Online Services menu. Another would be that you could dynamically generate a search URL using your existing recordings (i.e. - When populating a recording list for a specific show you could also mix in the podcast feed of shows available online using Sage's built in mediaRSS library). But I'm not a web developer so I can't figure out how to get this working or even if its feasible. My other, less desirable, idea would be to periodically (once an hour or so) update a text file with the paths/metadata for the UPnP files. Then write a little java library that would read the file and return the results as a list for easy display/playback. This has the benefit of not requiring the webserver, but it also has the negative of requiring lots of additional work :) Edit: Or, possibly, Online Services could be made to accept commands as well as URL's. Last edited by evilpenguin; 09-23-2009 at 08:08 PM. |
#2
|
||||
|
||||
Quote:
http://forums.sagetv.com/forums/atta...1&d=1253761102 And all of the ExecuteProcess and temp file stuff seems to be working good, the problem now is that the XML parser can't seem to find any items in my file. As far as I can tell its formated correctly, I based it off of diggnation's feed that works properly. I attached the resulting file, am I just missing something simple or is reading XML from file not working properly? |
#3
|
||||
|
||||
It doesn't look like...
Code:
sage_media_rss_RSSParser_parseXmlFile(string, bool) Code:
Thu 9/24 0:02:33.994 [ReProcessHook@13c007e] java.net.MalformedURLException: unknown protocol: c Thu 9/24 0:02:34.014 [ReProcessHook@13c007e] Filename = (C:\Program Files\SageTV\SageTV\STVs\SageTV3\OnlineVideos\tempFeed.xml) Last edited by evilpenguin; 09-24-2009 at 01:16 AM. |
#4
|
||||
|
||||
For those following along at home, I got a response from Sage on my issue...
Code:
On Fri, Sep 25, 2009 at 10:32 AM, SageTV BetaTest <betatest@sagetv.com> wrote: Yeah, you're right about parseXmlFile....it's overridden in the core to make it more optimized and doesn't use reflection. But you should just be able to construct a file:// URL and then use that without any problem. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help testing something for PlayOn | evilpenguin | SageTV Customizations | 84 | 09-27-2009 05:25 PM |
Playon slowww | SageGk | SageTV HD Theater - Media Player | 11 | 07-17-2009 06:27 AM |
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 |
uPnP | djmaxwell | SageTV Software | 1 | 03-17-2006 09:15 PM |