Auto Switch to Music Visualisation
#31
It seems working with a nice 5 seconds delay.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1100">
    <allowoverlay>no</allowoverlay>
    <onload>FullScreen</onload>
    <visible>Window.IsActive(502) + StringCompare(MusicPlayer.Time(hh),00) + StringCompare(MusicPlayer.Time(mm),00) + StringCompare(MusicPlayer.Time(ss),05)</visible>
    <controls></controls>
</window>
Reply
#32
How about
System.IdleTime(5) instead of the MusicPlayer.Time comparing?
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#33
(2016-11-13, 20:49)Solo0815 Wrote: How about
System.IdleTime(5) instead of the MusicPlayer.Time comparing?
I like your idea. It shall be combined with "Player.Playing" and window ID check to achieve the expected behaviour.
The advantage that it will always switch back to full screen visualisation if no input is detected.
Reply
#34
(2016-11-14, 11:11)sakos Wrote:
(2016-11-13, 20:49)Solo0815 Wrote: How about
System.IdleTime(5) instead of the MusicPlayer.Time comparing?
I like your idea. It shall be combined with "Player.Playing" and window ID check to achieve the expected behaviour.
The advantage that it will always switch back to full screen visualisation if no input is detected.
Dunno' why but it does not work. I keep the original version.
Reply
#35
should work, untested:
<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1100">
<allowoverlay>no</allowoverlay>
<onload>FullScreen</onload>
<visible>Window.IsActive(502) + System.IdleTime(5) + Player.Playing</visible>
<controls></controls>
</window>
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#36
(2016-11-15, 17:03)Solo0815 Wrote: should work, untested:
<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1100">
<allowoverlay>no</allowoverlay>
<onload>FullScreen</onload>
<visible>Window.IsActive(502) + System.IdleTime(5) + Player.Playing</visible>
<controls></controls>
</window>
Yes, this is what I tried but did not work.
Reply
#37
you can use this:
<window type="dialog" id="5555">
<allowoverlay>no</allowoverlay>
<onload condition="!Window.IsActive(visualisation)">FullScreen</onload>
<visible>!Window.IsActive(home) + Player.HasAudio + System.IdleTime(15)</visible>
<controls></controls>
</window>

it is working for me. It switches to Fullscreen-music after 15s
Philips TV with Kodi 20.2 with IPTV --- Orbsmart 500 Android 21 alpha/beta as Online-radio/TV in the kitchen
Reply
#38
(2016-01-08, 14:56)refael65 Wrote:
(2015-03-06, 01:09)manfeed Wrote: I finally got it working in Party Mode too!

This did the trick...

Create a new file named Custom_FullscreenMusic.xml (and put it in 1080i folder) with this content:

<window type="dialog" id="5555">
<allowoverlay>no</allowoverlay>
<onload condition="!Window.IsActive(visualisation)">FullScreen</onload>
<visible>IntegerGreaterThan(MusicPlayer.Time,1) + !SubString(Window(videolibrary).Property(TvTunesIsAlive),True)</visible>
<controls></controls>
</window>

Thanks. its working.

Thanks. its working also!
[/quote]
Reply
#39
It has now been a feature request for 2 years and counting! Wahoo!!
Reply
#40
(2015-03-06, 01:09)manfeed Wrote: I finally got it working in Party Mode too!

This did the trick...

Create a new file named Custom_FullscreenMusic.xml (and put it in 1080i folder) with this content:

<window type="dialog" id="5555">
<allowoverlay>no</allowoverlay>
<onload condition="!Window.IsActive(visualisation)">FullScreen</onload>
<visible>IntegerGreaterThan(MusicPlayer.Time,1) + !SubString(Window(videolibrary).Property(TvTunesIsAlive),True)</visible>
<controls></controls>
</window>
This worked for me, thank you. Plays in full-screen pretty much as soon as the music starts to play. Been looking for a solution for months!
Reply

Logout Mark Read Team Forum Stats Members Help
Auto Switch to Music Visualisation0