Giter VIP home page Giter VIP logo

casatunes's People

Contributors

jonkristian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

oldjohngalt

casatunes's Issues

Search and queue/play media

Would be nice to be able to search media and queue or play directly.

  • Search for music in current collection GET: /media/search/{mcId}/searchText
  • Search for music via Home Assistant Assist would be a goal.

CasaTunes already supports search in their api, we might be limited by Home Assistant here but I've seen some implementation code for this on the Mopidy component.

Play via URL

I've contacted CasaTunes in an attempt for them to include an API endpoint which would allow playing media via URL. If implemented this would allow to play (cast) any local media including TTS generated within HA. I'll update this issue in case of any positive developments.

Breaking changes in HA Core 2025.1

There shall be a breaking change in version 2025.1 but for now HA is showing following warning on startup:

Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1607
First occurred: 21:29:51 (7 occurrences)
Last logged: 21:29:51

Entity None (<class 'custom_components.casatunes.media_player.CasaTunesMediaPlayer'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <MediaPlayerEntityFeature.PAUSE|SEEK|VOLUME_SET|VOLUME_MUTE|PREVIOUS_TRACK|NEXT_TRACK|TURN_ON|TURN_OFF|PLAY_MEDIA|SELECT_SOURCE|STOP|CLEAR_PLAYLIST|PLAY|SHUFFLE_SET|BROWSE_MEDIA|GROUPING: 719807>, please create a bug report at https://github.com/jonkristian/casatunes/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

HA warnings

Following warnings started appearing in 2023.2:

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for casatunes using this method at custom_components/casatunes/__init__.py, line 57: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

Detected integration that calls media_source.async_resolve_media without passing an entity_id. Please report issue for media_source using this method at homeassistant/components/media_source/__init__.py, line 147: report("calls media_source.async_resolve_media without passing an entity_id")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.