Kodi Community Forum

Full Version: How to test peripheral setting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I'm missing 2 new xmls for peripherals and was wondering how could I test them out.

What should I plug into PC in order for them to be available? Smile

I could borrow them from Confluence (and I will if I must), but they won't fit with the rest of skin.
You need one of this installed otherwise the peripheral option will be greyed out.
http://xbmc.org/natethomas/2011/11/01/th...he-future/

Stoli (Neon skin) borrowed them fron Confluence, just to get the options into the Neon skin and stated that he will probably customize them when he have the time.
Would be nice if we could somehow create a dummy/fake device so that we don't have to skin it "blind".
Couldn't they have used existing dialogs?
You can sort of see how it looks by adding something like these controls to your keymap.xml;

Code:
<F7>ActivateWindow(10149)</F7>
<F8>ActivateWindow(10150)</F8>

That way pressing F7 or F8 activate the dialogs (which are still blank of course but give you an idea for backgrounds and so on).
Jeroen Wrote:Would be nice if we could somehow create a dummy/fake device so that we don't have to skin it "blind".

you can replace peripherals.xml with this one:
https://github.com/xbmc/xbmc/blob/034236...herals.xml

it'll make any usb device show up.
ronie Wrote:you can replace peripherals.xml with this one:
https://github.com/xbmc/xbmc/blob/034236...herals.xml

it'll make any usb device show up.

Cheers, but it doesn't seem to work for me. The peripheral settings option in system settings stays disabled. I restarted XBMC.

Using the keymap to open the dialogs helps, but of course most of the controls aren't visible without a device.
Well, if it's used just for that and there's no easy way to test the skinning than I guess the users can switch to Confluence for setting it up.
If you try a build from a month ago that xml ronie posted should work because its been changed later to disable the setting if no valid devices are found
Just for reference this is how they look in confluence It really shouldn't be too hard to make them semi decent blind if you can read skin.xml proper

DialogPeripheralManager.xml http://img408.imageshack.us/img408/1405/...ot042h.png

DialogPeripheralSettings.xml http://img507.imageshack.us/img507/258/s...ot043c.png

But yeah its not a great way to do it
The xml still works fine for testing the dialogs with the latest build, at least on OS X.
make sure you stick the xml i've posted in the dir where xbmc is installed,
not in your userdata folder.
And the right location on OS X is where exactly? Black?
Hitcher Wrote:Couldn't they have used existing dialogs?

For what it's worth, if you could combine this 2 new xmls you would end up with the one looking as DialogAddonSettings.xml
pecinko Wrote:And the right location on OS X is where exactly? Black?

Normally that would be /Applications/XBMC.app/Contents/Resources/XBMC/System/
Pages: 1 2 3