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 Plugins
Popular Plugins
mvCentral - Music Videos Plugin
mvCentral - Music Videos Plugin (Stable)
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="trevor" data-source="post: 819688" data-attributes="member: 25806"><p><strong>Re: mvCentral - Music Vidoes Plugin Beta Release</strong></p><p></p><p></p><p></p><p>Hi Piccirilli,</p><p></p><p>The reason this is happening is because mvCentral is playlist based, everything is a playlist and also by default playlist repeat is enabled. So when you start playing a video a playlist is created and this is run though and repeats when completed.</p><p></p><p>The issue is the exit state, the internal player has two end states, Playback Ended and Playback Stop File, the former is set when the video playing ends normally the latter when the user presses the stop key.</p><p></p><p>I treat both of these differently for the ended state MvC will try and play the next video in the playlist or if repeat set and the last video will start the playlist again.</p><p></p><p>When using an external player there is only an exit state returned, well actually an event is fired which I catch. The reason you are having issues is that in the event code the playnext method is called and this will try and play the next video or repeat the playlist - hence your issue of being unable to exit (you can just kill MediaPortal.exe against rebooting to bring this cycle to a halt).</p><p></p><p>Ok, so thats the problem now how to solve it, couple of options here;</p><p></p><p></p><ul> <li data-xf-list-type="ul">1. I remove the playnext call from the external player stopped code, this has the disavantage that you can only play one video at a time.</li> <li data-xf-list-type="ul">2. Turn off playlist repeat, disavantage here is that to actually stop you would have to exist through all videos in the playlist.</li> <li data-xf-list-type="ul">3. Switch to the internal player, guess you have reasons for wanting to use the external player - can see maybe for hi-def movies etc but not so sure about music videos.</li> <li data-xf-list-type="ul">4. See if I can for music vidoes force internal player and make this an option.</li> <li data-xf-list-type="ul">5. See if I can find some method of working out if the video just ended or was a user stop command.</li> </ul><p></p><p>Leave this with me and I will see what I can do, will be intresting excercise.</p><p></p><p>Thanks</p></blockquote><p></p>
[QUOTE="trevor, post: 819688, member: 25806"] [b]Re: mvCentral - Music Vidoes Plugin Beta Release[/b] Hi Piccirilli, The reason this is happening is because mvCentral is playlist based, everything is a playlist and also by default playlist repeat is enabled. So when you start playing a video a playlist is created and this is run though and repeats when completed. The issue is the exit state, the internal player has two end states, Playback Ended and Playback Stop File, the former is set when the video playing ends normally the latter when the user presses the stop key. I treat both of these differently for the ended state MvC will try and play the next video in the playlist or if repeat set and the last video will start the playlist again. When using an external player there is only an exit state returned, well actually an event is fired which I catch. The reason you are having issues is that in the event code the playnext method is called and this will try and play the next video or repeat the playlist - hence your issue of being unable to exit (you can just kill MediaPortal.exe against rebooting to bring this cycle to a halt). Ok, so thats the problem now how to solve it, couple of options here; [LIST] [*]1. I remove the playnext call from the external player stopped code, this has the disavantage that you can only play one video at a time. [*]2. Turn off playlist repeat, disavantage here is that to actually stop you would have to exist through all videos in the playlist. [*]3. Switch to the internal player, guess you have reasons for wanting to use the external player - can see maybe for hi-def movies etc but not so sure about music videos. [*]4. See if I can for music vidoes force internal player and make this an option. [*]5. See if I can find some method of working out if the video just ended or was a user stop command. [/LIST] Leave this with me and I will see what I can do, will be intresting excercise. Thanks [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
mvCentral - Music Videos Plugin
mvCentral - Music Videos Plugin (Stable)
Contact us
RSS
Top
Bottom