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 2
Skins and Design
BlueVision
Blue Vision
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="morpheus_xx" data-source="post: 1151672" data-attributes="member: 48495"><p>I have pushed a new branch for testing the "currently playing" button: <a href="https://github.com/MediaPortal/MediaPortal-2/commit/3a5a06aefb62" target="_blank">https://github.com/MediaPortal/MediaPortal-2/commit/3a5a06aefb62</a></p><p></p><p>Let me explain my idea about this:</p><ul> <li data-xf-list-type="ul">The HomeMenuModel now listens for PlayerManager messages (player started/ended....). <br /> </li> <li data-xf-list-type="ul">If there is any player message, the GroupMenu will be rebuilt and a new button will appear (note: I currently copied TV image, needs to be replaced!)</li> <li data-xf-list-type="ul">If you click the "currently playing" button, the HomeMenuModel.IsPlayerActive property will be set to <em>true</em></li> <li data-xf-list-type="ul">I now set the main content area's visibility depending on this property. If it is true, I show the player controls in this area</li> <li data-xf-list-type="ul">Selecting any other button will hide the "currently playing" (player control).</li> </ul><p>Note: I didn't use the real "currently playing" screens of the player, because we would need to leave the workflow state into CP. And this one depends on the active player. So for now this is a first try to move around the player controls. Ofc we can leave the player controls in footer, I used it only as example!</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1151672, member: 48495"] I have pushed a new branch for testing the "currently playing" button: [URL]https://github.com/MediaPortal/MediaPortal-2/commit/3a5a06aefb62[/URL] Let me explain my idea about this: [LIST] [*]The HomeMenuModel now listens for PlayerManager messages (player started/ended....). [*]If there is any player message, the GroupMenu will be rebuilt and a new button will appear (note: I currently copied TV image, needs to be replaced!) [*]If you click the "currently playing" button, the HomeMenuModel.IsPlayerActive property will be set to [I]true[/I] [*]I now set the main content area's visibility depending on this property. If it is true, I show the player controls in this area [*]Selecting any other button will hide the "currently playing" (player control). [/LIST] Note: I didn't use the real "currently playing" screens of the player, because we would need to leave the workflow state into CP. And this one depends on the active player. So for now this is a first try to move around the player controls. Ofc we can leave the player controls in footer, I used it only as example! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Blue Vision
Contact us
RSS
Top
Bottom