Skip to content

Release v1.4.2: Media Browsing Standards Compliance

Latest

Choose a tag to compare

@rihokirss rihokirss released this 22 Jul 19:23
· 1 commit to main since this release

🎡 Media Browsing Standards Compliance

This release fixes media browsing implementation to properly follow Home Assistant's media player integration standards.

✨ What's New

  • MediaClass Compliance: Updated all media browsing to use proper MediaClass enum instead of MediaType
  • Intelligent Classification: Albums now use MediaClass.ALBUM, folders use MediaClass.DIRECTORY
  • Standards Compliant: Follows Home Assistant's official media player integration guidelines

πŸ”§ Improvements

  • NET RADIO Browsing:
    • Folders now use MediaClass.DIRECTORY
    • Stations use MediaClass.TRACK
  • SERVER Browsing:
    • Containers use MediaClass.DIRECTORY or MediaClass.ALBUM as appropriate
    • Playable tracks use MediaClass.TRACK
  • Navigation Elements: Pagination and back buttons use proper MediaClass.DIRECTORY

πŸ› Bug Fixes

  • Fixed incorrect MediaType.CHANNEL usage in NET RADIO browsing
  • Fixed incorrect MediaType.MUSIC usage in SERVER browsing
  • Replaced all improper MediaType usage with correct MediaClass enum values

πŸ”§ Technical Details

This release ensures proper separation of concerns:

  • MediaClass: Used for categorizing browsable content in media browser UI
  • MediaType: Used for identifying actual media content type for playback

The integration now fully complies with Home Assistant's media player standards, ensuring better compatibility and future-proofing.

πŸ“¦ Installation

Via HACS (Recommended):

  1. Go to HACS β†’ Integrations
  2. Search for "Yamaha R-N301"
  3. Update to v1.4.2

Manual Update:

  1. Download the latest release
  2. Replace the custom_components/yamaha_rn301 folder
  3. Restart Home Assistant

Full Changelog: v1.4.1...v1.4.2