![]() |
|
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. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
GetPluginConfigType() v. plugin.getConfigType()
I've just noticed that where plugin.getConfigType() returns an int (logically an enum), GetPluginConfigType() returns a String. So apparently there's some internal translation going on between the integer values generated by the plugin itself and the string values returned by the PluginAPI.
Is there a story behind this apparent inconsistency? Why not just pass through the integer values unaltered and let the config code in the STV deal with them as integers, like this: Code:
If GetPluginConfigType(Plugin, SettingName) > sage_SageTVPlugin_CONFIG_BOOL > sage_SageTVPlugin_CONFIG_INTEGER > sage_SageTVPlugin_CONFIG_TEXT ... Code:
If GetPluginConfigType(Plugin, SettingName) > "Boolean" > "Integer" > "Text" ...
__________________
-- Greg |
#2
|
|||
|
|||
Are you doing what I think you do?!?
![]()
__________________
Clients: HD200, MediaMVP Capture Cards: Technotrend Budget S-1500 (DVB-S) STVi for XMLTV icons |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: MizookLCD (Alternate SageTV LCDSmartie Plugin) | cslatt | SageTV Customizations | 48 | 06-11-2012 10:44 AM |
MediaPlayer Plugin/STV Import: Winamp Media Player Plugin | deria | SageTV Customizations | 447 | 12-11-2010 07:38 PM |
Plugin Manager: Configure plugin | medwynd | SageTV Beta Test Software | 0 | 05-29-2010 08:43 AM |
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? | Brent | SageTV Customizations | 8 | 02-24-2009 04:16 PM |