Page 1 of 2

Relocation/renaming of gigs and the instrument database

Posted: Sat Feb 23, 2008 12:47 am
by dahnielson
I have built quite an extensive instrument database and love it. It's so easy to work with, organizing instruments, loading them into channels and building instrument midi maps. Now I wonder how I will go about things if I decide to relocate the gigs or rename part of the path to them in the file system.

Do I have to redo much of my work in that case? Or is there a built in way to deal with it? Or do I simply have to log some hours in the SQLite Database Browser?

Re: Relocation/renaming of gigs and the instrument database

Posted: Tue Feb 26, 2008 5:33 pm
by grishata
Do I have to redo much of my work in that case? Or is there a built in way to deal with it?
No, there isn't such a feature in the instruments database.

Re: Relocation/renaming of gigs and the instrument database

Posted: Tue Feb 26, 2008 6:21 pm
by dahnielson
One proposal would be the ability to search for "lost" gig files (if you rename a directory or move them) and just update the path to them in the database.

Re: Relocation/renaming of gigs and the instrument database

Posted: Wed Mar 05, 2008 8:48 pm
by lowkey
+1

Being able to back up the database would be a really cool feature.

Re: Relocation/renaming of gigs and the instrument database

Posted: Tue Mar 11, 2008 10:06 am
by davephillips
dahnielson wrote:One proposal would be the ability to search for "lost" gig files (if you rename a directory or move them) and just update the path to them in the database.
Agree++.

I think Reaper does something like that, it's very helpful.

Re: Relocation/renaming of gigs and the instrument database

Posted: Tue Mar 11, 2008 2:08 pm
by Alex
I still have a couple of challenges with the database, to do with trying to build it from two HD's. I get consistent error messages when trying to import from a directory. (I'm trying to do this becase i have a LOT of orchestral gig files, and doing this manually will be a very slow process.)
In addition, if the database gig directory import fails with an error, it hard locks fantasia, and i have to kill from the command line to shut it and start again.
But, i've got most of the files in now, and i will agree with Anders from another post reference he made, that the DB makes setting up large templates, and 'orchestras' easy, so all is not lost. :mrgreen:
Here's another vote for being able to auto 'update' the DB from a scan, even if files have moved.

Alex.

Re: Relocation/renaming of gigs and the instrument database

Posted: Tue Mar 11, 2008 2:20 pm
by dahnielson
BTW, I didn't import whole directories of gigs, just one file at the time. One reason for it was that I wanted the content of each gig file put into their own "folder" in the DB and some finer control over what was imported.

I use a scheme similar to this: '/LibraryProducer/LibraryName/SoloOrEnsemble/Instrument/Articulation/' for the folder structure so that the paths looks like this: '/Dahnielson/Brass Band/Ensemble/Cornett-4/Short Notes/'.

Re: Relocation/renaming of gigs and the instrument database

Posted: Tue Mar 11, 2008 2:45 pm
by Alex
Hehe.
I guess what i'm really trying to say is, i know i'll have to add one instrument at a time, and i was looking for an easy way out! :mrgreen:

Aaah well, back to naming and importing, one at a time.

Sigh...



Alex,.

Re: Relocation/renaming of gigs and the instrument database

Posted: Fri Mar 14, 2008 3:10 pm
by grishata
Being able to back up the database would be a really cool feature.
You can always backup the instruments database by copying the database file, which default location is /var/lib/linuxsampler/instruments.db
You can also specify which database file to be used by LinuxSampler on startup. For example:
linuxsampler --instruments-db-location /home/me/instruments.db
One proposal would be the ability to search for "lost" gig files (if you rename a directory or move them) and just update the path to them in the database.
I'll implement this.

Re: Relocation/renaming of gigs and the instrument database

Posted: Sun Mar 16, 2008 11:49 am
by lowkey
Thank you :)