Skip to Content
It is currently January 20th, 2020, 2:53 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
PostPosted: August 4th, 2014, 10:18 am 
Offline
Junior User
Junior User

Joined: April 3rd, 2014, 3:04 pm
Posts: 37
Hi there,

I'll would like to know, if it's possible to automate my folder in my play list.
I explain me :

In PlayList :
i've 3 folders :
* Folder : normal
* Folder : Day
*Folder : Night

I'll would like, SAM BRO play in day :
Normal folder and Day Folder

And during the night, play :
Normal folder and Night.

It's possible automate like this, without remove or add folder manually in the playlist ?

(I tried with the task planner, but is it adds 1 song file, it adds is the entire file. and this is not what I want.)


Last edited by Loudgi on August 5th, 2014, 8:45 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: August 4th, 2014, 10:32 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 7902
Location: Aachen (Germany)
Schedule new Clockwheel scripts instead of add file commands

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

We're offering custom PAL / PHP code and general SAM assistance at palscripts.com

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: August 4th, 2014, 10:43 am 
Offline
Junior User
Junior User

Joined: April 3rd, 2014, 3:04 pm
Posts: 37
if i think good, i need to read this ?

http://spacial.com/help-center/sam-broa ... l-rotation

----
I've this in ClockWhell :
Code:
Cat['Tracks'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['Music (All)'].QueueBottom(smLRPA, EnforceRules);
Cat['Music (All)'].QueueBottom(smWeighted, EnforceRules);


Where i can found a exemple


Top
 Profile  
Reply with quote  
PostPosted: August 4th, 2014, 1:16 pm 
Offline
SVS Member
SVS Member

Joined: May 8th, 2004, 9:00 am
Posts: 10455
Location: Denver, CO
Change the Category from Music (All) to Day or Night or normal.
example:
Code:
Cat['Day'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['Day'].QueueBottom(smLRPA, EnforceRules);
Cat['Day'].QueueBottom(smLRP, EnforceRules);

The reason for more than 1 line is a different selection logic is employed for each line.
Make one for 'Night' and make one for 'Normal' as well. You end up with 3 separate clockwheels then use the event scheduler to schedule to come on at desired times during the day.

_________________
- Rob Oyler, SVS
Image


Top
 Profile  
Reply with quote  
PostPosted: August 4th, 2014, 2:11 pm 
Offline
Junior User
Junior User

Joined: April 3rd, 2014, 3:04 pm
Posts: 37
DJ Cassio wrote:
Change the Category from Music (All) to Day or Night or normal.
example:
Code:
Cat['Day'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['Day'].QueueBottom(smLRPA, EnforceRules);
Cat['Day'].QueueBottom(smLRP, EnforceRules);

The reason for more than 1 line is a different selection logic is employed for each line.
Make one for 'Night' and make one for 'Normal' as well. You end up with 3 separate clockwheels then use the event scheduler to schedule to come on at desired times during the day.


Thank DJ Cassio for you reply.

So if i follow your instructions, if i want : 3 song of category : Night and a Jingles i need :

Code:
Cat['Night'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['Night'].QueueBottom(smLRPA, EnforceRules);
Cat['Night'].QueueBottom(smLRP, EnforceRules);

Cat['Night'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['Night'].QueueBottom(smLRPA, EnforceRules);
Cat['Night'].QueueBottom(smLRP, EnforceRules);

Cat['Night'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['Night'].QueueBottom(smLRPA, EnforceRules);
Cat['Night'].QueueBottom(smLRP, EnforceRules);

Cat['Jingles'].QueueBottom(smLemmingLogic, EnforceRules);
Cat['Jingles'].QueueBottom(smLRPA, EnforceRules);
Cat['Jingles'].QueueBottom(smLRP, EnforceRules);


Last edited by Loudgi on August 4th, 2014, 2:39 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
PostPosted: August 4th, 2014, 2:17 pm 
Offline
Experienced User
Experienced User

Joined: March 26th, 2014, 7:47 pm
Posts: 291
Location: New Jersey
that would play 9 (night) songs and then 3 liners/jingles.

Cassio was showing you a few of the different types of rotation logic available.

_________________
[INSERT]Signature Here[/INSERT]


Top
 Profile  
Reply with quote  
PostPosted: August 4th, 2014, 2:35 pm 
Offline
Junior User
Junior User

Joined: April 3rd, 2014, 3:04 pm
Posts: 37
But if i use this methode, i must change configuration manually ?
So, the playlist "DAY" play : to 6:00 to 9:00PM and Playlist night 09:01PM to 5:59 (exemple) ?


Last edited by Loudgi on August 4th, 2014, 2:37 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: August 4th, 2014, 3:20 pm 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 7902
Location: Aachen (Germany)
You can use the Event Scheduler to exchange the clockwheel at a certain time.
SAM will then finish playing whatever is in the queue (usually following the old logic) and will pick any new tracks according to the new clockwheel.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

We're offering custom PAL / PHP code and general SAM assistance at palscripts.com

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: August 5th, 2014, 5:22 am 
Offline
Junior User
Junior User

Joined: April 3rd, 2014, 3:04 pm
Posts: 37
watcher407 wrote:
that would play 9 (night) songs and then 3 liners/jingles.

Cassio was showing you a few of the different types of rotation logic available.


Owe ok.

A other question, I have less than Jingles. I may have problems because of the rules of rotation?


Top
 Profile  
Reply with quote  
PostPosted: August 5th, 2014, 6:41 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 7902
Location: Aachen (Germany)
Try it out and see if there are enough to satisfy your rules.
Typically in situations where the "non-music" content is rare, you simply ignore the rules when picking from these categories (replace EnforceRules by NoRules)

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

We're offering custom PAL / PHP code and general SAM assistance at palscripts.com

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: August 5th, 2014, 6:49 am 
Offline
Junior User
Junior User

Joined: April 3rd, 2014, 3:04 pm
Posts: 37
Mastacheata wrote:
Try it out and see if there are enough to satisfy your rules.
Typically in situations where the "non-music" content is rare, you simply ignore the rules when picking from these categories (replace EnforceRules by NoRules)


Well, I admire your knowledge and mastery in SAM (But I understand better, you're apparently Developer?)

So normally by following your advice:
Cat ['JINGLES'] QueueBottom (smLRP, NoRules).;


Top
 Profile  
Reply with quote  
PostPosted: August 5th, 2014, 7:43 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 7902
Location: Aachen (Germany)
Loudgi wrote:
Well, I admire your knowledge and mastery in SAM (But I understand better, you're apparently Developer?)

I'm not employed as a developer by Spacial if that is what you meant.
My only affiliation with Spacial is that I'm a long-time user and have been chosen for the community self-management team.

I do work as a software developer in my spare time, but my main job is to study computer science at a german university.

Loudgi wrote:
So normally by following your advice:
Cat ['JINGLES'] QueueBottom (smLRP, NoRules).;

Correct. The first parameter specifies HOW to select the track (smLRP = selection method Least Recently Played) and the second one determines whether the separation rules should be applied to this selection.

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

We're offering custom PAL / PHP code and general SAM assistance at palscripts.com

My Project:
Send "Now Playing" from SAM to Twitter and/or Facebook | Sourcecode


Top
 Profile  
Reply with quote  
PostPosted: August 5th, 2014, 8:33 am 
Offline
Junior User
Junior User

Joined: April 3rd, 2014, 3:04 pm
Posts: 37
Ok.

I said that, because à seen : "My Project: Send "Now Playing" from SAM to Twitter and/or Facebook"

Ok my problem solved


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group