Last change
on this file since 1 was
1,
checked in by myroslav, 18 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
836 bytes
|
Line | |
---|
1 | from zope.interface import Interface, Attribute |
---|
2 | |
---|
3 | class IAudioEncoded(Interface): |
---|
4 | """Interface that works with audio tag's text encoding stored in annotation""" |
---|
5 | |
---|
6 | encoding = Attribute("real (defined by user) audio tag encoding") |
---|
7 | |
---|
8 | original_encoding = Attribute("getted by eyeD3 module audio tag encoding") |
---|
9 | |
---|
10 | class IAudioEncodedView(Interface): |
---|
11 | """view for encoding action |
---|
12 | """ |
---|
13 | def title(): |
---|
14 | """return audio title""" |
---|
15 | |
---|
16 | def artist(): |
---|
17 | """return audio artist""" |
---|
18 | |
---|
19 | def album(): |
---|
20 | """return audio album""" |
---|
21 | |
---|
22 | def comment(): |
---|
23 | """return audio comment""" |
---|
24 | |
---|
25 | def encoding(): |
---|
26 | """audio tag's text encoding""" |
---|
27 | |
---|
28 | def setEncoding(value): |
---|
29 | """set audio tag encoding""" |
---|
30 | |
---|
31 | def getEncodingsList(): |
---|
32 | """get list of possible python text encodings""" |
---|
Note: See
TracBrowser
for help on using the repository browser.