Skip to content

Commit

Permalink
Less paver with mycog.py !wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nicfit committed Feb 12, 2017
1 parent c89b224 commit bb13735
Show file tree
Hide file tree
Showing 5 changed files with 365 additions and 311 deletions.
32 changes: 16 additions & 16 deletions docs/plugins/classic_plugin.rst
Expand Up @@ -103,20 +103,20 @@ Options
Add or replace a comment. There may be more than one
comment in a tag, as long as the DESCRIPTION and LANG
values are unique. The default DESCRIPTION is '' and
the default language code is 'b'eng''.
the default language code is 'eng'.
--remove-comment DESCRIPTION[:LANG]
Remove comment matching DESCRIPTION and LANG. The
default language code is 'b'eng''.
default language code is 'eng'.
--remove-all-comments
Remove all comments from the tag.
--add-lyrics LYRICS_FILE[:DESCRIPTION[:LANG]]
Add or replace a lyrics. There may be more than one
set of lyrics in a tag, as long as the DESCRIPTION and
LANG values are unique. The default DESCRIPTION is ''
and the default language code is 'b'eng''.
and the default language code is 'eng'.
--remove-lyrics DESCRIPTION[:LANG]
Remove lyrics matching DESCRIPTION and LANG. The
default language code is 'b'eng''.
default language code is 'eng'.
--remove-all-lyrics Remove all lyrics from the tag.
--text-frame FID:TEXT
Set the value of a text frame. To remove the frame,
Expand Down Expand Up @@ -208,7 +208,7 @@ nothing. For these examples we'll make a dummy file to work with.
$ touch example.id3
$ ls -o example.id3
-rw-r--r-- 1 travis 0 Jan 2 11:08 example.id3
-rw-r--r-- 1 travis 0 Feb 12 15:00 example.id3
.. {{{end}}}
Expand Down Expand Up @@ -250,7 +250,7 @@ data whenever possible.
# Convert the current v2.4 frame to v2.3
$ eyeD3 --to-v2.3 example.id3 -Q
/home/travis/devel/eyeD3/hg/example.id3 [ 0.00 Bytes ]
/home/travis/devel/eyeD3/git/example.id3 [ 0.00 Bytes ]
-------------------------------------------------------------------------------
ID3 v2.4: 0 frames
Writing ID3 version v2.3
Expand All @@ -259,7 +259,7 @@ data whenever possible.
# Convert back
$ eyeD3 --to-v2.4 example.id3 -Q
/home/travis/devel/eyeD3/hg/example.id3 [ 1.01 KB ]
/home/travis/devel/eyeD3/git/example.id3 [ 1.01 KB ]
-------------------------------------------------------------------------------
ID3 v2.3: 0 frames
Writing ID3 version v2.4
Expand All @@ -268,7 +268,7 @@ data whenever possible.
# Convert to v1, this will lose all the more advanced data members ID3 v2 offers
$ eyeD3 --to-v1.1 example.id3 -Q
/home/travis/devel/eyeD3/hg/example.id3 [ 1.01 KB ]
/home/travis/devel/eyeD3/git/example.id3 [ 1.01 KB ]
-------------------------------------------------------------------------------
ID3 v2.4: 0 frames
Writing ID3 version v1.1
Expand All @@ -289,7 +289,7 @@ in the v2 tag.
$ eyeD3 -1 example.id3
/home/travis/devel/eyeD3/hg/example.id3 [ 1.13 KB ]
/home/travis/devel/eyeD3/git/example.id3 [ 1.13 KB ]
-------------------------------------------------------------------------------
ID3 v1.0:
title:
Expand All @@ -311,7 +311,7 @@ which tag will be converted when one of the conversion options is passed.
# Set an artist value in the ID3 v1 tag
$ eyeD3 -1 example.id3 -a id3v1
/home/travis/devel/eyeD3/hg/example.id3 [ 1.13 KB ]
/home/travis/devel/eyeD3/git/example.id3 [ 1.13 KB ]
-------------------------------------------------------------------------------
Setting artist: id3v1
ID3 v1.0:
Expand All @@ -326,7 +326,7 @@ which tag will be converted when one of the conversion options is passed.
# The file now has a v1 and v2 tag, change the v2 artist
$ eyeD3 -2 example.id3 -a id3v2
/home/travis/devel/eyeD3/hg/example.id3 [ 1.13 KB ]
/home/travis/devel/eyeD3/git/example.id3 [ 1.13 KB ]
-------------------------------------------------------------------------------
Setting artist: id3v2
ID3 v2.4:
Expand All @@ -341,7 +341,7 @@ which tag will be converted when one of the conversion options is passed.
# Take all the values from v2.4 tag (the default) and set them in the v1 tag.
$ eyeD3 -2 --to-v1.1 example.id3
/home/travis/devel/eyeD3/hg/example.id3 [ 1.13 KB ]
/home/travis/devel/eyeD3/git/example.id3 [ 1.13 KB ]
-------------------------------------------------------------------------------
ID3 v2.4:
title:
Expand All @@ -355,7 +355,7 @@ which tag will be converted when one of the conversion options is passed.
# Take all the values from v1 tag and convert to ID3 v2.3
$ eyeD3 -1 --to-v2.3 example.id3
/home/travis/devel/eyeD3/hg/example.id3 [ 1.13 KB ]
/home/travis/devel/eyeD3/git/example.id3 [ 1.13 KB ]
-------------------------------------------------------------------------------
ID3 v1.0:
title:
Expand All @@ -377,7 +377,7 @@ remove the tags to start again.
$ eyeD3 --remove-all example.id3
/home/travis/devel/eyeD3/hg/example.id3 [ 1.13 KB ]
/home/travis/devel/eyeD3/git/example.id3 [ 1.13 KB ]
-------------------------------------------------------------------------------
Removing ID3 v1.x and/or v2.x tag: SUCCESS
No ID3 v1.x/v2.x tag found!
Expand Down Expand Up @@ -420,7 +420,7 @@ option values with '\\'.
$ eyeD3 --add-image http\\://example.com/cover.jpg:FRONT_COVER example.id3
/home/travis/devel/eyeD3/hg/example.id3 [ 0.00 Bytes ]
/home/travis/devel/eyeD3/git/example.id3 [ 0.00 Bytes ]
-------------------------------------------------------------------------------
Adding image http://example.com/cover.jpg
ID3 v2.4:
Expand All @@ -429,7 +429,7 @@ option values with '\\'.
album:
album artist: None
track:
FRONT_COVER Image: [Type: -->] [URL: http://example.com/cover.jpg]
FRONT_COVER Image: [Type: -->] [URL: b'http://example.com/cover.jpg']
Description:
Writing ID3 version v2.4
Expand Down
224 changes: 96 additions & 128 deletions docs/plugins/genres_plugin.rst
Expand Up @@ -34,134 +34,102 @@ Example
$ eyeD3 --plugin=genres
0: Blues 128: Club-House
1: Classic Rock 129: Hardcore
2: Country 130: Terror
3: Dance 131: Indie
4: Disco 132: BritPop
5: Funk 133: Negerpunk
6: Grunge 134: Polsk Punk
7: Hip-Hop 135: Beat
8: Jazz 136: Christian Gangsta Rap
9: Metal 137: Heavy Metal
10: New Age 138: Black Metal
11: Oldies 139: Crossover
12: Other 140: Contemporary Christian
13: Pop 141: Christian Rock
14: R&B 142: Merengue
15: Rap 143: Salsa
16: Reggae 144: Thrash Metal
17: Rock 145: Anime
18: Techno 146: JPop
19: Industrial 147: Synthpop
20: Alternative 148: Rock/Pop
21: Ska 149: <not-set>
22: Death Metal 150: <not-set>
23: Pranks 151: <not-set>
24: Soundtrack 152: <not-set>
25: Euro-Techno 153: <not-set>
26: Ambient 154: <not-set>
27: Trip-Hop 155: <not-set>
28: Vocal 156: <not-set>
29: Jazz+Funk 157: <not-set>
30: Fusion 158: <not-set>
31: Trance 159: <not-set>
32: Classical 160: <not-set>
33: Instrumental 161: <not-set>
34: Acid 162: <not-set>
35: House 163: <not-set>
36: Game 164: <not-set>
37: Sound Clip 165: <not-set>
38: Gospel 166: <not-set>
39: Noise 167: <not-set>
40: AlternRock 168: <not-set>
41: Bass 169: <not-set>
42: Soul 170: <not-set>
43: Punk 171: <not-set>
44: Space 172: <not-set>
45: Meditative 173: <not-set>
46: Instrumental Pop 174: <not-set>
47: Instrumental Rock 175: <not-set>
48: Ethnic 176: <not-set>
49: Gothic 177: <not-set>
50: Darkwave 178: <not-set>
51: Techno-Industrial 179: <not-set>
52: Electronic 180: <not-set>
53: Pop-Folk 181: <not-set>
54: Eurodance 182: <not-set>
55: Dream 183: <not-set>
56: Southern Rock 184: <not-set>
57: Comedy 185: <not-set>
58: Cult 186: <not-set>
59: Gangsta Rap 187: <not-set>
60: Top 40 188: <not-set>
61: Christian Rap 189: <not-set>
62: Pop / Funk 190: <not-set>
63: Jungle 191: <not-set>
64: Native American 192: <not-set>
65: Cabaret 193: <not-set>
66: New Wave 194: <not-set>
67: Psychedelic 195: <not-set>
68: Rave 196: <not-set>
69: Showtunes 197: <not-set>
70: Trailer 198: <not-set>
71: Lo-Fi 199: <not-set>
72: Tribal 200: <not-set>
73: Acid Punk 201: <not-set>
74: Acid Jazz 202: <not-set>
75: Polka 203: <not-set>
76: Retro 204: <not-set>
77: Musical 205: <not-set>
78: Rock & Roll 206: <not-set>
79: Hard Rock 207: <not-set>
80: Folk 208: <not-set>
81: Folk-Rock 209: <not-set>
82: National Folk 210: <not-set>
83: Swing 211: <not-set>
84: Fast Fusion 212: <not-set>
85: Bebob 213: <not-set>
86: Latin 214: <not-set>
87: Revival 215: <not-set>
88: Celtic 216: <not-set>
89: Bluegrass 217: <not-set>
90: Avantgarde 218: <not-set>
91: Gothic Rock 219: <not-set>
92: Progressive Rock 220: <not-set>
93: Psychedelic Rock 221: <not-set>
94: Symphonic Rock 222: <not-set>
95: Slow Rock 223: <not-set>
96: Big Band 224: <not-set>
97: Chorus 225: <not-set>
98: Easy Listening 226: <not-set>
99: Acoustic 227: <not-set>
100: Humour 228: <not-set>
101: Speech 229: <not-set>
102: Chanson 230: <not-set>
103: Opera 231: <not-set>
104: Chamber Music 232: <not-set>
105: Sonata 233: <not-set>
106: Symphony 234: <not-set>
107: Booty Bass 235: <not-set>
108: Primus 236: <not-set>
109: Porn Groove 237: <not-set>
110: Satire 238: <not-set>
111: Slow Jam 239: <not-set>
112: Club 240: <not-set>
113: Tango 241: <not-set>
114: Samba 242: <not-set>
115: Folklore 243: <not-set>
116: Ballad 244: <not-set>
117: Power Ballad 245: <not-set>
118: Rhythmic Soul 246: <not-set>
119: Freestyle 247: <not-set>
120: Duet 248: <not-set>
121: Punk Rock 249: <not-set>
122: Drum Solo 250: <not-set>
123: A Cappella 251: <not-set>
124: Euro-House 252: <not-set>
125: Dance Hall 253: <not-set>
126: Goa 254: <not-set>
127: Drum & Bass 255: <not-set>
0: Blues 96: Big Band
1: Classic Rock 97: Chorus
2: Country 98: Easy Listening
3: Dance 99: Acoustic
4: Disco 100: Humour
5: Funk 101: Speech
6: Grunge 102: Chanson
7: Hip-Hop 103: Opera
8: Jazz 104: Chamber Music
9: Metal 105: Sonata
10: New Age 106: Symphony
11: Oldies 107: Booty Bass
12: Other 108: Primus
13: Pop 109: Porn Groove
14: R&B 110: Satire
15: Rap 111: Slow Jam
16: Reggae 112: Club
17: Rock 113: Tango
18: Techno 114: Samba
19: Industrial 115: Folklore
20: Alternative 116: Ballad
21: Ska 117: Power Ballad
22: Death Metal 118: Rhythmic Soul
23: Pranks 119: Freestyle
24: Soundtrack 120: Duet
25: Euro-Techno 121: Punk Rock
26: Ambient 122: Drum Solo
27: Trip-Hop 123: A Cappella
28: Vocal 124: Euro-House
29: Jazz+Funk 125: Dance Hall
30: Fusion 126: Goa
31: Trance 127: Drum & Bass
32: Classical 128: Club-House
33: Instrumental 129: Hardcore
34: Acid 130: Terror
35: House 131: Indie
36: Game 132: BritPop
37: Sound Clip 133: Negerpunk
38: Gospel 134: Polsk Punk
39: Noise 135: Beat
40: AlternRock 136: Christian Gangsta Rap
41: Bass 137: Heavy Metal
42: Soul 138: Black Metal
43: Punk 139: Crossover
44: Space 140: Contemporary Christian
45: Meditative 141: Christian Rock
46: Instrumental Pop 142: Merengue
47: Instrumental Rock 143: Salsa
48: Ethnic 144: Thrash Metal
49: Gothic 145: Anime
50: Darkwave 146: JPop
51: Techno-Industrial 147: Synthpop
52: Electronic 148: Abstract
53: Pop-Folk 149: Art Rock
54: Eurodance 150: Baroque
55: Dream 151: Bhangra
56: Southern Rock 152: Big Beat
57: Comedy 153: Breakbeat
58: Cult 154: Chillout
59: Gangsta Rap 155: Downtempo
60: Top 40 156: Dub
61: Christian Rap 157: EBM
62: Pop / Funk 158: Eclectic
63: Jungle 159: Electro
64: Native American 160: Electroclash
65: Cabaret 161: Emo
66: New Wave 162: Experimental
67: Psychedelic 163: Garage
68: Rave 164: Global
69: Showtunes 165: IDM
70: Trailer 166: Illbient
71: Lo-Fi 167: Industro-Goth
72: Tribal 168: Jam Band
73: Acid Punk 169: Krautrock
74: Acid Jazz 170: Leftfield
75: Polka 171: Lounge
76: Retro 172: Math Rock
77: Musical 173: New Romantic
78: Rock & Roll 174: Nu-Breakz
79: Hard Rock 175: Post-Punk
80: Folk 176: Post-Rock
81: Folk-Rock 177: Psytrance
82: National Folk 178: Shoegaze
83: Swing 179: Space Rock
84: Fast Fusion 180: Trop Rock
85: Bebob 181: World Music
86: Latin 182: Neoclassical
87: Revival 183: Audiobook
88: Celtic 184: Audio Theatre
89: Bluegrass 185: Neue Deutsche Welle
90: Avantgarde 186: Podcast
91: Gothic Rock 187: Indie Rock
92: Progressive Rock 188: G-Funk
93: Psychedelic Rock 189: Dubstep
94: Symphonic Rock 190: Garage Rock
95: Slow Rock 191: Psybient
.. {{{end}}}
6 changes: 3 additions & 3 deletions docs/plugins/itunes_plugin.rst
Expand Up @@ -34,19 +34,19 @@ Example
$ eyeD3 -P itunes-podcast example.id3
/home/travis/devel/eyeD3/hg/example.id3
/home/travis/devel/eyeD3/git/example.id3
iTunes podcast? :-(
$ eyeD3 -P itunes-podcast example.id3 --add
/home/travis/devel/eyeD3/hg/example.id3
/home/travis/devel/eyeD3/git/example.id3
iTunes podcast? :-(
Adding...
iTunes podcast? :-)
$ eyeD3 -P itunes-podcast example.id3 --remove
/home/travis/devel/eyeD3/hg/example.id3
/home/travis/devel/eyeD3/git/example.id3
iTunes podcast? :-)
Removing...
iTunes podcast? :-(
Expand Down

0 comments on commit bb13735

Please sign in to comment.