How to use Windows Scheduler and MM Playlists

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: How to use Windows Scheduler and MM Playlists

Scheduler function - Share development costs?

by MerkelTech » Tue Apr 07, 2020 2:31 am

Hi,

I followed the forum discussions regarding the Scheduler function (Schedule playlists to run on any specific day+time, anytime during the week - preferably with possibility to schedule also months ahead).

Has any scheduling functionality been added lately to MediaMonkey - or is planned to be added in the near future?

If not, I see that there are a few forum members that are interested in this feature.
How much should it cost to develop this add-on/plug-in scheduler? Perhaps several forum members (myself included) would be willing to share the cost of development.

Best Regards,

David

Re: How to use Windows Scheduler and MM Playlists

by soulpatchguy » Fri Mar 30, 2018 1:45 am

I tried a third party system scheduler but it won't start when Windows is in sleep mode. Why does the VBScript work while I'm logged on but not when my computer is in sleep mode? I will try this: https://superuser.com/questions/479422/ ... -player-11

Re: How to use Windows Scheduler and MM Playlists

by rovingcowboy » Wed Mar 28, 2018 8:22 pm

soulpatchguy wrote:Both of these work in the Command Prompt with Media Monkey open however they don't work for me as Scheduled Tasks in Windows 10 even with Media Monkey running:

CScript.exe "K:\Playlists\Play Playlists From Start.vbs" "Wake Up"
CScript.exe "K:\Playlists\mediamonkeyplayrandomized.vbs" "Wake Up"

Please see attached:

Image

Image

Image

Thanks!
Use a third party system scheduler the windows task scheduler isn't any good anymore, I use ( system scheduler) if it works on your version of Windows I do not know, find one that does for free. When you get one use it instead of task scheduler.
Set up the timer scripts the same way and start media monkey first, then the scripts, all should be normal then.

Re: How to use Windows Scheduler and MM Playlists

by soulpatchguy » Mon Mar 26, 2018 11:49 pm

Both of these work in the Command Prompt with Media Monkey open however they don't work for me as Scheduled Tasks in Windows 10 even with Media Monkey running:

CScript.exe "K:\Playlists\Play Playlists From Start.vbs" "Wake Up"
CScript.exe "K:\Playlists\mediamonkeyplayrandomized.vbs" "Wake Up"

Please see attached:

Image

Image

Image

Thanks!

Re: How to use Windows Scheduler and MM Playlists

by Peke » Thu Jan 05, 2017 5:30 pm

As said in email I liked it a lot, new fresh approach.

You should also consider making it available for MM5? http://www.mediamonkey.com/forum/viewforum.php?f=30

EDIT: I would also suggest that you open new forum Topic and get user feedback.

Re: How to use Windows Scheduler and MM Playlists

by ProfileX » Thu Jan 05, 2017 8:48 am

Here's a script similar to the originals:

http://www.mediamonkey.com/addons/brows ... ck-script/

This VBScript is designed to run from a Scheduled Task and launch MediaMonkey to play music as an alarm clock.

Playlist names can be passed on the command line or configured in the script. If multiple playlists are specified, one will be selected at random and played when MediaMoneky launches.

The MediaMonkey volume can be set, and if the freeware tool NirCmd.exe is present the Windows system volume can be set:
http://www.nirsoft.net/utils/nircmd.html

Re: How to use Windows Scheduler and MM Playlists

by rovingcowboy » Sat Mar 21, 2015 8:09 pm

I'm still having to start mm gui before I start any Playlist. Maybe that can get you started to figure out what your issue is caused by. Congrats on the use of another app to adjust the volume as you know I just opted for the blank sound files. Maybe that other app is causing the problem? If it's easy to setup and remove then try taking it out of the loop and see if it was the cause. You should send a pm to peke and see if he knows.
It might be the windows task scheduler it's self. As per several other members instructions I've switched to using a 3rd party scheduler called system scheduler it's free and isn't part of the system like other 3rd party ones are. And that means zero issues with the system. 8)

Re: How to use Windows Scheduler and MM Playlists

by spiredem » Sat Mar 21, 2015 6:31 pm

I got this working with an app called Power Mixer which fades the volume up or down on a schedule, which allowed me to fade when one playlist is starting while another is playing, so that there's not an abrupt change.

New Issue is that having MMWI (Media Monkey Web Interface) open prevents the Windows Tasks from launching. I can see that they try at the scheduled time, but if MMWI is open, this doesn't work. Any idea why that would be?

Re: How to use Windows Scheduler and MM Playlists

by rovingcowboy » Sat Feb 14, 2015 2:07 am

Mm only runs on mac by use of the wine emulator as far as I know. But if you have an off line stand alone computer with multiple cpu cores such as 2 or 4 cores you can get away with doing defragmentation on it by using it on the cores you dont run mm on. And doing it in volume shadow copy. The auto clean up can be done on different cores. But running maintenance on the core you run mm on can mess up the sound and or the song file.

no crossfade doesn't go over playlists. That is why i said to use silent files or for commercial use just record a lot of 15 to 30 second commercials or jingles make them a playlist and play it at every playlist change if they get messed up its no big deal just record another one.

Re: How to use Windows Scheduler and MM Playlists

by spiredem » Fri Feb 13, 2015 9:04 pm

Hrm. I was hoping to use this in commercial settings. Currently I use an applescript scheduler for iTunes. These are installed in hotel lobbies as 24/7 background music so turning off the computer or defragging is not an option (and with the macs I currently use, not required)

Did you mean that the currently playing song will automatically crossfade out and into the first song of the next scheduled task/playlist when the next task starts? The script I use now slides the volume down to end the task because one task is not aware of the next so crossfade isn't possible.

Lastly, would Elance be the right place to contract someone to help with this or could I find someone here?

Re: How to use Windows Scheduler and MM Playlists

by rovingcowboy » Fri Feb 13, 2015 3:31 pm

Yes just make playlist in the auto playlists. Then add their name in to pekes script. Make a task job to start mediamonkey 1 minute prior to starting any music playlists as monkey needs to be up and running to see the code to starrt the playlist. Also make a job to run the script to close monkey but change to a playlist of silent / blank song files to help protect the songs from being cut when closing mm but volume fade do you mean between 2 songs? If you do then that is called crossfade in MediaMonkey. And is done without script usage. I use the silent files between every playlist change too. It will take some time to get use to setting up but it is simple. Yes I'm still doing this I'm at 350 to 400 playlists now . :D

Just re read your post. I suggest that you stop at night for so many hours depending on the speed of the computer cpu. And run the defragmentor and an auto cleaning program like ccleaner. And restart the system after the defragmenting playing music fragments the files on the hd really bad and in a month of playing like you said you want to. I had 4 hds fragmented enough that they stopped the system. Now i run maintatance every night no trouble with fragmentation now.

also if you have tons of scheduled tasks ms scheduler might crash so get the free (system scheduler) it's better.

Re: How to use Windows Scheduler and MM Playlists

by spiredem » Fri Feb 13, 2015 1:03 pm

I need background music to be played on a constant, ongoing basis, something like this:

Every Day:
8am to 2pm play Playlist A (shuffled) - at 2pm Fade Out Playlist A.
2pm to 5pm play Playlist B (shuffled) - at 5pm Fade Out Playlist B.
5pm to 8am (*Next Day) play Playlist C (shuffled) - at 8am Fade Out Playlist C.

Will the steps/script discussed allow this, especially the volume fade out?

Re: How to use Windows Scheduler and MM Playlists

by rovingcowboy » Sat Dec 01, 2012 9:37 pm

Ya knows what they say.!!!

If'in it aint busted don't sick ya fingers in it. 8) :lol:

Well thats redneck way of saying it but,

If it aint broke don't fix it. :)

Re: How to use Windows Scheduler and MM Playlists

by Peke » Sat Dec 01, 2012 8:08 pm

Wow, 7 Years and works :) This script uses old old way to interacts with MM and needs to be updated, but unfortunately I do not have time for that :(

Re: How to use Windows Scheduler and MM Playlists

by rovingcowboy » Thu Nov 29, 2012 3:53 pm

If reinstall of mm fixed it then over time something you been updating has caused bit rotted files that mm shares in use with that other program, and the bit rot caused mm to mess up, over installing or as you did a reinstall replaces mm's info in to those bit rotted files or replaces the files with new ones so mm will see his info and work again. Glad it is working for you.

Top