Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
2020-02-07, 14:12
(This post was last modified: 2020-02-07, 14:14 by djh_.)
I'm finding a number of instances of animations firing upon certain state changes in Kodi where it actually isn't desirable. In this particular example, going to the next or previous track in a music playlist or album is firing whatever uses the Player.HasAudio condition. If my Now Playing widget is up, which does have an opening animation, I don't want that animation repeating over and over as I'm cycling through tracks. Can anyone think of a workaround?
Another such issue involves multiimages. Whenever the MusicPlayer changes track, the multiimages I'm using cycle images irrespective of whatever timings they've been set. That's just weird.
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
2020-02-07, 23:57
(This post was last modified: 2020-02-08, 01:00 by djh_.)
Update: Seems that any change of music track causes not just the home page animations to reset, but also the background multiimage to update. Is it reloading the window or something?
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
2020-02-08, 15:04
(This post was last modified: 2020-02-08, 16:11 by djh_.)
The problem with the animations firing is precisely due to the Player.HasAudio/Player.Playing visibility condition. It's not just animations, either, because a control with that visibility condition will flicker upon track changes, whereas with visibility set to true that doesn't happen. That control can be outside of any groups and exhibit the same behaviour. It happens no matter what the control or where in the skin that control is placed.
And it happens is Estuary, too. All the fade animations for controls restart when changing tracks. This is in both Kodi Leia stable for Windows and a Milhouse build for Linux.
Update: I'm starting to suspect DialogBusy is the culprit, at least in Estuary. Because I'm pulling most of my content from NFS, it's triggering the busy dialogy whenever I skip tracks. That causes the flicker in Estuary, while in Aeon I don't use DialogBusy and so that xml is pretty much blank. I'm wondering if invoking that window is causing the underlying window contents to refresh somehow.
Update update: Yup, removing the DialogBusy file entirely fixed the issue with the multiimages refreshing. The animations are still firing, though, so maybe that's a separate issue.
Update x3: Whatever the underlying reason, the Player.HasAudio visibility is what's causing the animation problems. Changing that to true will fix whatever control, though obviously that's not a solution.
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Posts: 17,389
Joined: Aug 2007
Reputation:
583
Hitcher
Team-Kodi Member
Posts: 17,389
I've noticed the busy dialog appearing very briefly when listening to music with the visualiser running and I'm sure this wasn't always the case.
Posts: 2,087
Joined: Jun 2007
Reputation:
92
djh_
Aeon Project Founder
Posts: 2,087
Cheers all.
I think the fact we're only talking about this now probably makes it a non-issue, especially as there's a workaround. Nothing's still affected in my skin, at least.
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Posts: 17,389
Joined: Aug 2007
Reputation:
583
Hitcher
Team-Kodi Member
Posts: 17,389
Tested Krypton and I've not seen it there but it's definitely in Leia.