LinHES Forums
http://forum.linhes.org/

How to prep my mp3's, folder structure or.... for Mythmusic?
http://forum.linhes.org/viewtopic.php?f=11&t=15159
Page 1 of 1

Author:  KaNo [ Tue May 08, 2007 1:13 pm ]
Post subject:  How to prep my mp3's, folder structure or.... for Mythmusic?

Hi,
I have just loaded a bunch of Mp3's into my Myth\Music folder. The music is normally structured by artists and dived into folders with the first letter in the artists name.The problem seemed to be multiple entries of the same artist in Mythmusic when using this structure.

I moved all albums into the root of the music folder, but I still can't seem to figure out how to either structure my mp3's or name them in order to get the artists to only how up once under the available music list in Mythmusic.

Am I totally wrong when I guess that the intended way to work this Mythmusic, is to select the artist you like, select the albums of this artist and voila you have yourself a playlist. How can I browse my music by album name or something which makes it easier to get an overview? Does the Mythmuic use id3 tags to structure the list of available mp3's?

Author:  elgordo123 [ Tue May 08, 2007 1:42 pm ]
Post subject: 

The structure of the files doesn't really matter. When mythmusic imports it reads the mp3 tags of everything in /myth/music (and any subdirs) and sets up it's database tables based on the mp3 tags, artist, album, title.
Most people have their actual file structure the same way to keep it organized. /myth/music/artist/album/song.mp3

Author:  KaNo [ Tue May 08, 2007 1:47 pm ]
Post subject: 

Oh my....lots and lots of mp3's to open in Winamp and edit id3 tags on :shock:

Author:  grante [ Tue May 08, 2007 2:59 pm ]
Post subject: 

KaNo wrote:
Oh my....lots and lots of mp3's to open in Winamp and edit id3 tags on :shock:


That seems like a rather unpleasant way to do things. I'd suggest a simple shell script that sets the mp3 tags of all of the .mp3 files based on their locations in the filesystem. I wouldn't think it would take more than a half-dozen lines of code.

Author:  KaNo [ Tue May 08, 2007 3:07 pm ]
Post subject: 

Thanks guys,
I'll think of something clever :D and figure out a way to ease this operation.

Author:  grante [ Tue May 08, 2007 3:35 pm ]
Post subject: 

Here's a start. Instead of just echoing the info, call mp3info
to set the file's tags. Use "find" to execute it on all of the
.mp3 files and Bob's your uncle.

Code:
#!/bin/bash
file="$1"
expr "$1" : '.*/.*' >/dev/null || file="$PWD"/"$1"
title=`basename "$file" .mp3`
d=`dirname "$file"`
album=`basename "$d"`
d=`dirname "$d"`
artist=`basename "$d"`
echo "$artist"  "$album"  "$title"

Author:  spalVl [ Tue May 08, 2007 3:52 pm ]
Post subject: 

There is also a setting for MythMusic to ignore the id3 tag. (Mine are still a mess). That will use the directory structure.

If you go the ignore id3 tag route you want to clear the MythMusic database though. Easy way to clear the music database is to point MythMusic to use an empty directory in settings ie /myth/empty then do a scan, then change it back to real directory ie /myth/music.

Author:  alien [ Wed May 09, 2007 5:46 am ]
Post subject: 

I use easytag to fix all my id3 tags:
Code:
apt-get install easytag
easytag

Besides some nice bulk and batch functions (ex. re-tag the files based on the filename), it also fixes up some filename and id3 tag problems caused by mythtv when there are special characters in the cddb info.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/