Media sent to vlc via telnet keeps looping

Ok so I have HAOS running on an odroid n2. In the next room, I have VLC running, waiting for telnet commands via

nohup vlc -I http --extraintf telnet --no-repeat --no-loop --http-port 8278 --http-password $TELNET_PASSWORD --telnet-password $TELNET_PASSWORD --telnet-port 8878 --aout=pulse

If i play a single media file from the media tab in home assistant, it will play the file then stop playback. If I then play a second file after the first one, it will play the newly enqueued file, then play the first file.

I also am of the opinion that this behavior is causing indefinite looping when sending tracks to the same media player via music assistant.

I have been beating my head against the wall trying to figure this one out. I am not sure what logs may be relevant, at a glance I see nothing amiss.

Repeat mode is also off in the GUI in home assistant

running the action action: media_player.clear_playlist
data: {}
target:
device_id: dcda6452bcc663d0552ab4d9dc8f2eef
results in a green checkmark, but i can immediately go back over to the media player control and hit “play” and it will resume playing audio. Should that action not have cleared the playlist? Why is there still a track loaded on the media player seemingly no matter what I do?

I think you might have to try to ask the questions on a VLC forum.
HA just use the telnet API that VLC makes available to it.

ok, so now its a music assistant issue. I solved the vlc playlist issue via an automation

alias: Clear Playlist After Track Sent

triggers:
  - event_type: call_service
    event_data:
      domain: media_player
      service: play_media
      service_data:
        entity_id: media_player.master_bedroom_audio_3
    trigger: event
actions:
  - wait_template: "{{ is_state('media_player.master_bedroom_audio_3', 'idle') }}"
    continue_on_timeout: false
    timeout: "05"
  - target:
      entity_id: media_player.master_bedroom_audio_3
    action: media_player.clear_playlist
    data: {}
mode: queued

items sent via music assistant to the entity media_player.master_bedroom_audio_3 loop forever until I manually stop playback. Ill create a new thread for that ty