Author Topic: Music Scheduler  (Read 32618 times)

abhinavdangri

  • Newbie
  • *
  • Posts: 3
Hello Baroda, I am unable to run daily schedule on music bee there might be some bug could you please check and help me with this. We are a non profit organization and want to run music daily without any person to touch computer and do the things.
Please help me if you can

Clarity

  • Jr. Member
  • **
  • Posts: 23
Hello Baroda, I am unable to run daily schedule on music bee there might be some bug could you please check and help me with this. We are a non profit organization and want to run music daily without any person to touch computer and do the things.
Please help me if you can

I recommend using the Windows Task Scheduler since I also never really got this plugin to work, so I made use of the WTS many years ago. It's really easy to setup. You will need to create a specific folder in the Task Scheduler and create all your task schedules in it. Use some command lines to make your schedule work. Here you can find all available command line parameters. The first three commands are the most important as you will need one of them to target your playlist. You simply replace the xxxx with the actual playlist path. For example: "D:\MusicBee\Playlists\Auto-Playlists\Task Scheduler\Automated Playlist.xautopf". (with both ")

Then you can define triggers and actions within the WST. There you need to select the option to start the program / script:
"C:\Program Files (x86)\MusicBee\MusicBee.exe" (again with ") [use the file path where your MusicBee.exe is located]

And then you make use of the argument; example for the playlist called "Automated Playlist":
/Play "D:\MusicBee\Playlists\Auto-Playlists\Task Scheduler\Automated Playlist.xautopf"

With triggers you can define when your playlist starts or stops.

You can create as many tasks as you like. Here's an article about the WST and how it can be used if you need some help: https://www.windowscentral.com/how-create-automated-task-using-task-scheduler-windows-10

It might take a bit of time of reading and getting used to, but it's certainly worth it investing little time into this killer feature.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Hello Baroda, I am unable to run daily schedule on music bee there might be some bug could you please check and help me with this. We are a non profit organization and want to run music daily without any person to touch computer and do the things.
Please help me if you can
please post a screenshot of your task

boroda

  • Sr. Member
  • ****
  • Posts: 4595
@Clarity, plugin already uses windows scheduler if you tick "wakeup pc on musicbee autostart" option. what doesn't work for you?

abhinavdangri

  • Newbie
  • *
  • Posts: 3


https://imgur.com/nW8ETEW
https://imgur.com/feCmiX9

Please check screenshots and let me know how I can solve it


Thank you so much boroda for helping me and your quick reply

boroda

  • Sr. Member
  • ****
  • Posts: 4595
tick all ">" checkboxes to the left of "Start date" column. i'll recheck this behavior and probably will remove ">" column, because it's very frequent misusing of plugin.

edit: send me all files from folder <MB AppData>\Music Scheduler Tasks
Last Edit: August 12, 2022, 08:50:10 PM by boroda

boroda

  • Sr. Member
  • ****
  • Posts: 4595
the only bug i've found is that the plugin can't correctly wake up pc on windows 10/11. it's fixed. You need to run MusicBee as administrator to edit tasks, which can wake up PC. There is no need to run MusicBee as administrator *every time*. Also, disable requirement to unlock Windows on PC wake-up. you'll need to resave tasks (just open scheduler and click OK) after updating plugin to correctly wake up pc by plugin. 

https://www.mediafire.com/file/p9vze6k1vebcnvd/mb_MusicScheduler_latest.zip/file

boroda

  • Sr. Member
  • ****
  • Posts: 4595
new version doesn't require running mb as administrator anymore:

https://www.mediafire.com/file/p9vze6k1vebcnvd/mb_MusicScheduler_latest.zip/file

disable requirement to unlock Windows on PC wake-up. you'll need to resave tasks (just open scheduler and click OK) after updating plugin to correctly wake up pc by plugin.

abhinavdangri

  • Newbie
  • *
  • Posts: 3
Thank you much. I will try and update if anything comes up.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
important bug fix:

plugin was not able to correctly reschedule music after pc wake-up, if mb was running on pc sleeping:

https://www.mediafire.com/file/p9vze6k1vebcnvd/mb_MusicScheduler_latest.zip/file
Last Edit: August 23, 2022, 10:45:55 AM by boroda

spittlbm

  • Newbie
  • *
  • Posts: 1
It would be very helpful to have the ability to change the volume on schedule.

boroda

  • Sr. Member
  • ****
  • Posts: 4595
do you mean to set volume for every playlist in task? mb volume or system volume?
Last Edit: August 29, 2022, 08:48:02 AM by boroda

boroda

  • Sr. Member
  • ****
  • Posts: 4595
Two new options are added to the plugin:

Prevent the PC and monitor from sleeping if MusicBee is playing music. It doesn't matter if playback is started by a plugin or manually. The only requirement for the options to take effect is that the plugin must be installed and enabled.

https://www.mediafire.com/file/p9vze6k1vebcnvd/mb_MusicScheduler_latest.zip/file

djgabb

  • Newbie
  • *
  • Posts: 1
Hello Boroda,
First thank you for your work, maybe it is just missing 2 or 3 tips to configure the tools.

In my case it does not work, I tried to tick and tick different options :
- option 1 is the only one working but it plays only one song >>> play and start time are ticked, all the others ones unticked
- option 2 not working at all > play, thunder and start time are ticked
- option 3 not working at all > play, thunder, start date and start time are ticked

Any idea ? Thanks

boroda

  • Sr. Member
  • ****
  • Posts: 4595
please post a screenshot with labels for options. i don't understand what you call "options".