Need help with a browser mod entity script service

Yep, that integration seems to be hanging your script.

i deleted it re added didnt fix it

i found they changed how the intergration plays… it now executes and goes to idle 2 seconds after button press…

i wonder how many scripts automations are partially broken i have… i guess i gotta test everyone… i wish there was like in unraid “fix common issues” finds bugs as spook doesnt find all the bugs
so what i had was

  - target:
      entity_id: media_player.building_volumio
    data: {}
    action: media_player.media_play

that always worked fine.before… never had issue… but that was hanging now
so i re did it you had to add play media and then choose media type

  - action: media_player.play_media
    target:
      entity_id:
        - media_player.building_volumio
    data:
      media:
        media_content_id: >-
          {"service": "webradio", "type": "webradio", "title": "640 Toronto",
          "uri": "http://opml.radiotime.com/Tune.ashx?id=s31152", "albumart":
          "http://cdn-profiles.tunein.com/s31152/images/logoq.jpg?t=164383"}
        media_content_type: music
        metadata:
          title: 640 Toronto
          thumbnail: >-
            /api/media_player_proxy/media_player.building_volumio/browse_media/music/-2111289604527717556?token=459333fdac81986837a2ddb1a5d3ab5c94c72006eb93d99f6e4665298a81800d
          media_class: channel
          children_media_class: directory
          navigateIds:
            - {}
            - media_content_type: music
              media_content_id: >-
                {"albumart":
                "/albumart?sourceicon=music_service/webradio/icon.png", "icon":
                "fa fa-microphone", "name": "Web Radio", "uri": "radio",
                "plugin_type": "music_service", "plugin_name": "webradio"}
            - media_content_type: music
              media_content_id: >-
                {"service": "webradio", "type": "radio-favourites", "title":
                "Favorite Radios", "artist": "", "album": "", "icon": "fa
                fa-heart", "uri": "radio/favourites"}
          browse_entity_id: media_player.building_volumio

so things have changed… least its working again till someone decides to change it to break it lol

1 Like

Well done to work it out. May help someone else.

ya hopefully… i appreciate the help… cuz i had gotten no where and when there is no errors or logs to say error you never think there is a problem lol

1 Like