mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Fix ID3 tagging in TTS (#40740)
This commit is contained in:
parent
2ee5b0a9c1
commit
e54ec3ba05
@ -466,7 +466,7 @@ class SpeechManager:
|
||||
artist = options.get("voice")
|
||||
|
||||
try:
|
||||
tts_file = mutagen.File(data_bytes, easy=True)
|
||||
tts_file = mutagen.File(data_bytes)
|
||||
if tts_file is not None:
|
||||
tts_file["artist"] = ID3Text(encoding=3, text=artist)
|
||||
tts_file["album"] = ID3Text(encoding=3, text=album)
|
||||
|
Loading…
x
Reference in New Issue
Block a user