Author Topic: Music Scheduler  (Read 33118 times)


completeos

  • Newbie
  • *
  • Posts: 3
thank you for the changes, boroda74

music starts playing now, but it doesn't seem to respect the defined day or time. for example, at 19.30 the playlist "23" should start to play on Tuesdays and Thursdays , but instead the playlist "All Decades" started to play when I tried it a few minutes ago

"All Decades" should only start to play daily at 00:15, 08:00, 09:30 and 14:00

I worked with an Excel table to make sure nothing interferes

here is a screenshot of my schedule :



thank you in advance :)

edit: i also noticed there is weird behaviour when you skip tracks two to three times in a row after the start of the playlist. the queue empties itself and playback stops then
Last Edit: May 29, 2018, 07:22:54 PM by completeos

boroda

  • Sr. Member
  • ****
  • Posts: 4595
sorry for being late :) i see that you haven't ticked '>' checkboxes to the left of date feilds. thats why plugin doesn't respect play dates (only play time).

violinbzjc

  • Newbie
  • *
  • Posts: 9
I downloaded this one today:
http://www.mediafire.com/file/5ki9tuuqvbmvsqn/mb_MusicScheduler_2018-05-29.zip

I cannot set any tasks within this scheduler. This error log appears any time I press "Apply" or "OK".

Quote
MusicBee v3.2.6827.32939 (Win10.0), 6 Oct 2018 22:48:

System.IO.FileNotFoundException: Could not load file or assembly 'Interop.TaskScheduler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.TaskScheduler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
   at MusicBeePlugin.Plugin.DeleteWindowsTasksByPrefix(String taskNamePrefix)
   at MusicBeePlugin.TasksForm.buttonApply_Click(Object sender, EventArgs e)
   at MusicBeePlugin.TasksForm.buttonOK_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

sciedou

  • Newbie
  • *
  • Posts: 2
Hi there,
This is exactly what I was looking for, and works flawlessly for me. Just one question:
I've set the first task to be started at 9.00 and ticked the right checkbox. Now, what if computer starts at 9.05 and the task can't start, can I manually start the task?

Thanks! :)

boroda

  • Sr. Member
  • ****
  • Posts: 4595
yes, you can. also you can set up pc to wake up automatically.

sciedou

  • Newbie
  • *
  • Posts: 2
yes, you can. also you can set up pc to wake up automatically.

thanks! but can't find the way to start the task manually :(

boroda

  • Sr. Member
  • ****
  • Posts: 4595
sorry, i was wrong. double-clicking opens task instead of running it. but task will be started automatically on mb start up if you untick 1st playlist start time. so you can either schedule task OR start it manually (by running mb).

edit: why dont you want to auto-wake up pc at specified time? then you wouldn't need to start task manually.
Last Edit: April 05, 2019, 02:16:29 PM by boroda

mulcahey

  • Newbie
  • *
  • Posts: 2
Will this work with podcasts? And will it let me schedule to only play on weekdays?
Last Edit: October 10, 2019, 05:04:54 PM by mulcahey

boroda

  • Sr. Member
  • ****
  • Posts: 4595
1. no. only auto-dj, autoplaylists and static ones. probably its possible to add support for podcasts, will take a look at it.
2. yes. scheduling is almost universal.

mulcahey

  • Newbie
  • *
  • Posts: 2

barlet

  • Jr. Member
  • **
  • Posts: 120
The following error was produced today by MB

MusicBee v3.3.7428.31581P  (Win10.0), 6 May 2020 15:16:

System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
   at TaskScheduler.ITaskFolder.DeleteTask(String Name, Int32 flags)
   at MusicBeePlugin.Plugin.DeleteTasksByPrefix(String taskNamePrefix)
   at MusicBeePlugin.TasksForm.buttonOK_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

StillElectric

  • Newbie
  • *
  • Posts: 2
  • Media Go refugee
I can get it to awaken my PC from sleep, but it will not play music.

Also, it randomly started playing the playlist in the evening, when the alarm is set for the afternoon.

dmferd

  • Newbie
  • *
  • Posts: 3
Hello

I am trying to get Scheduler to work at my school so that it will play the national anthem and then later play music at the end of the day but every time I try to test it, it just plays one task after the other. I also have a few national anthems and would like it to pick one and only play that one but it seems to play them all.

Any help would be greatly appreciated.

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9348
Just a note that the author of this plugin hasn't been on the forum since last May. I'm not sure if anyone else will be able to help.
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