INTERACT FORUM

More => Old Versions => Media Center 12 (Development Ended) => Topic started by: mesue on October 27, 2008, 06:32:54 pm

Title: Can I do an automatic/scheduled export of playlists?
Post by: mesue on October 27, 2008, 06:32:54 pm
I have a handful of smartlists that I manually export to a folder where they get picked up by Squeezecenter. Anytime I add/delete music, or change ratings, I have to re-export these. Is there any way I can automate this and just have them generated each night?
Title: Re: Can I do an automatic/scheduled export of playlists?
Post by: mesue on October 28, 2008, 09:03:57 am
I see here there is a core command to export a playlist:
http://wiki.jrmediacenter.com/index.php/Media_Center_Core_Commands

But I need the playlist ID# and I don't know how to get that. Can anyone help?
Title: Re: Can I do an automatic/scheduled export of playlists?
Post by: Lasse_Lus on October 28, 2008, 09:26:28 am

But I need the playlist ID# and I don't know how to get that. Can anyone help?

you create a smartlist and choose the syntax "playlist is any" with your choosen playlist", then press the import/export button and you will see the ID
Title: Re: Can I do an automatic/scheduled export of playlists?
Post by: Lasse_Lus on October 28, 2008, 09:31:53 am
unfortunately there will be "popups", telling you "where" and that it has been exported...

but you can do a "clean" export of all playlists with the command /MCC 20004,1


if you want the first option, there are software/schedulers that can close "popups"
and send keystrokes

Title: Re: Can I do an automatic/scheduled export of playlists?
Post by: mesue on October 28, 2008, 10:05:05 am
I have a LOT of smartlists and playlists so exporting them all would take too long when I only really want to do about 5. Is there a way to do all in a group?
I will experiment with your suggestions later. Thanks!
Title: Re: Can I do an automatic/scheduled export of playlists?
Post by: mesue on October 30, 2008, 11:04:56 pm
I can't get it to work for the single playlist.  I've searched and only found threads from people asking but no answers. Has anyone ever gotten it to work?

Is this wrong?  /MCC 20003,123456879
Title: Re: Can I do an automatic/scheduled export of playlists?
Post by: gappie on November 01, 2008, 05:01:13 pm
I can't get it to work for the single playlist.  I've searched and only found threads from people asking but no answers. Has anyone ever gotten it to work?

Is this wrong?  /MCC 20003,123456879

uhm.. no. when you use it as
mc12.exe /MCC 20003,123456879

 :)
gab
Title: Re: Can I do an automatic/scheduled export of playlists?
Post by: mesue on November 01, 2008, 05:14:17 pm
Well, it works from the run box, but not from the Scheduler built in to MC12, which is where I was testing it.

Anyway, I made a workaround by exporting all playlists on a schedule and then using another scheduled task to copy only the few I wanted to the appropriate folder where it will get picked up by SqueezeCenter.

Exporting all playlists took about 10-15 minutes, which is not as long as I expected, but still long enough that it should only be done at night when I'm not likely to be using MC because it locks up the program.