Re: Zinf Download Manager & Emusic

Robert Waldner <[email protected]> Wed, 05 Feb 2003 22:37:46 +0100
Newsgroups gmane.comp.audio.zinf.user
Message-ID <[email protected]>
On Wed, 05 Feb 2003 13:18:01 PST, Matthew Johnson writes:
>It seems as though e-Music has moved
>entirely over to EMP format, therefore making Zinf kinda useless :(.

They try, but the format seems kinda the same. Eg I set up Mozilla to 
 "open the file with" "/usr/local/bin/zinf-wrapper.sh", which does 
 nothing but change the fucking filename from .emp to .rmp and et voila, 
 zinf downloads the album.

.-.-.-.-.-.-.-.-.-.-.-.
#!/bin/bash

EMP=$1
RMP=`echo "$EMP" | sed s/"\.emp$"/"\.rmp"/`

mv "$EMP" "$RMP"

/usr/bin/zinf "$RMP"

exit
.-.-.-.-.-.-.-.-.-.-.-.

One should probably clean up the .rmp-files sometimes, and it's ugly, 
 and it relies on Mozilla cluttering TMPDIR, and, and, and..it works
 (with zinf 2.2.2+cvs20030131-2 on Debian, that is).

(Relying solely on a filenames "extension" is ... just what MS-DOS did. 
 Uh, and 640kB RAM is enough for everybody, for ever, right? SCNR)

Now, if I could figure out a way to get zinf to store the songs in an 
 downloaddir/artist/album/ kinda way, I could _really_ use the zinf 
 Download "Manager" and I'd be set. Hints?

cheers,
&rw
-- 
-- A classic is something that everyone wants
-- to have read and nobody wants to read.
-- Mark Twain
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+QYQuE0NzSJr53oIRAgizAJ9crm5dzvyHhH4kEd4W9tEl2bKyegCZASbL
dG9sN4+nbtuTu//SwLcxxng=
=HfNl
-----END PGP SIGNATURE-----