How to test peripheral setting

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pecinko Offline
Donor
Posts: 3,774
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #1
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.

My skins:

Amber
Quartz

find quote
KRKA01 Offline
Member
Posts: 98
Joined: Sep 2011
Reputation: 0
Location: Stockholm, Sweden
Post: #2
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.
find quote
Jeroen Offline
Skilled Skinner
Posts: 2,498
Joined: Feb 2008
Reputation: 23
Location: The Netherlands
Post: #3
Would be nice if we could somehow create a dummy/fake device so that we don't have to skin it "blind".
find quote
Hitcher Offline
Skilled Skinner
Posts: 10,750
Joined: Aug 2007
Reputation: 99
Location: Eastleigh, UK
Post: #4
Couldn't they have used existing dialogs?
find quote
Sharpe Offline
Skilled Skinner
Posts: 1,026
Joined: Jul 2006
Reputation: 13
Location: North West England
Post: #5
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).
find quote
ronie Offline
Team-Kodi Member
Posts: 9,158
Joined: Jan 2009
Reputation: 157
Post: #6
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.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Jeroen Offline
Skilled Skinner
Posts: 2,498
Joined: Feb 2008
Reputation: 23
Location: The Netherlands
Post: #7
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.
find quote
pecinko Offline
Donor
Posts: 3,774
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #8
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.

My skins:

Amber
Quartz

find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,289
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #9
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
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,289
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #10
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
find quote
`Black Offline
Team-Kodi Member
Posts: 2,433
Joined: Apr 2009
Reputation: 72
Location: Germany
Post: #11
The xml still works fine for testing the dialogs with the latest build, at least on OS X.

[Image: xp1080-21.png]
find quote
ronie Offline
Team-Kodi Member
Posts: 9,158
Joined: Jan 2009
Reputation: 157
Post: #12
make sure you stick the xml i've posted in the dir where xbmc is installed,
not in your userdata folder.

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
pecinko Offline
Donor
Posts: 3,774
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #13
And the right location on OS X is where exactly? Black?

My skins:

Amber
Quartz

find quote
pecinko Offline
Donor
Posts: 3,774
Joined: Dec 2008
Reputation: 51
Location: Prague / Belgrade
Post: #14
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

My skins:

Amber
Quartz

find quote
`Black Offline
Team-Kodi Member
Posts: 2,433
Joined: Apr 2009
Reputation: 72
Location: Germany
Post: #15
pecinko Wrote:And the right location on OS X is where exactly? Black?

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

[Image: xp1080-21.png]
find quote
Post Reply