From f6d30d1fc0456ebe8e7f42db9b5fd035833764df Mon Sep 17 00:00:00 2001 From: j Date: Wed, 3 Jan 2024 09:12:35 +0000 Subject: [PATCH] fix letter --- cdoseaplay/lights.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cdoseaplay/lights.py b/cdoseaplay/lights.py index 040582a..4665896 100755 --- a/cdoseaplay/lights.py +++ b/cdoseaplay/lights.py @@ -123,6 +123,7 @@ if __name__ == '__main__': pos = 0 lights = [] letter_offset = 0 + letter = path.split('/')[-1][0].lower() if config.letter_offset: letter_offset = 11 + string.ascii_lowercase.index(letter) * 10 while pos < duration - 15: