--nextPart2488336.psT4BNkGbx
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Quoth Ilmari Heikkinen:
> On 9/20/07, Ilmari Heikkinen <ilmari.heikkinen / gmail.com> wrote:
> > On 9/20/07, Konrad Meyer <konrad / tylerc.org> wrote:
> > > I'm getting some issues with .torrents. Ex:
> > > $ mdh -p Fedora-7-i386.torrent undefined method `to_utf8' for
> > >     ["F-7-i386-DVD.iso"]:Array
> > >   undefined method `to_utf8' for ["F-7-i386-DVD.iso"]:Array
> > >   /usr/lib/ruby/site_ruby/1.8/metadata/extract.rb:822:in `enc_utf8'
> > >   /usr/lib/ruby/site_ruby/1.8/metadata/extract.rb:452:in
> > >     `application_x_bittorrent'
> > >   /usr/lib/ruby/site_ruby/1.8/metadata/extract.rb:451:in `map'
> > >   /usr/lib/ruby/site_ruby/1.8/metadata/extract.rb:451:in
> > >     `application_x_bittorrent'
> > >   /usr/lib/ruby/site_ruby/1.8/metadata/extract.rb:146:in `__send__'
> > >   /usr/lib/ruby/site_ruby/1.8/metadata/extract.rb:146:in `extract'
> > >   /usr/lib/ruby/site_ruby/1.8/metadata/extract.rb:38:in `metadata'
> > > (wrapped lines indented.)
> > >
> >
> > Thanks, fixed. Along with extracting more metadata from .torrents
> > and handling flacs with id3 tags better.
> >
> > http://dark.fhtr.org/repos/metadata/metadata-1.0-rc3.tar.gz
>=20
> Oh, and, if there are any other filetypes that could do with more
> metadata, feel free to request. Especially if some other program
> shows it. And still more especially if the other program is a
> cmdline app with a debian package ;-)

Very cool:

  $ mdh a-downloads/Fedora-7-i386.torrent ---=20
  Doc.Created: 2007-05-29T10:58:50-07:00
  BitTorrent.Name: Fedora-7-i386
  BitTorrent.Files:=20
  - length: 2900602880
    path: F-7-i386-DVD.iso
  - length: 101816320
    path: F-7-i386-rescuecd.iso
  - length: 359
    path: SHA1SUM
  BitTorrent.PieceLength: 262144
  Doc.Title: Fedora-7-i386
  BitTorrent.PieceCount: 11454
  File.Size: 229377
  File.Modified: 2007-05-31T06:28:34-07:00
  File.Format: application/x-bittorrent
  BitTorrent.Announce: http://torrent.linux.duke.edu:6969/announce

Thanks a lot!
=2D-=20
Konrad Meyer <konrad / tylerc.org> http://konrad.sobertillnoon.com/

--nextPart2488336.psT4BNkGbx
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBG8n7vCHB0oCiR2cwRAn4OAJkB9vC+oSfwNNyhaFPGAGdwai4wUgCffVma
+i0Ne0TaSgq2ahZNrRRXBz4=
=jsN/
-----END PGP SIGNATURE-----

--nextPart2488336.psT4BNkGbx--