INTERACT FORUM
More => Old Versions => JRiver Media Center 21 for Mac => Topic started by: Afrosheen on February 13, 2016, 10:33:53 am
-
Is there a way to configure the Scheduler service to essentially "refresh" a specific smartlist, or a group of smartlists?
I've made ten or so random albums smartlists for each genre I hve. What I would like to do is to have these smartlists refreshed each week since I can't refresh them when I play an album on JRemote.
-
MCC_REFRESH (22007) seems to work for me.
So you'd want to schedule a web command. You could use a simple shell script, and then schedule it with Automator and Calendar, Hazel (https://www.noodlesoft.com/hazel.php), Launch Control (http://www.soma-zone.com/LaunchControl/), cron/launchd, or Cocktail (http://www.maintain.se/cocktail/) or something.
#!/bin/bash
curl -- "http://username:password@localhost:52199/MCWS/v1/Control/MCC?Command=22007"
echo -e "\n\nstatus returned was: $?"
I'm pretty sure that would do it. You could schedule it every day, or whatever you want.
If that doesn't work, you could script it to restart using this instead:
http://localhost:52199/MCWS/v1/Control/CommandLine?Arguments=/Restart
But MCC_REFRESH worked for me when I just tested briefly.
-
Very nice Glynor. Seems to work correctly.
Brian.
-
This is perfect! Thanks for delivering the goods Glynor!