NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 16 17 18 19 20 … 56 Next »
LCDSmartie Plugin For EWA RSS

 
  • 0 Vote(s) - 0 Average
LCDSmartie Plugin For EWA RSS
fering
Offline

Member

Posts: 105
Threads: 17
Joined: Nov 2005
#1
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.

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
stu8080
Offline

Senior Member

Posts: 639
Threads: 52
Joined: Aug 2004
#2
2008-03-18, 08:51 AM
Sounds Excellent!

I have the GBPVRCli setup, however i think it crashes LCDSmartie (there are no logs so i have no idea whats causing the crash!)
This should be a much better solution and more flexible, i appreciate it!
GBPVR: A64 X2 6000+, ASUS M2A-VM HDMI, 4GB ram, 8800GT GFX, 2x Nova-T DVB-T, 1x D-Box2 Cable reciever, 2x Wired MVP's, 1.0.16. Vista.
Plugins: MusicLibrary2, Weather, Int Cinema Listings, Burn DVDX2, D-Box2 Plugin, DVD Ripper.
stu8080
Offline

Senior Member

Posts: 639
Threads: 52
Joined: Aug 2004
#3
2008-03-18, 09:39 AM
Works a treat, time will tell if it cures the crashing.

Just a though: how feasable is it to have custome messages if there is no data?
GBPVR: A64 X2 6000+, ASUS M2A-VM HDMI, 4GB ram, 8800GT GFX, 2x Nova-T DVB-T, 1x D-Box2 Cable reciever, 2x Wired MVP's, 1.0.16. Vista.
Plugins: MusicLibrary2, Weather, Int Cinema Listings, Burn DVDX2, D-Box2 Plugin, DVD Ripper.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2008-03-18, 09:50 AM
why do we need a plugin? i thought smartie could already read rss feeds..
what does your plugin do exactly?
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
stu8080
Offline

Senior Member

Posts: 639
Threads: 52
Joined: Aug 2004
#5
2008-03-18, 10:25 AM (This post was last modified: 2008-03-18, 10:29 AM by stu8080.)
RSS feeds are by default in the wrong order. Plus this gives the dates in a better format - ie today at 12:00, rather than just 18/03/2008 12:00
GBPVR: A64 X2 6000+, ASUS M2A-VM HDMI, 4GB ram, 8800GT GFX, 2x Nova-T DVB-T, 1x D-Box2 Cable reciever, 2x Wired MVP's, 1.0.16. Vista.
Plugins: MusicLibrary2, Weather, Int Cinema Listings, Burn DVDX2, D-Box2 Plugin, DVD Ripper.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#6
2008-03-18, 12:55 PM
one side effect, it does keep the web sever active for when you log in..Smile
[doesn't take so long to startup, it's been running updating the feed]

there are some formatting functions and plugins for smartie already..
but this is nicer/easier and packaged..Wink
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
fering
Offline

Member

Posts: 105
Threads: 17
Joined: Nov 2005
#7
2008-03-18, 01:13 PM
stu8080 Wrote:Works a treat, time will tell if it cures the crashing.

Just a though: how feasable is it to have custome messages if there is no data?

To do that I'd probably have to use a ini file to store the message, which would also allow me to store a few other things like refresh rate, maybe some customs for today/tomorrow as well.

But in the mean time you could probably use the LCDSmartie warnif.dll, basically if the GBPVRRSS plug in returns "No Data", then the warnif plug in can return a custom message for you.

Out of curiosity what do you want to return? I use the actions to turn screens on and off if there it returns "No Data" for a particular feed, so the value itself is irrelevant to me, but I'm always looking to improve my LCD experience...
Using GB-PVR since December 2005
fering
Offline

Member

Posts: 105
Threads: 17
Joined: Nov 2005
#8
2008-03-18, 01:23 PM
pBS Wrote:one side effect, it does keep the web sever active for when you log in..Smile
[doesn't take so long to startup, it's been running updating the feed]

there are some formatting functions and plugins for smartie already..
but this is nicer/easier and packaged..Wink

My favorite side effect, is that I can now use my spare LCD on my office server to display whats happening on my HTPC downstairs. Not the most useful thing in the world, but kinda neat to be able to glance up and see that a show I know I'm missing is being recorded.

As mentioned before the RSS feed in smartie didn't sort properly so it was difficult (or impossible) to find the "next" recording. Also only function1 of this plugin actually does formatting, I put in the remainder of the functions (that return individual pieces of raw data) so using the other formating functions and plugins the message can be customized. (I kept function1 for exactly what I wanted it to return Smile )
Using GB-PVR since December 2005
stu8080
Offline

Senior Member

Posts: 639
Threads: 52
Joined: Aug 2004
#9
2008-03-18, 10:08 PM
I will probably just use the warnif.dll function, i didnt know about that. All i wanted to return was something more explanitory, such as 'no conflicts at this time' or 'nothing recording at this time', just so it didnt look like it was broken!

P.S: LCDSmartie crashed on me today again! It does it randomly, at different screens like BBC Weather, RSS feeds, CPU usage. Whats frustrating is that short of disabling each plugin at a time and waiting a few days for a crash each time, i cant pinpoint the cause.

Do you know where i could find logs, or how i interpret bug reports to establish which plugin (or what, if its not plugin related) is causing this crash?
GBPVR: A64 X2 6000+, ASUS M2A-VM HDMI, 4GB ram, 8800GT GFX, 2x Nova-T DVB-T, 1x D-Box2 Cable reciever, 2x Wired MVP's, 1.0.16. Vista.
Plugins: MusicLibrary2, Weather, Int Cinema Listings, Burn DVDX2, D-Box2 Plugin, DVD Ripper.
fering
Offline

Member

Posts: 105
Threads: 17
Joined: Nov 2005
#10
2008-03-19, 01:41 AM (This post was last modified: 2008-03-19, 01:42 AM by fering.)
I've had the same problem in the past with trying to figure out exactly what LCDSmartie is doing. I haven't been able to find any command line arguments to enable logging or a debug mode or anything like that.

If you want to post up some of the bug report I'll have a look to see if I can see anything (no promises though).

(woohoo! 30 posts! I've finally graduated to "Member", and it only took 2.5 years)
Using GB-PVR since December 2005
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Any interest in a Spotify Plugin for NextPVR? McBainUK 39 14,611 2025-07-09, 08:08 AM
Last Post: Sandybrewer
  New plugin - MovieTrailers imilne 11 6,341 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 3,446 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 7,548 2014-01-09, 11:16 PM
Last Post: mvallevand
  Plex Plugin - first release psycik 141 59,950 2013-06-16, 08:59 PM
Last Post: JonnyCam
  Web Cams plugin for NextPVR McBainUK 37 16,059 2012-10-19, 07:35 AM
Last Post: McBainUK
  PhotoFilter: New Photos/Videos plugin to browse using metadata cncb 1 2,056 2012-08-10, 04:06 PM
Last Post: cncb
  System Plugin - CPU Temperature Monitoring imilne 1 2,066 2012-03-28, 07:59 PM
Last Post: LegioX
  System Plugin - 2nd Test Release (4th Feb) imilne 31 11,144 2012-02-24, 12:22 PM
Last Post: Reddwarf
  System Plugin - New Test Release (29th Jan) imilne 38 11,566 2012-02-07, 08:38 AM
Last Post: imilne

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode