Author Topic: Music Scheduler  (Read 22697 times)

boroda

  • Hero Member
  • *****
  • Posts: 4162
Description
Plugin allows scheduling playback/start playback on MusicBee startup of multiple static or autoplaylists or Auto-DJ.

Screenshot


Download

Provide feedback on this topic.
Last Edit: August 15, 2022, 04:16:35 PM by boroda

theG

  • Jr. Member
  • **
  • Posts: 77
Going to test this. I needed exactly that last year for a few events and might need it eventually

Edit:

Using the last 3.1 patch update.
Created a task and when I pressed OK I got this:

Code
MusicBee v3.1.6266.27069 (Win6.1), 26 févr. 2017 13:39:

System.ArgumentOutOfRangeException: L'index et la longueur doivent faire référence à un emplacement situé dans la chaîne.
Nom du paramètre : length
   à System.String.Substring(Int32 startIndex, Int32 length)
   à MusicBeePlugin.Plugin.DeleteTasksByPrefix(String taskNamePrefix)
   à MusicBeePlugin.TasksForm.buttonOK_Click(Object sender, EventArgs e)
   à System.Windows.Forms.Control.OnClick(EventArgs e)
   à System.Windows.Forms.Button.OnClick(EventArgs e)
   à System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   à System.Windows.Forms.Control.WndProc(Message& m)
   à System.Windows.Forms.ButtonBase.WndProc(Message& m)
   à System.Windows.Forms.Button.WndProc(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Last Edit: February 26, 2017, 06:42:01 PM by theG


theG

  • Jr. Member
  • **
  • Posts: 77
its fixed:

Yes, working now.

I'm testing it out and:

- If a song is playing and the scheduler task kicks in, I think it should wait for it to finish.

- Maybe the possibility to add days of the week in "Start date"?

- When the task kicks in, it loads the playlist but plaback is stopped.

boroda

  • Hero Member
  • *****
  • Posts: 4162
many bugs are fixed. week days support is done.

http://www.mediafire.com/file/jm3bw49mjodn96h/mb_MusicScheduler_2017-03-03.zip

still to do: support Auto-DJ along with playlists in tasks.

boroda

  • Hero Member
  • *****
  • Posts: 4162
various improvements and bugfixes:

http://www.mediafire.com/file/l5ufxv2vys5y6ki/mb_MusicScheduler_2017-03-07.zip

NOTE: in case of upgrading plugin from version 1.0 delete all scheduled tasks and recreate them from scratch.

theG

  • Jr. Member
  • **
  • Posts: 77
Decided to try it again and when I press Apply/OK, MusicBee freezes, I have to kill it. Using latest 3.1 patch.

boroda

  • Hero Member
  • *****
  • Posts: 4162
have you deleted all scheduled tasks from previous plugin version (1.0)?

allavaz

  • Newbie
  • *
  • Posts: 6
For some reason Auto-DJ doesn't work for me. When I set it to a playlist it works fine but for Auto-DJ it doesn't do anything. Any idea?

boroda

  • Hero Member
  • *****
  • Posts: 4162
yes, there is some bug. sometimes auto-dj works, sometimes doesn't for me. will try to fix this bug.


allavaz

  • Newbie
  • *
  • Posts: 6
Thanks a lot man it's working now. Another thing I noticed is that clicking on OK or Apply stops playback. Is that on purpose?

boroda

  • Hero Member
  • *****
  • Posts: 4162
i don't remember. probably thats intentional.

Rotary

  • Newbie
  • *
  • Posts: 2
This Plug in is super useful !

However I encounter several hiccups using

Basically, I have 5 playlists that need to start at different hour during the day, everyday.

When the computer in plug off the task stop so the next playlist is not playing or it stops after 2 days, is there a way to configure it to run on battery as well and to remove the time limit?
I tried to modify the task directly, but it doesn't launch the music afterwards and when you click on apply again, it reset the task to the default settings.

Can the VB files be modified to change the settings in the windows task scheduler?

Thank you for your time

boroda

  • Hero Member
  • *****
  • Posts: 4162
plugin uses windows task scheduler if you tick 'wake up computer to play this task' option (dont remember exact wording, its option in the table).
2 day limit is intational and it would be very hard to change this.
i think i didnt understand the problem with running notebook from battery.