Giter Club home page Giter Club logo

Comments (6)

KoljaWindeler avatar KoljaWindeler commented on July 23, 2024

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.

KoljaWindeler avatar KoljaWindeler commented on July 23, 2024

Nevermind found it.

from ytube_music_player.

KoljaWindeler avatar KoljaWindeler commented on July 23, 2024

first version (0.2) added as pre-release with media_browse support

from ytube_music_player.

stboch avatar stboch commented on July 23, 2024

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.

blair287 avatar blair287 commented on July 23, 2024

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.

KoljaWindeler avatar KoljaWindeler commented on July 23, 2024

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)

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.