Comments (6)
so, I've added the first implimentation
https://github.com/KoljaWindeler/ytube_music_player/blob/main/custom_components/ytube_music_player/browse_media.py
In general it shows the user playlists and user albums .. more can be added fairly easy.
I can see thumbnails and go "into" the playlist / Album, but nothing happens when i hit the "play" icon
Any idea what's suppose to happen?
from ytube_music_player.
Nevermind found it.
from ytube_music_player.
first version (0.2) added as pre-release with media_browse support
from ytube_music_player.
Hey thanks for getting to this before I could... been busy with work...
https://github.com/home-assistant/core/homeassistant/components/netatmo/media_source.py
This is a good app with example of the media_source implementation... the important part is the async_resolve_media function that returns the url and Mime_type for the media players to use.
If you get this working theoretically you won't need the local input lookups because the media browser items will be available to all the players in the browser ui. Also could player multiple songs on multiple devices. Risk though Playlist might not work because Google doesn't like songs playing on multiple devices.
from ytube_music_player.
Hey thanks for getting to this before I could... been busy with work...
https://github.com/home-assistant/core/homeassistant/components/netatmo/media_source.py
This is a good app with example of the media_source implementation... the important part is the async_resolve_media function that returns the url and Mime_type for the media players to use.
If you get this working theoretically you won't need the local input lookups because the media browser items will be available to all the players in the browser ui. Also could player multiple songs on multiple devices. Risk though Playlist might not work because Google doesn't like songs playing on multiple devices.
Did this get added my media browser is empty in HA and this is closed with no info?
from ytube_music_player.
I guess that we're talking about two different things here ...
the ticket was about the support of the mediabrowser in general .. that was added some time ago.
My understanding is that you don't have any entries in your media_browser, correct? I saw that "confusing docu" item and added a guide to the readme https://github.com/KoljaWindeler/ytube_music_player/blob/main/README.md#step---by---step-guide
does that help?
from ytube_music_player.
Related Issues (20)
- input_select exists,uncheck the corresponding new select HOT 1
- Can't play library playlist, browsing the playlist crashes HOT 3
- Clarification about the loaded tracks limit HOT 1
- Can't get anything to play, playlist is fetched, error upon starting. HOT 1
- Deprecated methods in use (2024.5.0) HOT 1
- unable to select_option media player, error in line 36
- New Playlist Entity value not saved permanently HOT 3
- Media player is stopping after one song of a playlist chosen with the new SELECT entity HOT 7
- Please select a player before start playing, e.g. via the 'media_player.select_source' method or in the settings/config_flow HOT 6
- No Sound at all HOT 1
- Playlist plays in random order, seemingly no way to disable shuffle HOT 1
- Skip Track Using Remote HOT 2
- No matching entities found even though I have my usb audio connected and recognized by home assistant HOT 2
- Unfortunately we hit an error, please open a ticket - Integration no Longer Working HOT 2
- Γchec de l'appel du service media_player/turn_on. 'NoneType' object has no attribute 'state' HOT 4
- Songs stop playing after one track + media picture not shown HOT 13
- Start playing music with integration, control via phone apps? HOT 1
- New Update Error Uploaded Artists HOT 1
- Can't get YouTube Music to play on either Acrylic or Sonos HOT 1
- Error executing script. Unexpected error for call_service at pos 2: can only concatenate str (not "NoneType") to str HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ytube_music_player.