nimroddolev / chime_tts

A custom Home Assistant integration to play combined audio files before and/or after text-to-speech (TTS) messages
https://nimroddolev.github.io/chime_tts/
MIT License
196 stars 14 forks source link

MEDIA_TYPE_MUSIC - depricated constant in HA Core 2025.10 - use MediaType.MUSIC instead #198

Open chris4prez opened 1 month ago

chris4prez commented 1 month ago

System Health details

Logger: homeassistant.components.media_player.const Source: helpers/deprecation.py:197 integration: Media player (documentation, issues) First occurred: 5:05:04 PM (1 occurrences) Last logged: 5:05:04 PM MEDIA_TYPE_MUSIC was used from chime_tts, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.MUSIC instead, please report it to the author of the 'chime_tts' custom integration

Checklist

Describe the issue

MEDIA_TYPE_MUSIC was used from chime_tts, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.MUSIC instead.

Reproduction steps

  1. Use ChimeTTS via 2025.10
  2. ...

Debug logs

Logger: homeassistant.components.media_player.const
Source: helpers/deprecation.py:197
integration: Media player ([documentation](https://www.home-assistant.io/integrations/media_player), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+media_player%22))
First occurred: 5:05:04 PM (1 occurrences)
Last logged: 5:05:04 PM
MEDIA_TYPE_MUSIC was used from chime_tts, this is a deprecated constant which will be removed in HA Core 2025.10. Use MediaType.MUSIC instead, please report it to the author of the 'chime_tts' custom integration

Diagnostics dump

No response

velodromen commented 1 month ago

Same issue here.

nimroddolev commented 1 month ago

Thank you. The newer MediaType.MUSIC will be used instead of the deprecated MEDIA_TYPE_MUSIC constant in the next release.

velodromen commented 1 month ago

Great, thank you!


Från: Nimrod Dolev @.> Skickat: den 17 oktober 2024 20:33 Till: nimroddolev/chime_tts @.> Kopia: velodromen @.>; Comment @.> Ämne: Re: [nimroddolev/chime_tts] MEDIA_TYPE_MUSIC - depricated constant in HA Core 2025.10 - use MediaType.MUSIC instead (Issue #198)

Thank you. The newer MediaType.MUSIC will be used instead of the deprecated MEDIA_TYPE_MUSIC constant in the next release.

— Reply to this email directly, view it on GitHubhttps://github.com/nimroddolev/chime_tts/issues/198#issuecomment-2420264034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADS4ACF5PKF55MMSJFXPWRLZ377GHAVCNFSM6AAAAABPMXTTZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGI3DIMBTGQ. You are receiving this because you commented.Message ID: @.***>

nimroddolev commented 1 month ago

I just released a new beta version, v1.1.6-beta1, which addresses the issue. Can you please upgrade to the beta version and let me know if you're still experiencing the issue?

velodromen commented 1 month ago

The beta version appear to have resolved the issue.Will let you know in case I experience the issue again. Thanks for the quick fix!

Skickat från Outlook för Androidhttps://aka.ms/AAb9ysg


From: Nimrod Dolev @.> Sent: Thursday, October 17, 2024 10:36:42 PM To: nimroddolev/chime_tts @.> Cc: velodromen @.>; Comment @.> Subject: Re: [nimroddolev/chime_tts] MEDIA_TYPE_MUSIC - depricated constant in HA Core 2025.10 - use MediaType.MUSIC instead (Issue #198)

I just released a new beta version, v1.1.6-beta1, which addresses the issue. Can you please upgrade to the beta versionhttps://nimroddolev.github.io/chime_tts/docs/quick-start/installing-chime-tts#beta-versions and let me know if you're still experiencing the issue?

— Reply to this email directly, view it on GitHubhttps://github.com/nimroddolev/chime_tts/issues/198#issuecomment-2420505777, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADS4ACBPZADA5VVKZHLGFJDZ4ANVVAVCNFSM6AAAAABPMXTTZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGUYDKNZXG4. You are receiving this because you commented.Message ID: @.***>