Skip to content

Commit

Permalink
Update mutagen to 1.46.0 (home-assistant#80004)
Browse files Browse the repository at this point in the history
* Update mutagen to 1.46.0

* Ignore untyped call
  • Loading branch information
frenck authored Oct 11, 2022
1 parent 2f6e55b commit 8bc9aa9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions homeassistant/components/tts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,9 @@ def write_tags(
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
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/tts/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bc9aa9

Please sign in to comment.