File: tagprinter.py

package info (click to toggle)
tagpy 0.94.5-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 360 kB
  • ctags: 222
  • sloc: python: 877; cpp: 791; makefile: 60
file content (15 lines) | stat: -rw-r--r-- 208 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import tagpy

f = tagpy.FileRef("la.ogg")
t = f.tag()

print t.artist
print t.title
print t.album
print t.year

t.artist = "Andreas"
t.title = "Laaa-ahh"
t.album = "Shake what'cha got"
t.year = 2006
f.save()