From: Michael Shigorin <mike@lic145.kiev.ua> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] CD ripping with Grip. Скрипт. Date: Sat Jan 19 22:24:00 2002 Message-ID: <20020119185358.GG9494@lic145.kiev.ua> (raw) In-Reply-To: <20020119181010.9FF5223454@hueymiccailhuitl.mtu.ru> [-- Attachment #1: Type: text/plain, Size: 1698 bytes --] On Sat, Jan 19, 2002 at 09:07:06PM +0300, ROmul` wrote: > > редко напрягает то, что грабит оно не на 32X, а на 2--3X -- > > качество непревзойденное. > Ну да ладно. хотя при большом количестве дисков напрягает. man cdparanoia /--force-read-speed и вписать в опции cdparanoia? [skip] > > > 1_Имя.wav получалось > > > 1_Имя.ogg и прописывались тэги исполнителя и года выпуска. > > А откуда они берутся? > Да хоть бы один раз из stdin. Это же константы относительно альбома. Один раз > ввести и пусть себе все треки кодятся. Не, просто если они уже куда-то (в cddb?) набиты, то надо ж выковырять ;-) Т.е. проблема применительно к уже_имеющимся wav'ам? Или именно при грабленье в grip (у которого вполне рабочий редактор информации о диске)? Если нужно подобавлять эту информацию в .ogg, которые лежат в отдельном каталоге (artist/album/), можно попробовать примерно так: #!/bin/bash # bash2 really -- comments to michael_shigorin@mail.univ.kiev.ua # adds vorbis tags to *.ogg in current dig, using its name (as in # ..) for album name and its parent name (as in ../..) for artist # name and reading actual titles from terminal # use freely under terms of GPL v2; don't forget vorbis tags are # in UTF-8! SRCENC="koi8-r" # get commons ARTIST=`cd ..; pwd | sed 's,.*/,,'` ALBUM=`pwd | sed 's,.*/,,'` echo "artist=$ARTIST" echo "album=$ALBUM" for file in *.ogg; do echo -n "${file%%.ogg} title> " read TITLE echo -e "artist=$ARTIST\nalbum=$ALBUM\ntitle=$TITLE" \ | iconv -f$SRCENC -tutf-8 \ | vorbiscomment -a $file done Осторожно, набросано без проверки! I just hope it to be correct :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/ [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2002-01-19 22:24 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-01-19 17:34 ROmul` 2002-01-19 18:31 ` Alexandre Prokoudine 2002-01-19 18:43 ` Michael Bykov 2002-01-19 21:08 ` ROmul` 2002-01-19 18:51 ` Michael Shigorin 2002-01-19 21:08 ` ROmul` 2002-01-19 22:24 ` Michael Shigorin [this message] 2002-01-20 0:01 ` Michael Bykov 2002-01-20 1:53 ` [mdk-re] [goldhead!] " Michael Shigorin 2002-01-20 9:17 ` Michael Bykov 2002-01-20 12:54 ` Michael Shigorin 2002-01-20 15:04 ` Michael Bykov 2002-01-21 15:55 ` Re[2]: [mdk-re] CD ripping with Grip ROmul 2002-01-22 12:22 ` Re[3]: " ROmul 2002-01-21 20:10 ` [mdk-re] [goldhead!] CD ripping with Grip. Скрипт Konstantin Volckov 2002-01-20 0:30 ` [mdk-re] " ROmul`
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020119185358.GG9494@lic145.kiev.ua \ --to=mike@lic145.kiev.ua \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git