GNOME Bugzilla – Bug 306817
No way to set tags in gst-python
Last modified: 2005-11-11 16:40:15 UTC
gst-python has a very elegant, Python-like method for extracting and iterating-through tags found in music files. However, there is no way currently to create a new TagList and add it to a file. I would cherish such functionality very much.
updating this to 0.9 so it can be reviewed for inclusion in the 0.9 Python bindings.
Fixed in 0.9 cvs, you can now create a TagList (which you could already do), and it behaves just like a dictionnary. mytaglist = gst.TagList() mytaglist[gst.TAG_ARTIST] = "George Clinton and the Parliament Funkadelics" mytaglist[gst.TAG_TITLE] = "Free your mind and your ass will follow" for tag in mytaglist.keys(): print tag, ":", mytaglist[tag] del mytaglist[gst.TAG_TITLE] And of course you can use the TagSetter interface to set tags.