sequential 'onclick' events

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
`Black Offline
Skilled Skinner
Posts: 2,018
Joined: Apr 2009
Reputation: 50
Location: Germany
Post: #11
I've updated the link... download again, go to the add-ons browser, select "Install from zip file", choose the zip and you're done. After adding the line to Startup.xml and restarting the skin it should work.

[Image: xp1080-21.png]
find quote
pan2 Offline
Senior Member
Posts: 159
Joined: Apr 2011
Reputation: 0
Post: #12
I actually got it to work without the update Smile apart from the MacOS stuff which I also removed, there is a typo in the addon.xml (a left over "</language>"). Once that is removed, rezipped and installed though settings --addons--install from zip file, it works. Just had to add the line in the startup.xml.
I take it that the python script is the heart of the mod. Noted the two sleep variables, and assume that if they were increased or decreased then the 'resume after video' can be delayed/shortened slightly.
Just wondering if there is python language for 'fade in/fade out' for volume because I think it would be really cool if the return to background music was gradual.
(This post was last modified: 2013-05-04 04:40 by pan2.)
find quote
`Black Offline
Skilled Skinner
Posts: 2,018
Joined: Apr 2009
Reputation: 50
Location: Germany
Post: #13
The OS X stuff (DS_Store) is the problem why it won't install, that's why I re-uploaded it. Fade in/out should be possible, just mute the volume and then increase in a loop with short sleeps between the steps.

You can adjust the resume delay but a short delay has to be there... if you remove the xbmc.sleep(2000) completely, it won't work. But increasing it is no problem.

[Image: xp1080-21.png]
find quote
pan2 Offline
Senior Member
Posts: 159
Joined: Apr 2011
Reputation: 0
Post: #14
Thanks very much for your help in this. I won't ask exactly how to create the fadein/out; I'll work that out myself Smile
Something I find curious is that there have been threads looking at background music and a number of contributions wanting the resume feature. Yet there had never been a mention of it that I saw until yours. I know now why you have the title a skilled skinner Smile
find quote
Post Reply