Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 2 of 2 < 1 2
Topic Options
#249065 - 16/02/2005 23:16 Re: Mp3TOFID and Rsync Woes [Re: kendrick]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Common practice is to install non-standard binaries in /usr/local/bin.
This directory is in the PATH, so you can use the tools right away.
No need to set up a cross compiler.

Pim

Top
#249066 - 17/02/2005 07:38 Re: Mp3TOFID and Rsync Woes [Re: pim]
kendrick
member

Registered: 09/12/2003
Posts: 150
Hrmm, Well I guess my next problem is. I saw you speaking on thsi earlier not sure if its the same thing though.


I have my Music stored on an ext3 filesystem on my linux box.

My windows machine accesses the Music via samba share .

I add music to the Linux box from windows via the windows samba share.

Would this be the reason that mp3tofid seems to do a full run everytime I run it? Would I have to do everything from the linux box
in order for mp3tofid to work correctly?

Top
#249067 - 17/02/2005 11:59 Re: Mp3TOFID and Rsync Woes [Re: kendrick]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Provided you did the following:
- move your music to the linux ext3 filesystem
- run mp3tofid
- rsync to your player
- add or change this through samba on a windows client
- run mp3tofid again
- run rsync again

then you should see mp3tofid only rescans changed and
new tunes, unless you force it using a commandline switch.

If mp3tofid did not rescan unchanged tunes on the second
run, then the second rsync should be fast too.

Pim

Top
#249068 - 23/02/2005 05:46 Re: Mp3TOFID and Rsync Woes [Re: pim]
kendrick
member

Registered: 09/12/2003
Posts: 150
PIM thanks for all your help. i am currently putting together a guide to help those who were like me and dont know where to start.

I have rsync and mp3tofid working great thanks to you.

However my next question is. Is it possible to have a script on your local mp3 machine that runs mp3tofid and then sends a command that executes the rsync script on your empeg.

This way you wont have to run mp3tofid on your local mp3 machine. Then log into your empeg and run the rsync script.

It would be nice to have one script to run on your local mp3 machine.

I know that you would need rsh on the empeg and the local mp3 machine. Im not exactly sure where to get rsh for the empeg from.
Or what kind of script i would run. Do you have any experience setting this up or could give me assistance on doing so.


If thats not possible is it possible to run a cronjob on the empeg.
So i can have it periodically rsync.


Edited by kendrick (23/02/2005 06:00)

Top
#249069 - 23/02/2005 07:26 Re: Mp3TOFID and Rsync Woes [Re: kendrick]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Quote:
know that you would need rsh on the empeg and the local mp3 machine. Im not exactly sure where to get rsh for the empeg from.



I believe rsh for arm is included in the Debian for Arm tar-ball Pim linked in this post
_________________________
/Michael

Top
#249070 - 23/02/2005 20:59 Re: Mp3TOFID and Rsync Woes [Re: mtempsch]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Yes, there's both rsh and in.rshd in this tarball.
A daemon might be more difficult set up though.

You might also consider putting your script in a hijack menu.

Pim

Top
#249071 - 25/02/2005 16:38 Re: Mp3TOFID and Rsync Woes [Re: pim]
kendrick
member

Registered: 09/12/2003
Posts: 150
So how do I install the debian package without messing up my empeg install?

Top
#249072 - 25/02/2005 16:57 Re: Mp3TOFID and Rsync Woes [Re: kendrick]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Crossposted. See reply in troubleshooting thread. Thanks.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#249073 - 06/03/2005 06:02 Re: Mp3TOFID and Rsync Woes [Re: kendrick]
ajayrockrock
journeyman

Registered: 29/12/2001
Posts: 99
Loc: Riverside, CA
Quote:
Would this be the reason that mp3tofid seems to do a full run everytime I run it? Would I have to do everything from the linux box
in order for mp3tofid to work correctly?


I don't know if you found the answer to this already but when I was setting up mp3tofid I kept running it with the '-n' switch which is described as "force creation of new inode database". It was a dumb mistake but it's something that I overlooked for a while. Now without the -n switch, mp3tofid still takes a minute or so to run but it's much faster.

--Ajay

Top
Page 2 of 2 < 1 2