[mythtv] [PATCH] Add metadata editor to MythMusic

Paul mythtv at dsl.pipex.com
Tue Dec 14 20:13:02 UTC 2004


The attached patch adds a metadata editor to MythMusic which
allows you to save the changes optionally to both the database and
the file. You access the editor from the playback screen by pressing
the INFO button. Useful if you notice the track that you are playing
has been wrongly tagged or the imported metadata is wrong. 

The saving to the database has been fully tested and is common to
all file formats. The saving to file part is different for each file type
and uses the new MetaIO classes written by Colin Guthrie. I have only
tested the save to file option with an mp3 file which didn't work as
expected. It changed the tag to a v2.4 version which is incompatible 
with several programs that I use to play the files!

USE SAVE TO FILE WITH CAUTION until further testing has been carried out.
I am sure Colin will welcome any feed back.

The patch is in two parts. A patch  to libmyth and a patch and 3 new files
for MythMusic. The libmyth patch adds a UIRemoteEditType which is
a wrapper around a RemoteLineEdit to make it easier to add an edit control
to a MythThemedDialog. It also adds a search dialog to mythdialogs which
I think may be useful elsewhere in Myth. It also includes updated
music-ui.xml files for the Blue, GANT and Titivillus themes.

The second part of the patch is for MythMusic and includes 3 new files
which need to be added to cvs.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadataeditor.patch.tar.gz
Type: application/octet-stream
Size: 14274 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041214/012862de/metadataeditor.patch.tar.obj


More information about the mythtv-dev mailing list