INTERACT FORUM

Please login or register.

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

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

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
Re: Home Assistant integration for jriver
« Reply #50 on: April 14, 2024, 10:13:03 am »

Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
Re: Home Assistant integration for jriver
« Reply #51 on: April 14, 2024, 10:24:19 am »

in fact, I'd say it's an MC bug so keep an eye on https://yabb.jriver.com/interact/index.php/topic,138671.0.html
Logged

flac.rules

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1268
Re: Home Assistant integration for jriver
« Reply #52 on: April 17, 2024, 03:46:09 am »

Sorry, I am a bit confused after reading the bug thread and the answer. I want to browse and play my playlists. Is that something i should be able to do with the plugin now?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
Re: Home Assistant integration for jriver
« Reply #53 on: April 17, 2024, 04:03:15 am »

Not via browsing no, I have to add a workaround as MC won't change their api
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
Re: Home Assistant integration for jriver
« Reply #54 on: July 04, 2024, 04:12:43 pm »

finally got round to this, I think latest version (0.2.7) should allow playlist selection
Logged

casper3127

  • Recent member
  • *
  • Posts: 18
Re: Home Assistant integration for jriver
« Reply #55 on: August 09, 2024, 02:38:45 am »

I’ve been using Home Assistant for a while now, and integrating it with different applications has been a game-changer for my setup.

I checked out your GitHub page and the integration looks promising. If you’re new to Home Assistant or looking for a guide on setting it up, https://www.mklibrary.com/how-to-install-home-assistant-on-synology/ has some useful info that could help with the initial setup.
Logged

sjhilton

  • Junior Woodchuck
  • **
  • Posts: 80
Re: Home Assistant integration for jriver
« Reply #56 on: September 02, 2024, 07:15:54 am »

Hi Matt - I just wanted to say thank you for developing this. Only discovered your work on this integration today. Works really well. I did find an issue with pausing and resuming playback. For whatever reason playback my client refuses to restart after pause from the Home Assistant interface. Might be an issue with my setup.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
Re: Home Assistant integration for jriver
« Reply #57 on: September 02, 2024, 11:07:21 am »

I guess it might depend on which widget you use in the front end assuming this is driven by user control rather than some automation?
Logged

sjhilton

  • Junior Woodchuck
  • **
  • Posts: 80
Re: Home Assistant integration for jriver
« Reply #58 on: September 03, 2024, 05:10:54 am »

I guess it might depend on which widget you use in the front end assuming this is driven by user control rather than some automation?
Thanks Matt. It's the default media control card. I've noticed that pushing the power button freezes the player as well. In your experience is there a better card (custom or otherwise) to use?
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
Re: Home Assistant integration for jriver
« Reply #59 on: September 03, 2024, 06:24:45 am »

Not sure about but I use https://github.com/kalkih/mini-media-player combined with the built in one for it's browse function (which I rarely use tbh as it has no search feature and is not customisable) and a bunch of other buttons for convenience

I will post that config later to illustrate

Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4105
Re: Home Assistant integration for jriver
« Reply #60 on: September 03, 2024, 09:07:50 am »

here's a snippet of my ui

Code: [Select]
- type: entities
  show_header_toggle: false
  entities:
    - card_type: vertical-stack
      type: custom:hui-element
      cards:
        - card_type: horizontal-stack
          type: custom:hui-element
          cards:
            - name: -5m
              tap_action:
                service: jriver.seek_relative
                target:
                  entity_id: media_player.paradroid
                data:
                  seek_duration: -300
              template: thin_button
              type: custom:button-card
            - name: -30s
              tap_action:
                service: jriver.seek_relative
                target:
                  entity_id: media_player.paradroid
                data:
                  seek_duration: -30
              template: thin_button
              type: custom:button-card
            - name: -1s
              tap_action:
                service: jriver.seek_relative
                target:
                  entity_id: media_player.paradroid
                data:
                  seek_duration: -1
              template: thin_button
              type: custom:button-card
            - name: +1s
              tap_action:
                service: jriver.seek_relative
                target:
                  entity_id: media_player.paradroid
                data:
                  seek_duration: 1
              template: thin_button
              type: custom:button-card
            - name: +30s
              tap_action:
                service: jriver.seek_relative
                target:
                  entity_id: media_player.paradroid
                data:
                  seek_duration: 30
              template: thin_button
              type: custom:button-card
            - name: +5m
              tap_action:
                service: jriver.seek_relative
                target:
                  entity_id: media_player.paradroid
                data:
                  seek_duration: 300
              template: thin_button
              type: custom:button-card
        - type: custom:stack-in-card
          cards:
          - type: custom:mini-media-player
            entity: media_player.paradroid
            max_volume: 80
            volume_step: 1
            artwork: full-cover
            hide:
              jump: false
              play_stop: false
              runtime: false
              runtime_remaining: false
              power_state: false
            view_layout:
              grid-area: media
            shortcuts:
              columns: 5
              buttons:
                - icon: mdi:power-plug-off
                  type: script
                  id: script.stop_all_playback_in_cinema
                - icon: mdi:alpha-a-box-outline
                  type: script
                  id: script.hdr_mode_auto
                - icon: mdi:numeric-1-box-outline
                  type: script
                  id: script.hdr_mode_one
                - icon: mdi:numeric-2-box-outline
                  type: script
                  id: script.hdr_mode_two
                - icon: mdi:numeric-3-box-outline
                  type: script
                  id: script.hdr_mode_three
            card_mod:
              style:
                .: |
                  ha-card div.mmp-player {
                   padding-bottom: 0px;
                  }
                  ha-card div.mmp-player__adds {
                   margin-left: 48px !important;
                  }
          - type: media-control
            entity: media_player.paradroid
            card_mod:
              style: |
                mwc-linear-progress {
                  display: none;
                }
                div.media-info {
                  display: none;
                }
                div.top-info {
                  display: none;
                }
                div.background {
                  display: none;
                }
                ha-icon-button {
                  display: none;
                }
                ha-icon-button.browse-media {
                  display: block;
                  padding-right: 10px;
                }
                mwc-icon-button {
                  padding-top: 0px;
                }
                div.title-controls {
                  padding: 0 0 0px;
                }
                .no-progress.player {
                  padding-bottom: 16px !important;
                }
                div.player {
                  color: inherit !important;
                }
                div.off {
                  display: none;
                }
        - card_type: horizontal-stack
          type: custom:hui-element
          cards:
            - name: -5dB
              tap_action:
                service: jriver.adjust_volume
                target:
                  entity_id: media_player.paradroid
                data:
                  delta: -5
              template: thin_button
              type: custom:button-card
            - name: -3dB
              tap_action:
                service: jriver.adjust_volume
                target:
                  entity_id: media_player.paradroid
                data:
                  delta: -3
              template: thin_button
              type: custom:button-card
            - name: -1dB
              tap_action:
                service: jriver.adjust_volume
                target:
                  entity_id: media_player.paradroid
                data:
                  delta: -1
              template: thin_button
              type: custom:button-card
            - name: +1dB
              tap_action:
                service: jriver.adjust_volume
                target:
                  entity_id: media_player.paradroid
                data:
                  delta: 1
              template: thin_button
              type: custom:button-card
            - name: +3dB
              tap_action:
                service: jriver.adjust_volume
                target:
                  entity_id: media_player.paradroid
                data:
                  delta: 3
              template: thin_button
              type: custom:button-card
            - name: +5dB
              tap_action:
                service: jriver.adjust_volume
                target:
                  entity_id: media_player.paradroid
                data:
                  delta: 5
              template: thin_button
              type: custom:button-card

pic attached (usually there's a background image there, looks like someone watching something before tags had been updated to add art)


Logged

sjhilton

  • Junior Woodchuck
  • **
  • Posts: 80
Re: Home Assistant integration for jriver
« Reply #61 on: September 04, 2024, 12:34:27 am »

Thanks Matt - I'll give that a go and do some tinkering. Certainly the play/pause functionality works with that player. I might also try to build a file info tile that picks up the playing now attributes.
Logged
Pages: 1 [2]   Go Up