Author Topic: Although PluginType.VideoPlayer is set, PlayVideo() is not called.  (Read 2753 times)

lamrongol

  • Jr. Member
  • **
  • Posts: 47
This post(  https://getmusicbee.com/forum/index.php?topic=12302.msg74784#msg74784 ) says:
Quote
in the Plugin class Initialise() function:
about.Type = PluginType.VideoPlayer;

and create a function as follows:
        public bool PlayVideo(string[] urls)
        {
...your code
            return true;
        }


When MB detects that function in a plugin it will call it instead of invoking an external .exe
But I noticed when next track is a video, PlayVideo(string[] urls) is not called automatically unless pushing pause button(when playing music).




boroda

  • Sr. Member
  • ****
  • Posts: 4458


lamrongol

  • Jr. Member
  • **
  • Posts: 47
@Steven
Perhaps after applying the patch, sometimes when MusicBee starts, ”Computer > C:\Users\<User Name>\Music\MusicBee\Playlists” of left side pane is selected.
I confirmed this problem occurs even if removing my plugin.