home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Problems editting musicoverlay.xml
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Thijs_O" data-source="post: 345314" data-attributes="member: 85889"><p>Thanks. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> It's frustating at some times but whenever you see the result, you'll be satisfied.. at least that goes for me. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /> </p><p></p><p>Anyhow, just one more problem: There are 4 images: playbutton, pausebutton, fastforward-button and rewindbutton. However, here the display of that button doesn't work. For example, when I play it should show playbutton, when I pause the pausebutton etc but it always displays RW-button. If I remove that <control> it'll go to always FF-button, etc till I remove them all and there is no button-image left. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /> I think I know the reason but don't know how to fix it. For example, the Playbutton-control:</p><p></p><p></p><p></p><p>The problem is simple: <strong><visible>Player.HasVideo+!Player.HasAudio+control.isvisible(3336)</visible></strong></p><p>(Note: I divided HasMedia into HasAudio and HasVideo to increase the range of possibilities for the script, but this shouldn't affect my problem)</p><p>The problem here is the last part, <strong>+control.isvisible(3336)</strong> which basically means it will <strong>always</strong> display that button (well actually image) if that condition is met. Anyway, I don't know how I can script it in such a way that it still has <strong>+control.isvisible(3336)</strong> in it but kinda keeping in line with what should be displayed. Like another requirement such as <strong>+Player.Playing</strong> for Playbutton, <strong>+Player.Paused</strong> for Pausebutton etc. But I don't know how to script this..<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p></p><p><strong>Update:</strong> Also ran into another much bigger problem. As said above I've made two groups: Audio and Video. To make this work I created two new <control> (dummy's, like 3337), that looks like this:</p><p></p><p></p><p></p><p>Corresponding with that, I editted the <visible> rules in the video and audio <controls> as well, this looks like the following:</p><p></p><p><strong>Video:</strong> <visible>Player.HasVideo+!Player.HasAudio+control.isvisible(3336)</visible></p><p><strong>Audio:</strong> <visible>player.hasAudio+control.isvisible(3335)</visible></p><p></p><p>As you can see I've add <strong>!Player.HasAudio</strong> to the Video-control. This was nessecary, otherwise I would see the Video-things (such as the bigger 'screen', the Year/Genre information which I don't want to see at music etc) when playing back audio. Anyway, with this Video-rule, nothing of Video is being displayed. The <controls> (such as the video miniature but also title, etc) is only being displayed when using the following rule:</p><p></p><p><strong><visible>Player.HasVideo</visible></strong></p><p>So both <strong>!Player.HasAudio</strong> and <strong>+control.isvisible(3336)</strong> prevent any video or related information being displayed. I really can't make sense of it.. it has to work somehow, right?<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /></p></blockquote><p></p>
[QUOTE="Thijs_O, post: 345314, member: 85889"] Thanks. :) It's frustating at some times but whenever you see the result, you'll be satisfied.. at least that goes for me. :P Anyhow, just one more problem: There are 4 images: playbutton, pausebutton, fastforward-button and rewindbutton. However, here the display of that button doesn't work. For example, when I play it should show playbutton, when I pause the pausebutton etc but it always displays RW-button. If I remove that <control> it'll go to always FF-button, etc till I remove them all and there is no button-image left. :P I think I know the reason but don't know how to fix it. For example, the Playbutton-control: The problem is simple: [b]<visible>Player.HasVideo+!Player.HasAudio+control.isvisible(3336)</visible>[/b] (Note: I divided HasMedia into HasAudio and HasVideo to increase the range of possibilities for the script, but this shouldn't affect my problem) The problem here is the last part, [b]+control.isvisible(3336)[/b] which basically means it will [b]always[/b] display that button (well actually image) if that condition is met. Anyway, I don't know how I can script it in such a way that it still has [b]+control.isvisible(3336)[/b] in it but kinda keeping in line with what should be displayed. Like another requirement such as [b]+Player.Playing[/b] for Playbutton, [b]+Player.Paused[/b] for Pausebutton etc. But I don't know how to script this..:( [b]Update:[/b] Also ran into another much bigger problem. As said above I've made two groups: Audio and Video. To make this work I created two new <control> (dummy's, like 3337), that looks like this: Corresponding with that, I editted the <visible> rules in the video and audio <controls> as well, this looks like the following: [B]Video:[/b] <visible>Player.HasVideo+!Player.HasAudio+control.isvisible(3336)</visible> [B]Audio:[/b] <visible>player.hasAudio+control.isvisible(3335)</visible> As you can see I've add [b]!Player.HasAudio[/b] to the Video-control. This was nessecary, otherwise I would see the Video-things (such as the bigger 'screen', the Year/Genre information which I don't want to see at music etc) when playing back audio. Anyway, with this Video-rule, nothing of Video is being displayed. The <controls> (such as the video miniature but also title, etc) is only being displayed when using the following rule: [b]<visible>Player.HasVideo</visible>[/b] So both [b]!Player.HasAudio[/b] and [b]+control.isvisible(3336)[/b] prevent any video or related information being displayed. I really can't make sense of it.. it has to work somehow, right?:S [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Problems editting musicoverlay.xml
Contact us
RSS
Top
Bottom