Jump to content

Library Update Script


cgomes
 Share

Recommended Posts

Hey There,

so, I´ve found a script on the internet that updates the music on my Sam Broadcaster´s database.

 

OK this seems clear for updating the music, BUT what happens if you sort your music in sam. Meaning I place my music in sub folders in sam that match my physical directories. Is it possible to update each one of my sam directories or can you only update the music to one huge sam directory?

Link to comment
Share on other sites

Thanks so much for the answer!

 

this is the script:

 

SUBDIR['C:\Users\Christian\Google Drive'].Rescan;

 

It works fine for rescaning my origin folder and inserting the new songs in SAMs database, but the inserted songs are kind of hidden, because they don´t get to the specific genre/category folder. I can find the new songs by searching after them, but they don´t appear in the specific folder...

Link to comment
Share on other sites

Thanks so much for the answer!

 

this is the script:

 

SUBDIR['C:\Users\Christian\Google Drive'].Rescan;

 

It works fine for rescaning my origin folder and inserting the new songs in SAMs database, but the inserted songs are kind of hidden, because they don´t get to the specific genre/category folder. I can find the new songs by searching after them, but they don´t appear in the specific folder...

 

I don't use SAM myself so I can't test this but, as best I can tell, you still have to add the tracks to the proper categories. Something like this:

 


SUBDIR['C:\Users\Christian\Google Drive'].Rescan;

{Add music to Rock genre}
CAT['Rock'].Clear;
CAT['Rock'].AddDir('C:\Users\Christian\Google Drive\Rock',False,ipBottom);

{Add music to Pop genre}
CAT['Pop'].Clear;
CAT['Pop'].AddDir('C:\Users\Christian\Google Drive\Pop',False,ipBottom);

 

Repeating the CAT parts for each genre. That is assuming you have your music separated into genre directories in a similar fashion.

 

Hope that helps.

Link to comment
Share on other sites

As best I can tell, Firebird will not work that way.

 

From their website:

 

You cannot locate components of the server, or any database, on a mapped drive, a filesystem share or a network filesystem.

 

With MySQL I think it should be possible but since I have never tried this myself, I can't say for certain. The best thing would probably be to request some support from Spacial Audio for this. Sorry I can't be of more help on this one.

Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...