2008-03-18, 02:41 AM
I put this plugin together for LCDSmartie specifically to read the RSS feeds generated by EWA. Basically it reads the RSS feed and sorts the items by PubDate. This way when selecting items, 1 is the next item to be recorded (for pending at least), 2 is the one after that etc.
I found this a bit easier than calling GBPVRcli to create a bunch of files in various pre/para/post batch files and reading those into LCDSmartie.
At the moment I'll say its in "Beta", mostly because I've only been running it for 2 days now. But I haven't seen any problems yet.
I found this a bit easier than calling GBPVRcli to create a bunch of files in various pre/para/post batch files and reading those into LCDSmartie.
At the moment I'll say its in "Beta", mostly because I've only been running it for 2 days now. But I haven't seen any problems yet.
Quote:DESCRIPTION
===========
An LCDSmartie plugin used to read the RSS feeds generated by the GBPVR Enhanced Web Admin (EWA) to provide information on recordings.
INSTALLATION
============
Copy the LCDSmartieGBPVRRSS.dll in LCDSmartie plugin folder.
You will also need to copy RSS.dll and RSS.NET.dll from the \gbpvr\web\bin folder to your LCDSmartie plugin folder.
Be sure that .NET Framework 2.0 is installed on your system (you need this for GBPVR so it shouldn't be a problem)
USE
===
Use following syntax:
$dll(LCDSmartieGBPVRRSS.dll,[Function Number],[RSS URL],[Item Number])
where
[Function Number] is the function number you wish to call (1-20)
[RSS URL] is the GBPVR RSS feed you wish to use (see http://gbpvr.com/pmwiki/pmwiki.php/Utili...bAdmin#rss for valid values)
[Item Number] is the item number from the feed you wish to display (sorted by pubDate)
for example:
$dll(LCDSmartieGBPVRRSS.dll,1,http://localhost:7647/gbpvr/public/rss.aspx?filter=in-progress,1)
returns the first item in the in-progress feed (see below for what each function actually returns)
$dll(LCDSmartieGBPVRRSS.dll,1,http://localhost:7647/gbpvr/public/rss.aspx?filter=pending,2)
returns the second item in the pending feed (see below for what each function actually returns)
FUNCTIONS
====
$dll(LCDSmartieGBPVRRSS.dll,1,[RSS URI],[Item Number])
RSS Title, RSS PubDate date and RSS PubDate time (for in-progress recordings shows end time)
"The Cosby Show today at 12:00 PM" or if in-progress "The Cosby Show finish at 12:30 PM"
$dll(LCDSmartieGBPVRRSS.dll,2,[RSS URI],[Item Number])
RSS Title
$dll(LCDSmartieGBPVRRSS.dll,3,[RSS URI],[Item Number])
RSS Description
$dll(LCDSmartieGBPVRRSS.dll,4,[RSS URI],[Item Number])
RSS PubDate date
$dll(LCDSmartieGBPVRRSS.dll,5,[RSS URI],[Item Number])
RSS PubDate time (start time)
$dll(LCDSmartieGBPVRRSS.dll,6,[RSS URI],[Item Number])
Show Subtitle (from RSS Description)
$dll(LCDSmartieGBPVRRSS.dll,7,[RSS URI],[Item Number])
Show Recorded Date (from RSS Description)
$dll(LCDSmartieGBPVRRSS.dll,8,[RSS URI],[Item Number])
Show Recorded Time(from RSS Description)
$dll(LCDSmartieGBPVRRSS.dll,9,[RSS URI],[Item Number])
Show Recorded Channel (from RSS Description)
$dll(LCDSmartieGBPVRRSS.dll,10,[RSS URI],[Item Number])
Show Description (from RSS Description)
NOTES:
======
If there is no data for a particular feed or particular item "No Data" will be returned.
This is helpful for turning screens on or off (for instance if there is nothing in-progress, you can skip those screens)
RSS data is cached for 5 minutes.
Using GB-PVR since December 2005