|
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 |
#101
|
|||
|
|||
Anyone have any advice on using the various Twitter via email services? I have signed up for NutShell mail which is supposed to send your tweets to your email but it looks as if it sends them on a scheduled basis - ie. every few hours or so.
What I want is to receive an email immediately when I have a system message only, not on a schedule. There seem to be a bunch of other services, TweetByMail, TwitterMail, TweetyMail, etc. But many of these are more for sending Tweets via email and I only care about receiving the System Messages from my Sage Server in my email inbox.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#102
|
|||
|
|||
Most of these apps are restricted by a cap on the number of Twitter API calls that it can make per hour. I don't think you're going to find a 3rd party app that will do instantaneous emails because all of these apps have to poll the API periodically to find new tweets and I doubt any 3rd party app has the resources to poll constantly for each user that signs up. The best you'll get is within a minute of a tweet, but, as I say, I doubt any 3rd party app has the kind of resources to poll every minute for every user and so you end up with services that will email your tweets, probably in batch, every few hours.
Your best bet is to write your own app that polls every min or two and sends new tweets as email. The Twitter API is quite easy and I don't think it'd be very hard to do it.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#103
|
|||
|
|||
Thanks Slugger. If you are not a Twitter-a-holic then maybe Twitter is not the best way to be sending out system error messages - maybe it makes sense to do that directly to email.
By the way, if you do want to stay with Twitter for these types of messages and you use WHS then there is a WHS add-in called @WHSTweet that will send out Tweets when your WHS Network Health Status changes.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#104
|
|||
|
|||
Alternatively, I could be convinced to add email support to SageTweet once I get the tweets working properly. Might have to rename the plugin, but email would be fairly easy to add if enough people wanted it?
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#105
|
|||
|
|||
One vote in favour from me. Twitter is neat but email is more likely to get your attention for critical messages such as a tuner failure. More and more people have SmartPhones so most people, at least most geeks (aka Sage power users), will have access to email on their phones. And given the way that SMS is priced in North America, particularly here in Canada, email is cheaper (which makes no sense since email is likely more bytes being sent down the wireless network but that is a different issue).
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#106
|
|||
|
|||
Snapshot 514 now available... here's the subversion commit message.
Code:
Lots of fixes: * Fix low space monitor, it now works (fixed integer overflow bug) * Allow deletion of Twitter IDs and client rows (make first column blank then save to remove row)
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#107
|
|||
|
|||
For the low space monitor - how is GB defined? Am I correct to assume that it is consistent with Sage so if Sage is telling me (via the free space indicator at the top of the screen) that I have 505GB free then if I use up another 6GB and I have the warning kick in at 500GB then I will get the message?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#108
|
|||
|
|||
Quote:
1. I ask SageTV for the amount of free space it has via the Global.GetTotalDiskspaceAvailable() API call 2. I convert the GB setting set on the settings panel to bytes by multiplying it by 1024^3 3. If the number from step 1 is lower than that of step 2 I tweet a low disk space warning.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#109
|
|||
|
|||
By the way - to upgrade is it ok to just unzip the new jetty folder over the existing one with everything still running? I think that is what I did with yesterdays update and everything was fine.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#110
|
|||
|
|||
Absolutely. And the ability to do that is why I love jetty!
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... Last edited by Slugger; 08-31-2009 at 05:09 PM. Reason: I love jetty... |
#111
|
|||
|
|||
Quote:
What would be really neat is to get native Growl support from Sage and bypass Twitter all together.
__________________
Server: Sage 9; 8TB, i5 4690k 16GB DDR3 2XHDHR3, Windows 10 PRO 64BIT Client 1: HD300; Panasonic TC-P65S64; Client 2: HD300; Samsung 46" LCD; Client 3: HD300; 60" LCD; |
#112
|
|||
|
|||
Quote:
But I digress... my conclusion: I use Twitter, Twitter has an API that is well documented so this plugin will use Twitter (and possibly direct email notifications - still undecided). I don't use Growl, but I might have been willing to integrate support for it if the API had some docs - it doesn't so I can promise I won't be spending time tracing API code to figure out how to use it - I get enough of that mind numbing nonsense at work! What I will probably do, is a little redesign/refactoring of SageTweet and set it up such that adding a new notification system is just a matter of someone writing a subclass of the notification system. I can't promise I'll actually do this or do it in any timely fashion, but if I do decide to add email notification support then I will reorganize things so that adding additional notification systems (be it Growl or anything else someone may want) would be a (relatively) simply task of writing a subclass of my messaging class then writing an input panel to handle settings, etc. Then if someone wants to add support for something else they can simply submit a patch with their additions. EDIT: If (emphasize if) I decide to add support for more notification systems other than Twitter, then all this redesign/refactor will definitely come after the current version of things is deemed stable and released as v1.0.0.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... Last edited by Slugger; 08-31-2009 at 07:14 PM. Reason: v1.0.0 will come first... |
#113
|
|||
|
|||
It looks like the Low Disk Space tweet does now work - however it appears to be slightly inconsistent with the Disk Space bar in SageMC. I set the warning to go off at 498GB - when I looked at the free space bar in SageMC it showed 506GB free - about a 1% error. When the error came in there was not an active recording in progress. This could however just be a timing issue as something else could be using or freeing up space on my server as it is running WHS but there shouldn't be any backups running right now.
And it doesn't appear to be the difference between the binary and digital definitions of a GB since 2^30=1,073,741,824 which is a 7% diff.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#114
|
|||
|
|||
Quote:
I ask SageTV for the amount of free space via a Sage API call. I'm assuming, though the Sage API docs aren't clear on this, that the API call accounts for the SageTV setting that says "always keep X GB available on the recording drive". My guess is that the SageMC bar is getting it's free space number from the Java File API call, which would give the actual amount of free space on the drive and would not account for the Sage "keep this many GBs free" setting. Just a guess, and I have no plans to investigate matching up these numbers. The results I'm getting in SageTweet, I feel, are more than acceptable unless you feel I'm missing something obvious here?
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#115
|
|||
|
|||
No issues Slugger - I am totally fine with how it works. I don't plan on cutting it too fine - once I get below about 400GB it is time to buy a new drive, especially since 1.5TB drives have gotten so cheap since 2TB drives have been introduced.
By the way, timg11 has written an app to send emails when you get a system message: http://forums.sagetv.com/forums/down...do=file&id=324
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#116
|
|||
|
|||
Believe it or not, IBM just tried to patent something like this! http://www.bizjournals.com/triangle/...l?ana=from_rss
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#117
|
|||
|
|||
Development of SageTweet has ceased** and is being replaced by SageAlert. The current beta version is 0.0.3.526 and is available for download at the project web site. The post linked to above describes in great detail what's going on with SageAlert so I'll let you migrate over there, but for SageTweet users, here are the key things you need to know:
** I've stopped developing SageTweet, but the source code remains in Google Code for anyone who may want to pick it up if SageAlert isn't getting the job done. Please head on over to the SageAlert thread and post any questions/bugs/etc. there.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#118
|
|||
|
|||
Slugger - I think you mentioned this somewhere but what should I do to delete SageTweet? Just delete the Sagetweet files in the jetty/contexts and jetty/webapps folders? I seem to have both SageTwitter and SageTweet files in both - I assume they should both go?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#119
|
|||
|
|||
Yeah, just delete the context file first then delete the war file in the webapps folder and that's it.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Potential to make many people happy... "My Movies" for SageTV? | vvulture | SageTV Customizations | 116 | 04-27-2009 04:53 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 |
What features are important, or "make" a Movie Library? | stanger89 | SageTV Customizations | 96 | 04-26-2008 12:39 PM |
How can I make remote control mapping for "Detailed Info"? | mkanet | SageTV Software | 8 | 07-17-2005 05:40 AM |