diff options
| author | jvoisin | 2011-06-21 20:41:18 +0200 |
|---|---|---|
| committer | jvoisin | 2011-06-21 20:41:18 +0200 |
| commit | 9e69adbe1b065707f8be4f146cc3c05660cef711 (patch) | |
| tree | d60509a4982d7699204059184c4343352fef52de /lib/audio.py | |
| parent | f0c9c5b56e3909ba36cc84ff82b05fab9a180911 (diff) | |
Add pdfrw, and many files that I have forgetten, sorry !
Diffstat (limited to 'lib/audio.py')
| -rw-r--r-- | lib/audio.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/audio.py b/lib/audio.py new file mode 100644 index 0000000..6d653bc --- /dev/null +++ b/lib/audio.py | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | import parser | ||
| 2 | |||
| 3 | class MpegAudioStripper(parser.Generic_parser): | ||
| 4 | def _should_remove(self, field): | ||
| 5 | if field.name in ("id3v1", "id3v2"): | ||
| 6 | return True | ||
| 7 | else: | ||
| 8 | return False | ||
