Windows > Third Party Plug-ins, Programs, and Skins

Home Assistant integration for jriver

<< < (20/29) > >>

rhgh:

--- Quote from: rhgh on October 18, 2024, 12:55:47 pm ---MC 32 on Raspberry pi4

--- End quote ---
Das log aus Home assistant
I start a song by selecting it in the library
commands. next - back - pause - play - play - play - next
after pause it no longer responds to back and play
everything is OK in jremote
I can continue playing the song by pressing play

mattkhan:
the issue here is that the card I use (https://github.com/kalkih/mini-media-player) sends Playback/PlayPause in this situation (which toggles the pause state) whereas the HA media card sends Playback/Play and Playback/Pause depending whether it is paused or not. Play does nothing in this situation unfortunately.

I don't really understand the point of Playback/Play only responding when nothing is playing (even when something is paused) but PlayPause always responding. Playback/Play seems completely redundant to me.

I guess I have to switch to using PlayPause in all situations rather than Play

mattkhan:
I pushed that update in a new build, should work now

rhgh:

--- Quote from: mattkhan on October 19, 2024, 03:28:23 am ---I pushed that update in a new build, should work now

--- End quote ---
I installed 0.2.10.
what can I say - it works perfectly
mattkhan thanks
whoever delivers such a super fast solution deserves respect.
thanks Reinhard

mattkhan:
latest version includes 2 additional sets of sensors

sensor.<mediaserver>_<zone>_audio_is_direct
a boolean showing whether audio playback is direct or not

sensor.<mediaserver>_<zone>_playlist
a sensor with extra attributes which is a list of items from the current playlist in that zone

I'm not sure if this format is ideal for rendering, it's probably usable in a markdown card using some template or you could install https://community.home-assistant.io/t/flex-table-card/461173 like so


--- Code: ---views:
  - title: Home
    cards:
      - type: custom:flex-table-card
        entities:
          include:
            - sensor.paradroid_music_playlist
        columns:
          - name: Artist
            data: entries
            modify: x.Artist
          - name: Album
            data: entries
            modify: x.Album
          - name: '#'
            data: entries
            modify: 'x[''Track #'']'
          - name: Name
            data: entries
            modify: x.Name
    type: custom:vertical-layout

--- End code ---

if there's some other format that makes more sense and/or some good card to use for it then do share that

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version