Unoffical empeg BBS

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

Topic Options
#99328 - 13/06/2002 16:23 mp3tofid - mp3 uploading tool for use with rsync
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
I have just released a first version of mp3tofid, a utility that, together with rsync, will perform automated and efficient MP3 uploads to your empeg.

Download it and/or read about it here.

Pim

Top
#99329 - 13/06/2002 16:48 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: pim]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
SWEET. Haven't tried it out yet, but it sounds great. I just added it to the riocar.org downloads section. I love the part about how it only performs updates when necessary and can resume syncs later on. That's killer.
_________________________
- Tony C
my empeg stuff

Top
#99330 - 13/06/2002 16:54 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: tonyc]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
In reply to:

and can resume syncs later on




Well, you can intterrupt the transfer and resume later, but your player will not play until it's finished ...

Pim

Top
#99331 - 13/06/2002 17:01 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: pim]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Well, of course, if the FIDs are incomplete on the player, they won't play. It's still better than having 20 GB fail and having to start over!
_________________________
- Tony C
my empeg stuff

Top
#99332 - 14/06/2002 15:02 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: pim]
dmuench
stranger

Registered: 15/01/2002
Posts: 37
Loc: Honeoye Falls, NY
Neat!

What version of id3lib did you write against? I'm trying to compile against 3.7.13 on Debian, and I'm getting this error:

g++ -c -o scanid3.o scanid3.cpp
scanid3.cpp: In function `char * getid3field(ID3Tag *, ID3_FrameID)':
/usr/include/id3.h:88: too few arguments to function `size_t ID3Field_GetASCII(const ID3Field *, char *, unsigned int, unsigned int)'
scanid3.cpp:16: at this point in file

It's missing the index argument, and I am not sure what goes there.

Looks like a great piece of software though, thanks..

Top
#99333 - 14/06/2002 16:29 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: pim]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14491
Loc: Canada
I suppose I'm going to have to implement an rsync server in Hijack now..

Top
#99334 - 14/06/2002 20:06 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: mlord]
TedP
member

Registered: 11/01/2002
Posts: 171
Loc: South Bay, CA: USA
someone's gotta integrate this with (j)emplode too (for those of us who dont run linux)!! finally... i've been wating for this for a while. thanks!!!

Top
#99335 - 15/06/2002 11:18 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: mlord]
Chuck
member

Registered: 06/06/2001
Posts: 183
Yes Yes Yes

Top
#99336 - 15/06/2002 18:00 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: dmuench]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
In reply to:

What version of id3lib did you write against?




3.8.0

Top
#99337 - 16/06/2002 13:17 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: TedP]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
There are limits to what emplode and jemplode can do, as they both use the player software on the receiving side.

I'm currently taking a look whether I can port mp3tofid to Windows using cygwin.

Current cygwin seems to be able to support symbolic links. storing them as Windows shortcuts. As the base cygwin distribution include rsync, it too should see these shortcuts as symlinks. And even if this won't work, I could always just copy the MP3's.

Pim

Top
#99338 - 17/06/2002 04:19 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: pim]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
It might work, ISTR that rsync from cygwin to Linux copies .lnk files as symlinks, but with the .lnk extension, which you don't want.
_________________________
-- roger

Top
#99339 - 17/06/2002 08:23 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: pim]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
I've just checked -- if you create a symlink with cygwin, rsync under cygwin will transfer it to a Linux box correctly (using --links). I assume that --copy-links will work correctly, too.

_________________________
-- roger

Top
#99340 - 17/06/2002 09:17 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: Roger]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
Does this mean that theres a chance that windows users will be able to use this with cygwin?

Top
#99341 - 17/06/2002 11:26 Re: mp3tofid - mp3 uploading tool for use with rsync [Re: Terminator]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Yes.
_________________________
-- roger

Top