Posts: 3
Joined: Nov 2011
Reputation:
0
I'm modifying my XBMC skin (based loosely on confluence) and I'm getting to the tricky bit of trying to change some of the behaviours rather than just the look. First issue is I'd like to have what I think is the music fullscreen window (the one with the music OSD dialog available) appear automatically when I click on a song to play from my Music list.
Does anyone know how I can do this?
Thanks
Posts: 6
Joined: Jul 2013
Reputation:
0
I'd like to know it too. I'm working on Transparency skin. As far as I know, when I select Music on main menu, it uses the command <onclick>ActivateWindow(Music)</onclick> but... which is the xml file that controls this window? I hope that once knowing that, I must only add another <onclick> event under pressing on a file to play it.
Posts: 830
Joined: Jan 2012
Reputation:
5
I was trying to figure this out recently too. anyone have any thoughts/clues/suggestions?
Posts: 3,956
Joined: Dec 2008
Reputation:
62
Can't do that from the skin.
Posts: 3,956
Joined: Dec 2008
Reputation:
62
2013-07-30, 21:50
(This post was last modified: 2013-07-30, 21:51 by pecinko.)
LOL
Interesting hack. Nice idea, kudos.
Btw, how do you get out? Another custom window?
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Out? The custom window will be visible and therefore activated if Player.HasAudio is true which is true if you start playing music. If you stop playing, window will be deactivated.
Posts: 3,956
Joined: Dec 2008
Reputation:
62
That was my point - in order to get out you need to stop the playback, no background music would be possible.
Just saying.
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
2013-07-31, 00:17
(This post was last modified: 2013-07-31, 00:19 by `Black.)
The window is just an invisible overlay... it doesn't get focus so no problem. It works just fine, I'm using the same technique in my skin for something else.