INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 [3]   Go Down

Author Topic: Home Assistant integration for jriver  (Read 10465 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4161
Re: Home Assistant integration for jriver
« Reply #100 on: October 19, 2024, 09:40:49 am »

Logged

sjhilton

  • Junior Woodchuck
  • **
  • Posts: 93
Re: Home Assistant integration for jriver
« Reply #101 on: October 20, 2024, 07:36:31 pm »

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: [Select]
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

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

Thanks mattkhan - this looks great - my only suggestion would be to try to add a play icon in a separate column where the track/item is playing now. I've tried doing this with a few different cards, including this one and unfortunately haven't been able to figure it out. (In response to your next post - agree it would be great to have access to the image file somehow)
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4161
Re: Home Assistant integration for jriver
« Reply #102 on: October 21, 2024, 04:35:14 am »

Perhaps, you could probably do that yourself by creating an extra column formatted as appropriate
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4161
Re: Home Assistant integration for jriver
« Reply #103 on: Yesterday at 03:04:27 am »

another way to handle this playing now situation is via https://yabb.jriver.com/interact/index.php/topic,139901.0.html if that gets implemented
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4161
Re: Home Assistant integration for jriver
« Reply #104 on: Yesterday at 03:16:34 am »

latest version adds ImageURL as an attribute on each entry (which gives a url to get a small thumbnail so you can include the pic in the playlist if you want to)
Logged
Pages: 1 2 [3]   Go Up