Freebox Jukebox

E-Touch General Category => General Discussion => Topic started by: coffee on February 21, 2007, 09:39:23 PM

Title: Auto update database
Post by: coffee on February 21, 2007, 09:39:23 PM
Hi Barcrest

I would like to use a memory stick to update my Video/Audio and karaoke database automaticly when inserted into the USB port. The reason is to simplify the proses and to save time. It would also take out any mistakes a person can make and then you wouldn't need to train or keep somebody especially for this job. This would make life mush easier. If possible.            ::)

Thanks
Coffee
Title: Re: Auto update database
Post by: netcat on February 22, 2007, 01:05:47 AM
I'll second that motion, great idea.
Title: Re: Auto update database
Post by: kizer on February 22, 2007, 04:23:22 AM
To me personally it would sound like a custom script on your Memory stick that would either be click able or you would write it as a when device is installed copy files from drive $ to location $ then run the config2.exe

For example this is what is on my USB drive that I process MP3's on my PC and carry over to my Jukebox.
saved as "USBcopy.bat"

cls
echo copying music
Xcopy MP3-Processed E:\MP3s /e /i
echo y | rmdir MP3-Processed /s /q
mkdir MP3-Processed
echo TRANSFER COMPLETE

Nothing says you can't add the config stuff at the end so after loading the files it does its thing.

Heres something that allows Autoruns Freeware
http://www.snapfiles.com/get/usbautorun.html
http://www.brothersoft.com/utilities/automation/busrunner_46065.html

Heres some Trial ware.
http://www.softpedia.com/get/System/OS-Enhancements/Autorun-USB.shtml
http://www.programurl.com/autorun-usb.htm
http://www.torosoftware.com/

Heres another site with some info.
http://www.dailycupoftech.com/?page_id=149
Title: Re: Auto update database
Post by: coffee on February 22, 2007, 05:52:17 AM
Hi Kizer

Thanks Bro. I am not a computer expert. It sounds a bit complicated to me but I'll give it a go.

Thanks again.
Coffee
Title: Re: Auto update database
Post by: Barcrest on February 22, 2007, 01:59:57 PM
Guys just use the import tools in the config... Unless you wanted it to be 100% automatic. The import tool will copy the music across that you don't have in your library then you can just rebuild/update the library.
Title: Re: Auto update database
Post by: kizer on February 22, 2007, 09:13:18 PM
I just tried the import tool and honestly I tried it 3 times. First building a database and copying files over then tried it blank and I dont remember what my 3 try was.

It doesn't appear to copy any files. Does it copy folders too or just files?
Title: Re: Auto update database
Post by: netcat on February 22, 2007, 10:20:23 PM
If the import tool will do the trick than how bout a command that would allow Invokinng the import tool this way we could have the autorun on the jumpdrive invoke the import tool upon insertion into a usb port
Title: Re: Auto update database
Post by: Barcrest on February 23, 2007, 10:05:03 AM
Yes the import tool does copy files and also folders.

I will add a command line switch for it and then it can be called automatically.
Title: Re: Auto update database
Post by: kizer on February 23, 2007, 03:03:24 PM
Barcrest could you explain how it works or how it "should work"? I know your running XP and so am I on my test machine, but when I tried to use the inport tool it well didn't do anything.
Title: Re: Auto update database
Post by: Barcrest on February 23, 2007, 04:26:35 PM
Right add this to your online manual....

You need to have an audio database already built to use the import tool. And it only works for audio not video or karaoke...

Click SELECT Source, this is the memory stick, CD, USB Drive or basically where you want to copy the music from.

Click SELECT Destination and this is where the copied files will end up.

Then click on IMPORT. However all the music needs to be tagged as it checks the source files against your library and only copies or moves the files that you don't have in your library already.

The options at the bottom should all work i suggest you go with the defaults...

Couldn't be easier. You do have to rebuild or update the database after to include the newly copied files.
Title: Re: Auto update database
Post by: kizer on March 03, 2007, 07:33:29 PM
Barcrest I just used this today and it works. On (2.1.13) However I normally keep my files like such.

Band
album
album

Band2
album
album

Band3
album
album

When you use the import tool it doesn't appear to move the Band folder, but instead moves the albums out and places them in the root of the destination. Is it supposed to do that or is it a bug?

If it is supposed to do that then its something I probably wont use much simply because I like keeping Band folders because its easier to navigate and keep up on the house cleaning of my drives.