Skip to content

Instantly share code, notes, and snippets.

@Swipe650
Created August 19, 2017 15:25
Show Gist options
  • Save Swipe650/566caa7530700b0e28c8b4f8b7090bff to your computer and use it in GitHub Desktop.
Save Swipe650/566caa7530700b0e28c8b4f8b7090bff to your computer and use it in GitHub Desktop.
Radiotray-NG qdbus commands
# To play a station from bookmarks: play_station group station
qdbus com.github.radiotray_ng /com/github/radiotray_ng com.github.radiotray_ng.play_station Imported 'LBC UK'
#To stop playing:
qdbus com.github.radiotray_ng /com/github/radiotray_ng com.github.radiotray_ng.stop
#To get player state i.e. song title info etc:
qdbus com.github.radiotray_ng /com/github/radiotray_ng com.github.radiotray_ng.get_player_state
@fre-ac
Copy link

fre-ac commented Nov 28, 2021

Hi, this script is great for streming info but
visible incorrect encoding when using this script. The character '\ u015A' is displayed instead of the letter 'Ś'. How to change it ?
radiotray-ng1
The radiotray-ng application displays the encoding correctly:
" Radio Nowy Świat"

Thank you for your reply.

@fre-ac
Copy link

fre-ac commented Nov 28, 2021

This is the streaming address that plays radiotray-ng:
https://stream.rcs.revma.com/ypqt40u0x1zuv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment