|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Rainmeter "SageTV" Skin
I said I might and so I did I spent part of last weekend and most of this weekend so far diving back into Rainmeter (I had toyed with it once before about two years ago).
I have a proof of concept of sorts working within the JSMeterV theme by parsing the RSS feed of the Recording Schedule (via the web plugin) using regexp (ugh). I can continue on this route but it will most likely limit the ability of others from having more than five recordings displayed (easily unless you speak fluent regexp ) (Why five? Because that's how many recordings I like to view in advance ) So. I'm wondering if there's anyone out there familiar with Lua and if so if there's any interest in scripting a more robust parser. I'm totally willing to do the "front end" but having a more robust parser means that not only will it be easier for other folks to modify the "skin" but will also mean that there could be some nicer "display" options (movies vs. tv shows would be dealt with more nicely for example, as could the date/time/channel info). There's a pretty good RSS parser in the JSMeterV theme that I could send along that will probably make the task a lot less daunting as well (I think). In the meantime, what I have working so far:
Left to implement:
Considering:
And if you're interested in this skin (current version), let me know and I can send it along later today or tomorrow. Will have something fairly solid (with or without a Lua parser) by the end of the weekend I imagine.
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT) via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2 Last edited by darcilicious; 09-17-2012 at 12:42 PM. |
#2
|
|||
|
|||
Congratulations. It looks great.
I don't know anything about rainmaker programming so I took a slightly different approach and have been working on a small desktop application, sort of like a pseudo-gadget, without the need for the windows gadget library so that it'll run under windows 8, but the appearance of your program is certainly better than what I've been able to come up with so far. |
#3
|
||||
|
||||
Thanks!
Rainmeter actually makes the appearance part pretty nice and easy since a "skin" (which is the gadget) runs under a "theme" and that's where most of the heavy lifting is done. A theme can define the font style, colors, background images, etc. A skin can override those or use them. In this case, I didn't have to lift a finger to make the skin fit in with the theme which came with that nice transparent sidebar, etc. The "hard" part of a skin is using the x-y coordinate system to get the placement of every little thing right and using whatever core functions are available for getting a hold of the data. And in my case, learning enough regexp to shoot myself in the foot As far as Rainmeter programming -- it's a pretty primitive scripting "language" where everything is either a Measure (e.g. the data) or a Meter (e.g. the display). I'm not finding it quite as awkward as I did a few years ago... but you could spend waaaaay too many hours customizing your desktop with this thing (I actually spent most of my time before today trying to get a "now playing" skin for Spotify working to my satisfaction; it's not quite there yet but I'm waiting to hear back from the guy who scripted a "marquee" solution for scrolling text...) The only other gadget I'm looking to replace is the WHS "shortcut" gadget; the shortcuts will be a snap but I really like the animations that the original has and I'm not even sure if that can be replicated in Rainmeter or not.
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT) via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2 |
#4
|
|||
|
|||
Looks great!
I'd love to tinker with the lua... I've never really done any programming with it, although I've read a bit about it. The only way I'll really learn it though would be to get my hands dirty. No promises, however, as I haven't got a lot of free time these days. |
#5
|
||||
|
||||
Sounds good There's no rush; pretty committed to regexp for this initial iteration but yeah, some additional flexibility that would come from using lua (I think) would be nice.
I'll send along what I have, with a write-up to go with it and some pointers to Rainmeter's lua stuff later today or tomorrow latest...
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT) via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2 |
#6
|
|||
|
|||
Sounds perfect.
|
#7
|
|||
|
|||
I downloaded the "Evereader" lua-based RSS reader skin and installed it. Tweaked the url addresses and pretty quickly got the thing pulling in upcoming recordings, recent recordings, upcoming movies, scheduling conflicts, and intelligent suggestions. There's a lot you can do with it, pretty easily.
I haven't touched the meters at all because I figure you've already done a lot of that work. If you send me what you've got I can start integrating it and maybe adding some features. I also read the lua code and sample skin pretty thoroughly while I was at work today. While I was doing that, I kept thinking of other skins that might be nice to have and fun to do: Remote control for an extender An EPG skin that lets you see what's on and schedule recordings A skin for resolving recording conflicts A 'dashboard' skin that lets you see the status of your server (memory use, heap use, warnings, etc) as well as some buttons to restart the server, launch BMT, etc. A media player skin that would let you browse your media library and play the media... maybe even with playlists and such. I'm still very much a noob and some of these might be impossible, but I think most of the major pieces are there. |
#8
|
||||
|
||||
Rockin! I sent you a PM earlier today -- PM me your email and I've got the draft email ready to go!
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT) via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2 |
#9
|
|||
|
|||
Ok, I think we're ready for a release of some sort... I haven't got all the installation instructions finished but I thought I'd post a few screenshots and see if anyone is interested in trying it out.
Features - It's a rainmeter skin, so the look is very customizable. The skin itself simplifies this by bringing out many commonly tweaked variables into a central include file. The skin has been designed and tested with the JSMeterV suite of skins, but can be used with any theme you choose. - The skin monitors your SageTV webserver, and indicates the alert status, recording status, and unresolved conflicts. Clicking the icon takes you to the appropriate webpage on the server to handle the situation. - Displays the amount of used and available video recording disk space. - Shows 3 configurable lists of airings. The most common one is of course the 'upcoming recordings.' Items being currently recorded are highlighted in red. There are 2 other lists that you can access through the arrows. All 3 lists can be configured to show whatever SageTV RSS feed you want, such as 'upcoming movies' or 'intelligent suggestions.' - Mouseover an airing brings up the detailed information on the recording. - Click on the airing to bring up the Detail Information page on the SageTV webserver, where you can set/cancel recordings, set watched flag, etc. - Click on the SageTV title to launch the home page for your webserver. (or anywhere you want really...) - The skin can be configured to display recording/alert/conflicts information in the system tray. Last edited by Dargason; 09-27-2012 at 07:40 PM. |
#10
|
|||
|
|||
Anyone still using this? Got any feedback for me?
|
#11
|
||||
|
||||
I am Daily, love it as I have switched out everything to Rainmeter (for a few months now). Don't have any suggestions at this point... Thanks again for running with it!
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT) via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2 |
#12
|
||||
|
||||
how to do this. me want
|
#13
|
|||
|
|||
Where do we get a copy of the SageTV skin for Rainmeter?
I have just started playing around with Rainmeter and would like to see what some of the possibilities are.... it seems like a great desktop enhancement.... especially with the Windows Gadgets all but gone Funny I never realized how often I used the analog clock I had in my top right corner of the screen before upgrading to Windows 8 and having it gone until I installed Rainmeter and found a few clocks to try out. k |
#14
|
|||
|
|||
I didn't have a place to host it, so it's in my dropbox:
https://dl.dropbox.com/u/5155376/Sag...tor_1.0.rmskin Make sure you have Rainmeter (at least version 2.4) installed, then double-click the package to install it. Navigate to /skins/SageTV and read the ReadMe.txt file for configuration instructions. Let me know if you have any problems with it. Last edited by Dargason; 12-26-2012 at 06:28 PM. |
#15
|
||||
|
||||
Here's what Mike/Dargason sent me most recently.
I think you should be able to unzip and if you already have Rainmeter installed (pretty much a requirement), you should be able to double-click on the .rmskin file and it will load up in Rainmeter. You can then right-click on the Rainmeter system tray icon, then navigate to Skins>>SageTV>>StageTV.ini The skin will be mostly blank since it doesn't know to talk to your SageTV web server yet. Go to My Documents\Rainmeter\Skins\SageTV and edit the UserConfig.inc file to reflect your webserver settings: Code:
; PERSONALIZATION VARIABLES ; change username:password to fit your webserver name and password Authentication=http://username:password@ ; change the IP address and port to point at your webserver Server=#Authentication#IP_ADDRESS:PORTNO Code:
; Change URL1, UR2, or URL3 to point at whatever airings lists you find interesting ; To get a new one, navigate your brower to the page you like, and right-click on the blue RSS image at the top of the page, ; select 'copy link address' and paste the result here. Then replace the address part with #server#. Then change the title ; to something appropriate. ; No, you can't just create a 4th URL... yet. URL1Title=Upcoming Recordings URL1=#Server#/sage/public/Rss/RecordingSchedule URL2Title=Upcoming Movies URL2=#Server#/sage/public/Rss/Search?TimeRange=48&Categories=film&Categories=movie&Categories=Movie&SearchString= URL3Title=Intelligent Suggestions URL3=#Server#/sage/public/Rss/IRSuggestions ; Change the ItemsToShow variable to select how many airings to show in each list. ; Valid range is 1 through 9. ItemsToShow=5 I think that's it -- post if you have issues and I'll help out as I can!
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT) via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2 |
#16
|
|||
|
|||
Thanks Darci!
|
#17
|
||||
|
||||
No, thank YOU! Great little skin, has enabled me to drop all Windows widgets (well, that, and a little launcher skin I cobbled to gether to replace a 3rd party WHS Windows gadget as well )
(Docks in the second image are from ObjectDock 2 Plus)
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT) via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2 Last edited by darcilicious; 12-26-2012 at 07:18 PM. |
#18
|
|||
|
|||
Excellent.... something more to play with
Thanks k |
#19
|
||||
|
||||
so cool. I wonder what it would take to add don't like buttons next to upcoming recordings so I can manually tell sage not to record crap I don't want
|
#20
|
||||
|
||||
Having trouble getting the skin to connect to my SageTV server. A couple quick questions;
I know the IP address of the server, which SageTV Port# does this skin use? Answer - whatever port you are using for the SageTV Webserver. In the username and password@, does the "@" need to remain? Answer - yes EDIT: Once I finally realized this is using the SageTV Webserver Plugin, things came around. Last edited by KryptoNyte; 12-31-2012 at 02:17 PM. |
Tags |
rainmeter |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Are plugins: "Ortus MQ" & "SageTV H2 Mobile Database" needed? | mkanet | SageTV Customizations | 2 | 12-06-2010 06:56 AM |
"Backdrops" "SageTV" "Covers" folders - what's creating them | mp328 | Sage My Movies | 4 | 09-20-2010 05:31 PM |
Can anyone customize for me a Sagetv import for "movie now" "news now" .. menus | thenewguy1979 | SageMC Custom Interface | 9 | 09-18-2008 02:41 PM |
"Set defaults" for Series forgets "Keep"/"Auto-delete" setting | maxpower | SageMC Custom Interface | 9 | 05-14-2008 09:44 PM |
"-startup" and "ui/startup_type=2" BROKEN in SageTV 6.2.x | mkanet | SageTV Software | 3 | 12-10-2007 01:18 PM |