fixed bug in mp3ify
This commit is contained in:
parent
ee373593c9
commit
da1a58aa58
2
mp3ify
2
mp3ify
|
@ -28,7 +28,7 @@ function any_to_mp3 {
|
|||
import mutagen
|
||||
input = mutagen.File(\"$INPUT_FILE\", easy = True)
|
||||
output = mutagen.File(\"$OUTPUT_FILE\", easy = True)
|
||||
for tag in [ 'artist', 'album', 'tracknumber', 'date', 'genre', 'title', 'comment' ]:
|
||||
for tag in [ 'artist', 'album', 'tracknumber', 'date', 'genre', 'title' ]:
|
||||
value = input.get(tag)
|
||||
if value: output[tag] = value[0]
|
||||
output.save(v1=2)"
|
||||
|
|
Loading…
Reference in New Issue