This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'modified from http://needtec.sakura.ne.jp/codeviewer/index.php?id=2 | |
Public Function UnescapeUTF8(ByVal StringToDecode As String) As String | |
Dim i As Long | |
Dim acode As Integer, sTmp As String | |
On Error Resume Next | |
If InStr(1, StringToDecode, "\") = 0 And InStr(1, StringToDecode, "%") = 0 Then | |
UnescapeUTF8 = StringToDecode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import sys | |
from mutagen.id3 import USLT | |
from mutagen.mp3 import MP3 | |
def main(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('MP3FILE') |