January 05, 2007, 06:31:18 AM
News: WELCOME TO THE NEW NEUROS FORUMS!  CLICK HERE FOR MORE INFORMATION
or email tartz(at)neurostechnology.com
  Show Posts
Pages: [1]
1  Neuros Digital Audio Computer / Neuros Digital Audio Computer - I need help! / Re: working in linux? on: December 17, 2006, 07:59:47 PM
ok i got me one. i love it so far, but i wonder if thares a script that can make the database without opinging a sync manager? so i can add whaterver new music i want and just run a script, unmount and walk away with my new music working.

thanx.

For some reason, I never bothered to look at that option before...it looks like NeurosDBM does have a command-line interface.  Below is the section from the manual that outlines how to use it:  I have not tried it yet, but I'm going to give it a shot on my next sync.

Code:
You can operate NDBM from the command line to perform functions such as synchronization or adding and removing tracks.

To execute NDBM in command line mode you must run it from a command prompt. The Java command used to perform command line operations is "java -jar NeurosDBM.jar <options>" where "<options>" are flags and arguments indicating the desired function. Note that you must execute this from the directory in which the NeurosDBM.jar file resides or else specify the complete path to this file. Available commands are as follows:

-r,--remove
Removes the specified file(s) from the Neuros. This option requires at least one argument. Arguments are paths which indicate individual files or directories to remove from the device.

-a,--add
Adds the specified file to the Neuros. This option requires at least one argument. Arguments are paths which indicate individual files or directories to add to the device.

-h,--help
Displays options.

-c,--clear
Clears the database on the Neuros.

-t,--restore
Restore the database in the specified directory. Use this after performing a backup in order to restore the database contents.

-p,--path
Specifies the path where the Neuros is mounted.

-l,--list
Lists tracks currently stored on the Neuros.

-q,--quiet
Runs in quiet mode.

-b,--backup
Back up the Neuros database to the specified directory.

-s,--sync
Syncronizes the Neuros with the local database.

-e,--rebuild
Rebuilds the Neuros database.
2  Neuros Digital Audio Computer / Neuros Digital Audio Computer - I need help! / Re: working in linux? on: November 09, 2006, 11:24:25 AM
I cannot speak for Slackware, but I use Fedora and the Neuros is detected as a USB Mass Storage Device and it gets automounted by Nautilus.  If it doesn't automount, it should at least detect it and you can see the device number it gets by watching /var/log/messages...Most likely it will be something like /dev/sda.  Then you can just mount it with "mount /dev/sda /mnt/neuros"

After the disk is mounted, I use rsync to get the content over to my neuros.  You could use copy or any other similar command, but rsync will copy over only what changed so it will be faster when you start adding content after your initial import...Here is the rsync command I use:
rsync -rvt --exclude *.png --exclude .folder --modify-window=1 --progress /media/source /mnt/neuros/music

I then use Neuros Database Manipulator (http://neurosdbm.sourceforge.net/) to initiate the database rebuild.  You can use NDBM to handle the content syncing as well, but I have 40GB of content, and it takes a REALLY long time to parse through everything w/o much feedback...so I prefer the rsync method because I can see what it is doing.

I have had my neuros 2 for about 9 months, and this method has been working well for me.

Hope that helps.

--Alex
Pages: [1]