File: tagprinter.py

package info (click to toggle)
tagpy 0.94.8-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 476 kB
  • sloc: python: 1,163; cpp: 807; makefile: 45; sh: 5
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()