# Possibility to send "set audio source" command to UPnP receiver automaticly when operating Yatse

**URL:** <https://community.yatse.tv/t/possibility-to-send-set-audio-source-command-to-upnp-receiver-automaticly-when-operating-yatse/5118>\
**Category:** Plugins\
**Created:** [January 30, 2025, 5:24pm UTC](https://community.yatse.tv/t/possibility-to-send-set-audio-source-command-to-upnp-receiver-automaticly-when-operating-yatse/5118 "2025-01-30T17:24:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thernobyl](https://community.yatse.tv/user_avatar/community.yatse.tv/thernobyl/32/3777_2.png) [@Thernobyl](https://community.yatse.tv/u/Thernobyl)\
**Post date:** [January 30, 2025, 5:24pm UTC](https://community.yatse.tv/t/possibility-to-send-set-audio-source-command-to-upnp-receiver-automaticly-when-operating-yatse/5118/1 "2025-01-30T17:24:33Z")

</div>

Hello,

I’m new user to Yatse. I just managed to connect my sound system via UPnP plugin - it works like a charm - in terms of volume control. I was thinking if there was a possibility to automatically select source on audio device ([Arylic Up2Stream HD DAC](https://www.arylic.com/products/up2stream-hd-dac)). I’m using Tidal Connect for music and to change source for kodi (optical), I have to log in to Arylic app. On their site, there is fine documentation on what command is needed : [Arylic Audio HTTP API](https://developer.arylic.com/httpapi/#select-input-source)

```auto
GET /httpapi.asp?command=setPlayerCmd:switchmode:<player_mode>

```

Is it possible to send this command when pressing play button in Yatse ?

When i enter on web browser :

```auto
https://192.168.xxx.xxx/httpapi.asp?command=setPlayerCmd:switchmode:optical

```

The source change is working.

Like I have written before, I’m new here, so some more sophisticated explanations will be most welcome 😉 Thank You.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [February 2, 2025, 8:07am UTC](https://community.yatse.tv/t/possibility-to-send-set-audio-source-command-to-upnp-receiver-automaticly-when-operating-yatse/5118/2 "2025-02-02T08:07:20Z")

</div>

You need to create a custom command and put that url in it. See the wiki.

---

<div class="post-metadata">

**Author:** ![Thernobyl](https://community.yatse.tv/user_avatar/community.yatse.tv/thernobyl/32/3777_2.png) [@Thernobyl](https://community.yatse.tv/u/Thernobyl)\
**Post date:** [February 2, 2025, 11:02am UTC](https://community.yatse.tv/t/possibility-to-send-set-audio-source-command-to-upnp-receiver-automaticly-when-operating-yatse/5118/3 "2025-02-02T11:02:14Z")

</div>

I did everything according to :

> **[Yatse Custom Commands](https://yatse.tv/wiki/yatse-custom-commands)**
>
> Yatse allows you to create unlimited custom commands to control your media centers and much more.

type: HTTPS GET  
server: `my audio amp ip no`  
path: `/httpapi.asp?command=setPlayerCmd:switchmode:optical`

accept all certificates: checked on  
show answer: checked on

still does not work. when typing adress in browser everything works fine :  
`https://192.168.xxx.xxx/httpapi.asp?command=setPlayerCmd:switchmode:optical`

---

<div class="post-metadata">

**Author:** ![Thernobyl](https://community.yatse.tv/user_avatar/community.yatse.tv/thernobyl/32/3777_2.png) [@Thernobyl](https://community.yatse.tv/u/Thernobyl)\
**Post date:** [February 2, 2025, 11:30am UTC](https://community.yatse.tv/t/possibility-to-send-set-audio-source-command-to-upnp-receiver-automaticly-when-operating-yatse/5118/4 "2025-02-02T11:30:54Z")

</div>

Solved it,

had to reset everything, now it works. Thank You!
