diff --git a/gelo/plugins/now_playing_file.gelo-plugin b/gelo/plugins/now_playing_file.gelo-plugin index 62eec3a..7e32783 100644 --- a/gelo/plugins/now_playing_file.gelo-plugin +++ b/gelo/plugins/now_playing_file.gelo-plugin @@ -5,6 +5,5 @@ Module = now_playing_file [Documentation] Description = Write a single-line text file with the marker name, for BUTT. Author = s0ph0s -Version = 2.1.1 +Version = 2.1.2 Website = https://github.com/s0ph0s-2/Gelo - diff --git a/gelo/plugins/now_playing_file.py b/gelo/plugins/now_playing_file.py index ae66a9d..6564d5e 100644 --- a/gelo/plugins/now_playing_file.py +++ b/gelo/plugins/now_playing_file.py @@ -28,7 +28,7 @@ def run(self): # B.U.T.T. doesn't Do the Right Thing™ when encountering # Unicode characters. text = marker.label.replace('—', '-') - f.write(text) + f.write(text.encode('latin-1', 'ignore')) except queue.Empty: continue except mediator.UnsubscribeException: diff --git a/setup.py b/setup.py index 4660809..69efdb0 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='gelo', - version='3.0.2', + version='3.0.3', description='podcast chapter metadata gathering tool for content creators', url='https://github.com/s0ph0s-2/Gelo', author='s0ph0s-2',