Difference between revisions of "MythMusic File Organization"

From MythTV Official Wiki
Jump to: navigation, search
(New Page on Music file organisation)
 
Line 1: Line 1:
 +
==File storage location==
 +
 
By default MythTV stores your ripped music as ARTIST/ALBUM/TRACK-TITLE. When MythMusic locates a track to play it will normally look inside the file for the ID3 track information. If this is empty it will use the file name and location to determine this information
 
By default MythTV stores your ripped music as ARTIST/ALBUM/TRACK-TITLE. When MythMusic locates a track to play it will normally look inside the file for the ID3 track information. If this is empty it will use the file name and location to determine this information
  
Line 6: Line 8:
  
 
Possible values here are space-separated list of genre, splitartist, splitartist1, artist, album, and title OR the keyword "directory" to indicate that the onscreen tree mirrors the file system.
 
Possible values here are space-separated list of genre, splitartist, splitartist1, artist, album, and title OR the keyword "directory" to indicate that the onscreen tree mirrors the file system.
 +
 +
== ID3 tags ==
 +
 +
Here's some explanation about the Ignore_ID3 and The NonID3FileNameFormat:
 +
 +
If Ignore_ID3 is set to TRUE, MythMusic will try to determine the Genre, Artist, Album, Track Number, and Title from the filename of the mp3 file. The NonID3FileNameFormat variable should be set to the directory/file format where the mp3 files are stored. For instance, I store mine in the above shown Genre/Artist/Album/Track format. MythMusic will then use this information to fill in the proper fields when it populates the musicmetadata table rather than searching for an ID3 tag in the mp3 file.
 +
 +
The files can be laid out in any format, such as:
 +
 +
Genre/Artist/Album/Title Artist/Genre/Album/Title Artist/Album/Title (with Genre left as Unknown)
 +
 +
The track number is optional but can be specified with the title by using the TRACK_TITLE keyword instead of TITLE. If TRACK_TITLE is used, then the filename can have a space, hyphen, or underscore separating the track number from the track title. Keywords are case insensitive, so if you specify GENRE it's the same as Genre in the format field.
 +
 +
The Ignore_ID3 option does not disable the code that determines the track length, just the portion that tries to read ID3 info.
 +
 +
Note that if the structure of the directories is different than that as described in the NonID3FileNameFormat field, newly placed music will simply not show up when you select "Scan for New Music".

Revision as of 17:29, 16 December 2007

File storage location

By default MythTV stores your ripped music as ARTIST/ALBUM/TRACK-TITLE. When MythMusic locates a track to play it will normally look inside the file for the ID3 track information. If this is empty it will use the file name and location to determine this information

You can change this in the Main screen->Utilities/Setup->Setup->Media Settings->Music Settings->Ripper Settings->File Storage location

You can change the way MythMusic displays your music collection, goto Main screen->Utilities/Setup->Setup->Media Settings->Music Settings->General Settings->Tree Sorting.

Possible values here are space-separated list of genre, splitartist, splitartist1, artist, album, and title OR the keyword "directory" to indicate that the onscreen tree mirrors the file system.

ID3 tags

Here's some explanation about the Ignore_ID3 and The NonID3FileNameFormat:

If Ignore_ID3 is set to TRUE, MythMusic will try to determine the Genre, Artist, Album, Track Number, and Title from the filename of the mp3 file. The NonID3FileNameFormat variable should be set to the directory/file format where the mp3 files are stored. For instance, I store mine in the above shown Genre/Artist/Album/Track format. MythMusic will then use this information to fill in the proper fields when it populates the musicmetadata table rather than searching for an ID3 tag in the mp3 file.

The files can be laid out in any format, such as:

Genre/Artist/Album/Title Artist/Genre/Album/Title Artist/Album/Title (with Genre left as Unknown)

The track number is optional but can be specified with the title by using the TRACK_TITLE keyword instead of TITLE. If TRACK_TITLE is used, then the filename can have a space, hyphen, or underscore separating the track number from the track title. Keywords are case insensitive, so if you specify GENRE it's the same as Genre in the format field.

The Ignore_ID3 option does not disable the code that determines the track length, just the portion that tries to read ID3 info.

Note that if the structure of the directories is different than that as described in the NonID3FileNameFormat field, newly placed music will simply not show up when you select "Scan for New Music".