Results 1 to 8 of 8
  1. #1

    Title
    Junior Member
    Join Date
    Apr 2013
    Posts
    9
    Rep Power
    0

    Library Update Script

    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?

  2. #2
    shoutcaststreaming's Avatar
    Title
    Premium Member
    Join Date
    Sep 2008
    Location
    Los Angeles, California
    Posts
    786
    Rep Power
    30
    No clue. Need to see the script.
    SCS - Dedicated Bandwidth Servers
    Shoutcast / Icecast / Windows Media
    Transcoding - Auto DJ - Mobile Radio - FLASH Players - Auto DJ
    Broadcasting World's Stream Host of the Month

  3. #3

    Title
    Junior Member
    Join Date
    Apr 2013
    Posts
    9
    Rep Power
    0
    Thanks so much for the answer!

    this is the script:

    SUBDIR['CUsers\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...

  4. #4
    PapaBearPW's Avatar
    Title
    Avid Broadcaster
    Join Date
    Jun 2012
    Posts
    273
    Rep Power
    15
    Quote Originally Posted by cgomes View Post
    Thanks so much for the answer!

    this is the script:

    SUBDIR['CUsers\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:

    Code:
    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.

  5. #5

    Title
    Junior Member
    Join Date
    Apr 2013
    Posts
    9
    Rep Power
    0
    Thank you so much PapaBear! It worked!

    By the way, do you think you can help me with this as well?

    http://forums.broadcastingworld.net/...4236#post84236

  6. #6
    PapaBearPW's Avatar
    Title
    Avid Broadcaster
    Join Date
    Jun 2012
    Posts
    273
    Rep Power
    15
    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.

  7. #7

    Title
    Junior Member
    Join Date
    Apr 2013
    Posts
    9
    Rep Power
    0
    No prob papabear!

    thank you again for your help and your time..

  8. #8

    Title
    Junior Member
    Join Date
    Sep 2016
    Posts
    1
    Rep Power
    0
    it was helpful for me too.. so thanks from me too

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •