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

lamrongol

  • Jr. Member
  • **
  • Posts: 49
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: 4610


lamrongol

  • Jr. Member
  • **
  • Posts: 49
@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.

FoxWMulder

  • Newbie
  • *
  • Posts: 6
Install plugin, install VLC, set VLC path in setting MusicBee. How enable video in MusicBee??

lamrongol

  • Jr. Member
  • **
  • Posts: 49
Install plugin, install VLC, set VLC path in setting MusicBee. How enable video in MusicBee??

You need to change settings to add video files and show video files.

@Steven
Video Support is still stopped? If you have a time to support video, please add documents.   -> Video Support https://getmusicbee.com/forum/index.php?topic=5817

FoxWMulder

  • Newbie
  • *
  • Posts: 6
You need to change settings to add video files and show video files.

MusicBee sees video files, but plays them as mp3, without video.

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9353
MusicBee sees video files, but plays them as mp3, without video.
MusicBee is for -music.- If you want to watch video via MB you have to use an outside video player.
Preferences > Player > video player > choose to use Windows default player or set the path to your preferred player.

Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9353
Video Support is still stopped? If you have a time to support video
Didn't you read the thread you linked to?
unfortunately the guy who developed the bass video plugin that my plugin is based from does not appear to be spending time to support it, i feel it wasnt fully ready, and also i cant justify the time needed to support it so i am doubtful it will go anywhere.
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here