Apologies in advance if this is an obvious question - I'm just starting my skinning education and my learning curve is fairly steep right now.
I'm considering updating a skin to add a new button to call the media source window (and configuring XBMC to not display "Add Source" in the container list).
When I simply call activatewindow(mediasource) from a new button within myvideo.xml, it displays the media source window but crashes XBMC when I click browse.
Should I be passing a secondary parameter?
Or - is it not possible to call the media source window from a button?
Thanks in advance for any guidance.
How to call mediasource window?
amamat
Junior Member Posts: 2 Joined: Jan 2010 Reputation: 0 |
2010-01-07 04:50
Post: #1
|
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2010-01-07 06:23
Post: #2
You can't call it from anywhere else, no. If you can detail how you reproduce the crash it's something we may look into fixing.
In addition, we aim to eventually add parameters to ActivateWindow() for dialogs like this that would allow this sort of thing. If you'd like to work on this, please let me know and I'm more than happy to guide you through the sources. Cheers, Jonathan 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 |
amamat
Junior Member Posts: 2 Joined: Jan 2010 Reputation: 0 |
2010-01-07 17:11
Post: #3
Jonathan - Understood, and thanks very much for the quick reply!
Regards, Mike |
| find quote |

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