getmusicbee.com

Support => Developers' Area => MusicBee API => Topic started by: lamrongol on September 27, 2022, 02:59:06 AM

Title: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: lamrongol on September 27, 2022, 02:59:06 AM
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).
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: lamrongol on September 29, 2022, 10:57:49 PM
The problem that a video is not played automatically occurs even with the default behavior.
https://getmusicbee.com/forum/index.php?topic=37273.0
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: Steven on October 01, 2022, 10:37:55 AM
this version should work
https://getmusicbee.com/patches/MusicBee35_Patched.zip
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: lamrongol on October 02, 2022, 02:40:15 AM
Thank you very much. My plugin now works correctly.
https://github.com/lamrongol/MusicBeeVlcVideoPlayPlugin
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: boroda on October 02, 2022, 09:25:27 AM
could you consider making a thread on plugins board of the forum?
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: lamrongol on October 02, 2022, 12:16:08 PM
I posted to the existing thread.
https://getmusicbee.com/forum/index.php?topic=12419.msg204963#msg204963
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: lamrongol on October 13, 2022, 12:11:57 AM
@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.
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: FoxWMulder on March 20, 2024, 12:14:31 AM
Install plugin, install VLC, set VLC path in setting MusicBee. How enable video in MusicBee??
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: lamrongol on March 31, 2024, 09:16:35 AM
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
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: FoxWMulder on April 09, 2024, 07:51:00 PM
You need to change settings to add video files and show video files.

MusicBee sees video files, but plays them as mp3, without video.
Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: phred on April 09, 2024, 09:34:22 PM
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.

Title: Re: Although PluginType.VideoPlayer is set, PlayVideo() is not called.
Post by: phred on April 09, 2024, 09:36:43 PM
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.