Kodi Community Forum
How to test peripheral setting - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: How to test peripheral setting (/showthread.php?tid=115314)

Pages: 1 2 3


How to test peripheral setting - pecinko - 2011-11-23

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.


- KRKA01 - 2011-11-23

You need one of this installed otherwise the peripheral option will be greyed out.
http://xbmc.org/natethomas/2011/11/01/the-usb-cec-adapter-is-a-look-into-the-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.


- Jeroen - 2011-11-23

Would be nice if we could somehow create a dummy/fake device so that we don't have to skin it "blind".


- Hitcher - 2011-11-23

Couldn't they have used existing dialogs?


- Sharpe - 2011-11-23

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).


- ronie - 2011-11-23

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/034236bf690119b2a82be1133ff328bccbdc4411/system/peripherals.xml

it'll make any usb device show up.


- Jeroen - 2011-11-23

ronie Wrote:you can replace peripherals.xml with this one:
https://github.com/xbmc/xbmc/blob/034236bf690119b2a82be1133ff328bccbdc4411/system/peripherals.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.


- pecinko - 2011-11-24

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.


- Jezz_X - 2011-11-24

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


- Jezz_X - 2011-11-24

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/screenshot042h.png

DialogPeripheralSettings.xml http://img507.imageshack.us/img507/258/screenshot043c.png

But yeah its not a great way to do it


- `Black - 2011-11-24

The xml still works fine for testing the dialogs with the latest build, at least on OS X.


- ronie - 2011-11-24

make sure you stick the xml i've posted in the dir where xbmc is installed,
not in your userdata folder.


- pecinko - 2011-11-24

And the right location on OS X is where exactly? Black?


- pecinko - 2011-11-24

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


- `Black - 2011-11-24

pecinko Wrote:And the right location on OS X is where exactly? Black?

Normally that would be /Applications/XBMC.app/Contents/Resources/XBMC/System/