Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lamrongol

Pages: 1 2 34
31
Hmm... So videos are not played automatically?
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 when such a plugin is used, videos are not played automatically?

32
I noticed when next track is a video, the video is not played automatically unless pushing pause button(when playing music).
I confirmed this problem happens even all plugins are disabled.
I also noticed when playlist contains audio books, they are skipped.

33
MusicBee API / Video rating problem
« on: October 12, 2017, 11:08:07 PM »
I found one more problem(not related video api).

Contrary to music, when rating playing video, "プロセスはファイルにアクセスできません。別のプロセスが使用中です"(Process can't access file. Another process is using) message shown and can't edit file.

34
MusicBee API / Re: Video Play Notification
« on: October 11, 2017, 02:39:38 PM »
@Steven

Sorry for too late response.

On latest version of MusicBee, this api doesn't work correctly.
1.public bool PlayVideo(string[] urls) function isn't called if previous played file is music.
   I found following pattern
   -Video -> Video: played
   -Video -> Music: played
   -Music -> Video: isn't played
2.When playing video, "play" button doesn't turn to "stop" button so users can't stop a video.

Would you please repair it when you have time?

Thanks,

35
Modify: Accepting all video file format(such as .mkv and .ts and so on)
https://github.com/lamrongol/MusicBeeVlcVideoPlayPlugin/releases/tag/v1.2

36
Plugins / Re: Video Continuous Play plugin (Require MusicBee 2.4 or later)
« on: September 14, 2014, 01:18:41 PM »

37
MusicBee API / Re: Video Play Notification
« on: August 24, 2014, 04:37:05 PM »
I can't guarantee for complicated case but newer version of MusicBee and the plugin may work.
See below
http://getmusicbee.com/forum/index.php?topic=12419.msg82235#msg82235

38
Thanks to Steven, now I updated the plugin not to stop when a user close vlc before finishing playing, stop when a user click stop button on MusicBee.

You need 'newest' MusicBee 2.4 or over from below link,
http://getmusicbee.com/forum/index.php?topic=12148.0

You can download plugin from below link
https://github.com/lamrongol/MusicBeeVlcVideoPlayPlugin/releases/tag/v1.1

>Or the stop button in VLC.
It is difficult to detect what users do on external application.

39
MusicBee API / Re: Video Play Notification
« on: June 16, 2014, 12:37:04 AM »
Hmm...
For me, this newer version is sufficient.
And, it is equivalent  for current and newer version on the point that MusicBee doesn't know real state of video playing. So this change doesn't make MB worse, I think.

I think more complicated APIs will be confusing because knowing real state of video playing by external process is difficult(this plugin only knows  whether external process is running or not).

40
MusicBee API / Re: Video Play Notification
« on: June 13, 2014, 02:10:48 AM »
>When i click the Stop button in musicbee a notification is sent to plugins "PlayStateChanged"

Yes if when playing music. But when MB start playing a video, PlayState change to "Stopped" and PlayState  doesn't change when clicking the Stop button or playing another video(when playing other music file, PlayState change "Playing"

I confirmed by below code.

  case NotificationType.PlayStateChanged:
      MessageBox.Show(mbApiInterface.Player_GetPlayState() + "");
      break;

41
MusicBee API / Re: Video Play Notification
« on: May 25, 2014, 04:24:00 AM »
Could you tell me whether you will implement or not this feature?

42
MusicBee API / Re: Video Play Notification
« on: April 08, 2014, 04:15:17 PM »
I want to implement a feature to stop playing video when a user clicks stop button. as following topic.

Video Continuous Play plugin (Require MusicBee 2.4 or later) - MusicBee - Forum
http://getmusicbee.com/forum/index.php?topic=12419

But on latest version, "PlayStateChanged" notification doesn't occur  when stop button is clicked.

43
MusicBee API / Re: Video Play Notification
« on: April 06, 2014, 05:59:22 PM »
When video play starts, play state changes to "Stopped".
If it is not difficult, could you make it not changed?

44
Well, the plugin certainly needs some work (though idea isn't bad). I think, to work properly, it needs to somehow bind MusicBee's controls with VLC's, so MusicBee would know, when VLC has finished playing, 'cause right now if user would skip some part of video, when the playback ends, the plugin won't jump to the next file.

This plugin stops playing if a user close vlc along the way, to be exact, if vlc is closed before original video time length elapse.
Because I think it is supposed that a user want to stop playing.
However, it is applied, as you say, when a user skip some part of video.
And this feature is implemented when MusicBee video API is not added. Maybe I should modify this feature, for example, to stop only when a user clicks stop button on MusicBee.

45
Plugins / Video Continuous Play plugin (Require MusicBee 2.4 or later)
« on: March 30, 2014, 03:21:59 AM »
About
-----
This is a plugin to play music and music videos continuously.
(On default behavior, MusicBee doesn't play next track when video play is finished. This plugin fixes it).

Requires
-----
1. You need MusicBee 2.4 or later.
   v2.4 Patch: http://musicbee.niblseed.com/V2_4/MusicBee_Exe_Patched.zip
2. Install VLC media player if you haven't
   VLC: http://www.videolan.org/vlc/
3. Download dll file to MusicBee plugin folder (C:\Program Files (x86)\MusicBee\Plugins, frequently)
   DLL: https://github.com/lamrongol/MusicBeeVlcVideoPlayPlugin/releases
4. Set VLC path on the plugin setting if you've installed VLC not to default path.
5. Before MusicBee 2.4, by default when a video file is added to the library the "skip when shuffling" flag is set.
    So you must set  "skip when shuffling" flag off if you want to play video files when shuffling, following procedure
    1, Select all video files in Video Library
    2. Shift+Enter
    3. Select [Settings] tab
    4. Check "exclude from playback" and select "No"
    5. [Save]

source code:
https://github.com/lamrongol/MusicBeeVlcVideoPlayPlugin

Update: 2014/04/02

Pages: 1 2 34