Skip to Content
It is currently October 20th, 2021, 8:07 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: September 21st, 2021, 12:10 am 
Offline
Junior User
Junior User

Joined: January 31st, 2009, 9:43 pm
Posts: 57
Team,
Apologies if this has been answered previously. I did a search through the forums and could not find anything that will help according to my requirements. Appreciate any help on this.
I have 184 folders in external drive with 40,000+ songs, is it possible to import the directory into sam CATEGORY "MUSIC" along with the songs for each directory. I am estimating it may take more than an hour to add the folders and then adding the songs once the folders are created in the category. Any PAL script that is available here would be helpful.

Following my original post I tried the below, however it comes up with an error "more arguments expected"
Code:
CAT['Music'].AddDir('D:\Music\');True;'ipBottom');


Top
 Profile  
Reply with quote  
PostPosted: September 22nd, 2021, 6:54 am 
Offline
SVS Member
SVS Member

Joined: December 6th, 2004, 9:00 am
Posts: 8259
Location: Cologne (Germany)
That's because you messed up the syntax.

Parameters/Arguments to a function are separated by comma. Semicolons are only used to terminate a statement/line. Also the closing brace in the middle makes no sense at all.
Code:
CAT['Music'].AddDir('D:\Music\',True,'ipBottom');

_________________
Benedikt Bauer - SVS (Spacial Volunteer Support)

Shop for readymade PAL scripts by countrywesterndj - Or get a custom script made by me (or others)

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


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 27 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