2018-05-21, 10:35
First post updated to prevent error messages when browsing online video streams. See Edit 3 at the bottom...
to...xml:<onload condition="String.Contains(Player.Filenameandpath,theme.mp3) + !Skin.HasSetting(MusicTheme)">Dialog.Close(all,true)</onload>
xml:<onload condition="[String.Contains(Player.Filenameandpath,theme.mp3) | !String.IsEmpty(Window(home).Property(PlayingOST))] + !Skin.HasSetting(MusicTheme)">Dialog.Close(all,true)</onload>
(2018-05-24, 10:01)manfeed Wrote: @GuilouzThat change nothing.... I'm on OSX.
I have just checked your mod v2.9.9 with the latest nightly (24/05) and there's no problem for me (windows 64 bits). However I have noticed that the former visual glitch reappears when no theme.mp3 is present; to prevent this you could change the line in DialogBusy.xml from...
to...xml:<onload condition="String.Contains(Player.Filenameandpath,theme.mp3) + !Skin.HasSetting(MusicTheme)">Dialog.Close(all,true)</onload>
xml:<onload condition="[String.Contains(Player.Filenameandpath,theme.mp3) | !String.IsEmpty(Window(home).Property(PlayingOST))] + !Skin.HasSetting(MusicTheme)">Dialog.Close(all,true)</onload>
xml:
<!--
<onload condition="Player.Playing">Pause</onload>
-->
<onload>Stop</onload>
xml:
<window type="dialog" id="1355">
<onload>Stop</onload>
<onload condition="String.IsEmpty(Window(home).Property(PlayingOST)) + !String.Contains(ListItem.Path,http)">PlayMedia($ESCINFO[ListItem.Path,,theme.mp3])</onload>
<onload>SetProperty(OST,$INFO[ListItem.Path],home)</onload>
<onload>SetProperty(PlayingOST,True,home)</onload>
<visible>System.IdleTime(2) + [!String.IsEqual(ListItem.Path,Window(home).Property(OST)) | !Player.Playing]</visible>
<visible>!ListItem.IsCollection + !String.Contains(ListItem.Path,thumb + !String.Contains(ListItem.Path,image + !String.Contains(ListItem.Path,plugin) + !String.Contains(ListItem.Path,videodb</visible>
<visible>Container.Content(movies) | [Container.Content(tvshows) + !Player.Playing] | [Container.Content(seasons) + !Player.Playing]</visible>
<visible>!Window.IsActive(movieinformation)</visible>
<visible>Window.IsActive(videos)</visible>
<visible>!Player.HasVideo</visible>
<visible>Skin.HasSetting(LibraryOSTthemes)</visible>
<controls>
</controls>
</window>
xml:<window type="dialog" id="1305">
<onload>Stop</onload>
<onload>ClearProperty(PlayingOST,Home)</onload>
<visible>String.Contains(Player.Filenameandpath,theme.mp3) + [!Window.IsActive(videos) | String.IsEmpty(ListItem.Path) | ListItem.IsCollection]</visible>
<visible>Skin.HasSetting(LibraryOSTthemes)</visible>
<visible>!Player.HasVideo</visible>
<controls>
</controls>
</window>
xml:
<window type="dialog" id="1255">
<!--
<onload condition="Player.Playing">Pause</onload>
-->
<onload>Stop</onload>
<onload>ClearProperty(PlayingOST,Home)</onload>
<visible>!String.IsEqual(ListItem.Path,Window(home).Property(OST))</visible>
<visible>[Container.Content(movies) | Container.Content(tvshows)] + !Player.HasVideo </visible>
<visible>!Window.IsActive(movieinformation)</visible>
<visible>Skin.HasSetting(LibraryOSTthemes)</visible>
<controls>
</controls>
</window>
xml:
<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1118">
<allowoverlay>no</allowoverlay>
<onload condition="!Window.IsActive(visualisation) + !Window.IsActive(videos)">FullScreen</onload>
<visible>Player.HasAudio + Skin.HasSetting(FullscreenMusic) + String.IsEmpty(Window(10025).Property(PlayingBackgroundMedia))</visible>
<controls></controls>
</window>
any help would be great.mxl:
<onload condition="[String.Contains(Player.Filenameandpath,theme.mp3) | !String.IsEmpty(Window(home).Property(PlayingOST))] + Skin.HasSetting(LibraryOSTthemes)">Dialog.Close(all,true)</onload>
(2018-06-27, 09:58)mardukL Wrote: I came across 2 problems by trying to implement this.1. That is not a problem, is on purpose; pausing is much quicker than full stop, and that way you get seamless browsing. When it's time to start another theme then the player is told to full stop and start the new theme.
1: when switching to another item , if theme exists or not, player seems pausing...
2: music player try always to start, even when there isnt a file...