HOW-TO write GUI settings for XBMC python plugins and scripts (addons)
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2010-09-02 01:45
Post: #51
The Editcontrol automatically does this. I suspect, however, that you're referring to the virtualkeyboard which does not use an editcontrol.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
teshephe
Senior Member Posts: 107 Joined: Dec 2009 Reputation: 0 |
2010-09-03 01:56
Post: #52
jmarshall Wrote:The Editcontrol automatically does this. I suspect, however, that you're referring to the virtualkeyboard which does not use an editcontrol. Thanks. Enjoy OpenSource! :nod: MY SETUP: XBMC 12 Frodo RC3, Multiple Asus EB1501's throughout the Home for XBMC based STB's |
| find quote |
teshephe
Senior Member Posts: 107 Joined: Dec 2009 Reputation: 0 |
I am having a problem when I moved to the 10.0 BETA.. when I goto plugin/addon settings, not all of the settings are showing up. Again it is only in 10.0 (maybe a bug?)
The only items that show for editing or view on the addon setting dialogue are: streaming_ip vlc_loc video_sout audio_sout pls_path thumbs_path search_engine My code: (settings.xml) Code: settings>Enjoy OpenSource! :nod: MY SETUP: XBMC 12 Frodo RC3, Multiple Asus EB1501's throughout the Home for XBMC based STB's |
| find quote |
amet
I wave my private parts at your aunties! Joined: Jul 2009 Reputation: 18 Location: Novi Sad / Dubai |
2010-09-04 20:47
Post: #54
look here, settings.xml layout has changed a bit
Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting. For troubleshooting and bug reporting use -> Log_file. |
| find quote |
teshephe
Senior Member Posts: 107 Joined: Dec 2009 Reputation: 0 |
2010-09-04 21:48
Post: #55
Amet Wrote:look here, settings.xml layout has changed a bit Thanks. I did not see anything about int type Seems that's the one that are not showing up. Any ideas? ![]() EDIT.... I got it all working now w/ exception of the int type. Thanks for your help! Enjoy OpenSource! :nod: MY SETUP: XBMC 12 Frodo RC3, Multiple Asus EB1501's throughout the Home for XBMC based STB's
(This post was last modified: 2010-09-04 22:47 by teshephe.)
|
| find quote |
amet
I wave my private parts at your aunties! Joined: Jul 2009 Reputation: 18 Location: Novi Sad / Dubai |
2010-09-04 22:19
Post: #56
teshephe Wrote:Thanks. I did not see anything about int type this should do it: Code: <setting id="audio_fc" type="number" label="bla" default="10"/>Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting. For troubleshooting and bug reporting use -> Log_file. |
| find quote |
teshephe
Senior Member Posts: 107 Joined: Dec 2009 Reputation: 0 |
2010-09-04 22:51
Post: #57
Amet Wrote:this should do it: LOL!!! it's getting hard to keep up with the development! Thanks... that worked.
Enjoy OpenSource! :nod: MY SETUP: XBMC 12 Frodo RC3, Multiple Asus EB1501's throughout the Home for XBMC based STB's |
| find quote |
teshephe
Senior Member Posts: 107 Joined: Dec 2009 Reputation: 0 |
2010-09-07 05:59
Post: #58
Anyway to specify a different font for a specific <setting> type="text" ?
Enjoy OpenSource! :nod: MY SETUP: XBMC 12 Frodo RC3, Multiple Asus EB1501's throughout the Home for XBMC based STB's |
| find quote |
chippyash
Senior Member Joined: Jan 2010 Reputation: 0 Location: Northants, UK |
2010-09-09 20:20
Post: #59
this is r33532 running on Fedora
resources/settings.xml Code: <?xml version="1.0" encoding="UTF-8"?>resources/language/english/strings.xml Code: <?xml version="1.0" encoding="utf-8" standalone="yes"?>Selecting addon settings from context menu results in following from debug and no display of settings dialog Code: DEBUG: OnKey: 61453 pressed, action is SelectI can retrieve the setting using dir = xbmcplugin.getSetting(self._pluginId,'gpoPath') - no problem Do I need to initialise something in the script? System info: Asrock ION330HT-BD (Intel Atom 330 4 core i686) connected to Sony KDL-Z5800 TV using hdmi via Onkyo TX-SR507 AV Amp. [Old Config Ubuntu 12.04. (Linux 3.2.0-32-generic-pae ) XBMCBuntu (Eden 11.0 Git:unknown Compiled Mar 24 2012). OpenGL 3.3.0 NVIDIA 280.13] New Config unknown - no working XBMC at moment!
(This post was last modified: 2010-09-09 20:22 by chippyash.)
|
| find quote |
amet
I wave my private parts at your aunties! Joined: Jul 2009 Reputation: 18 Location: Novi Sad / Dubai |
2010-09-09 20:28
Post: #60
resources/settings.xml
Code: <?xml version="1.0" encoding="UTF-8"?>resources/language/english/strings.xml Code: <?xml version="1.0" encoding="utf-8" standalone="yes"?>Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting. For troubleshooting and bug reporting use -> Log_file. |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)

Search
Help