Update mutagen to 1.46.0 (#80004)

* Update mutagen to 1.46.0

* Ignore untyped call
This commit is contained in:
Franck Nijhof 2022-10-11 19:49:58 +02:00 committed by GitHub
parent 2f6e55b3bb
commit 8bc9aa9ea4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -618,9 +618,9 @@ class SpeechManager:
if not tts_file.tags:
tts_file.add_tags()
if isinstance(tts_file.tags, ID3):
tts_file["artist"] = ID3Text(encoding=3, text=artist)
tts_file["album"] = ID3Text(encoding=3, text=album)
tts_file["title"] = ID3Text(encoding=3, text=message)
tts_file["artist"] = ID3Text(encoding=3, text=artist) # type: ignore[no-untyped-call]
tts_file["album"] = ID3Text(encoding=3, text=album) # type: ignore[no-untyped-call]
tts_file["title"] = ID3Text(encoding=3, text=message) # type: ignore[no-untyped-call]
else:
tts_file["artist"] = artist
tts_file["album"] = album

View file

@ -2,7 +2,7 @@
"domain": "tts",
"name": "Text-to-Speech (TTS)",
"documentation": "https://www.home-assistant.io/integrations/tts",
"requirements": ["mutagen==1.45.1"],
"requirements": ["mutagen==1.46.0"],
"dependencies": ["http"],
"after_dependencies": ["media_player"],
"codeowners": ["@pvizeli"],

View file

@ -1105,7 +1105,7 @@ motioneye-client==0.3.12
mullvad-api==1.0.0
# homeassistant.components.tts
mutagen==1.45.1
mutagen==1.46.0
# homeassistant.components.mutesync
mutesync==0.0.1

View file

@ -807,7 +807,7 @@ motioneye-client==0.3.12
mullvad-api==1.0.0
# homeassistant.components.tts
mutagen==1.45.1
mutagen==1.46.0
# homeassistant.components.mutesync
mutesync==0.0.1