mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-27 07:24:51 +00:00
More generalized tagging
Original commit message from CVS: More generalized tagging
This commit is contained in:
parent
6e85edcd38
commit
cc23405805
1 changed files with 3 additions and 4 deletions
|
@ -4,9 +4,8 @@ import sys
|
|||
import gst
|
||||
|
||||
def found_tags(element, source, tags):
|
||||
print 'Artist:', tags.get('artist')
|
||||
print 'Title: ', tags.get('title')
|
||||
print 'Album: ', tags.get('album')
|
||||
for tag in tags.keys():
|
||||
print gst.tag_get_nick(tag), tags[tag]
|
||||
|
||||
def playfile(filename):
|
||||
bin = gst.Pipeline('player')
|
||||
|
|
Loading…
Reference in a new issue