[vorbis] Re: ms-dos script
Daniil V. Kolpakov
dan at vsi.gov.lv
Fri Mar 7 06:41:35 PST 2003
On 7 ÐаÑÑ 2003 15:55, Jernej SimonÄiÄ wrote:
> Hello Corentin,
>
> 7. marec 2003, 12:15:51, you wrote:
> > does any body have a ms-dos script (or know how to do) for
> > oggenc.exe able to encode and add meta-data with the title
> > (filename), the album (the parent directory) and the artist (grand
> > parent directory) like oggdropXPd.exe do with defaults tagging
> > setup options ?
> > thanks for help !
>
> I have something, but it's written for 4DOS/4NT; it accepts files
> like this: Artist\Album\Track - Title.wav
>
> Let me know if you're interested.
I have one written in Perl, however it has somewhat specific features
for russians (something to do with filename transliteration), so half
of the script can be thrown out :). It uses oggenc and cdparanoia, and
expects following format from stdin or file passwd as parameter:
Artist Name
Album Name
X-Genre: Some Genre
X-Year: Some Date
X-Quality: 9,2
X-Device: /dev/cdrom2
Track 1 Name
Track 2 Name
....
All strings starting with 'X-' are optional and can be places everywhere
in the file. It also accepts multiple artists, like:
X-Artist-Separator: [+]
Track One [+] Artist For Track One
Track Two [+] Artist For Track Two
Track Three With Default Artist
Still, the script is very small. It suits ME perfectly, but everyone is
welcome to use/modify/whatever.
--
[dan at shinestar ~]$ ls -l /dev/brains
ls: /dev/brains: No such file or directory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grip.pl.bz2
Type: application/x-bzip2
Size: 2422 bytes
Desc: grip.pl.bz2
Url : http://lists.xiph.org/pipermail/vorbis/attachments/20030307/7c106ec0/grip.pl.bin
More information about the Vorbis
mailing list