SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Studio
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-24-2010, 11:04 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
SystemMessageAPI message codes

From the javadocs for PostSystemMessage():

Quote:
You may also use other user-defined message codes which should be greater than 9999. To give those messages a 'type name' which will be visible by the user; you can defined a message variable with the name 'typename' and then that will be displayed.
I'm reserving the following blocks for my plugins:

23000-23999 (inclusive): SJQv4
34000-34999 (inclusive): SageAlert
19000-19999 (inclusive): SREv3

Not sure what the ramifications are if plugins collide - I suspect it depends how these codes are used by each plugin, so I'm grabbing my blocks of message type codes now before they're gone!

Actually, it's not so much about running out, but more about being explicit about which codes I'll be using in my plugin code in case other plugins do rely on these codes for something. If I'm stealing someone's codes and it matters then the time to speak up is now. Otherwise, it might be good for all plugins to "checkin" here to reserve your block of codes, as needed.
__________________
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...
Reply With Quote
  #2  
Old 10-24-2010, 11:53 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
I've been using 10,000 - 10,999, for phoenix.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Capture message Kpratt SageTV Software 4 09-19-2010 08:16 AM
No Signal message MickyFig Hardware Support 4 03-07-2010 01:40 PM
SageMC "OK" message on main menu. Error message? 49studebaker SageMC Custom Interface 7 01-31-2009 09:50 AM
Error Message Help! Lastb0isct SageTV Software 7 12-05-2005 11:37 PM
Loading Preview Message ... rsagetv99 SageTV Beta Test Software 5 08-16-2005 07:50 PM


All times are GMT -6. The time now is 02:26 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.