[mythtv-users] MythMusic mangling meta-data for existing oggs
Dave Steinberg
dave at taro.homeip.net
Sat Jul 31 00:32:30 EDT 2004
Hi all,
I've got an existing collection of ogg vorbis files that I would like to
use in mythmusic. I've been ripping my CDs for quite some time using a
perl script, which just executes cdparanoia and oggenc to do the ripping
and encoding.
Unfortunately, it seems that myth is ignoring or mangling the meta-data.
The worst thing is that the artist's name is being repeated in the title.
The genre, year, and tracknum are also being dropped.
For example, here's the command-line that was used to encode one file
(with input piped directly from cdparanoia):
oggenc -q 4 -o "Alanis Morissette - Mary Jane.ogg" -a "Alanis Morissette" \
-t "Mary Jane" -N 9 -G "Rock" -d "1995" -l "Jagged Little Pill"
Here's what it looks like when I play it with ogg123:
Audio Device: OSS audio driver output
Playing: Alanis Morissette - Mary Jane.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Title: Mary Jane
Artist: Alanis Morissette
Genre: Rock
Date: 1995
Album: Jagged Little Pill
Track number: 9
Here, all the meta-data looks right. But, when I import it into myth,
here's what shows up in the musicmetadata table (I've reformatted from a
SELECT response, to fit in 80 columns):
intid: 711
artist: Alanis Morissette
album: Jagged Little Pill
title: Alanis Morissette Mary Jane
genre: Unknown Genre
year: 0
tracknum: 0
length: 280000
filename: Alanis Morissette/Jagged Little Pill/Alanis Morissette - Mary Jane.ogg
rating: 5
lastplay: 20040727170534
playcount: 2
I suspect that what's happening here is that myth is totally ignoring the
meta-data that's in the file, and is instead just using the filename. The
Filename Format option is set to "ARTIST/ALBUM/TRACK_TITLE", but if I try
to set it to "ARTIST/ALBUM/ARTIST - TRACK_TITLE", I just get the full
pathname as the title.
So, I guess there are two issues:
1. Does myth use a different format for storing meta-data from oggenc? If
so, is there any easy way to convert it? Has anyone else had success
getting myth to see the meta-data in oggs encoded using oggenc?
2. When myth can't find meta-data in the file, can it properly get the
title if the filename includes the artist? Is there something else
that I should set the Filename Format option to?
I'm using Debian packages of myth, including mythmusic_0.15.1-1.
Many thanks for any insights anyone can provide.
Thanks,
Dave
More information about the mythtv-users
mailing list