Radiotray-ng : failed to dowload playlist

When I use radiotray-ng, I get the error message failed to download playlist.
The url radio used is OK. test with this command on Nixos 22.11.
nix-shell -p --run “vlc -I curses http://smoothjazz.com/streams/smoothjazz_128.pls”.

Thanks for your help

works for me when changing the quotes to normal ones

Thanks for answer. Can you explain (are these simple quotes )?
With simple quotes in the bookmarks.json file. Radiotray-ng does not see radio stations

I’m having the same problem. For example, this works fine with VLC:

vlc -I curses https://somafm.com/dronezone130.pls

But in RadioTray, I get “Failed to download playlist”.

$ radiotray-ng --version
Radiotray-NG: v0.2.8 (v0.2.8-unknown)

Here’s the log file (saved to ~/.cache/radiotray-ng/radiotray-ng-00000.log) with "debug-logging" : true:

[2023-07-01 23:45:09.353700] [0x00007fba2c598ac0] [info ] (main.cpp:262) - radiotray-ng (v0.2.8-unknown) starting up
[2023-07-01 23:45:09.353759] [0x00007fba2c598ac0] [info ] (main.cpp:264) - radiotray-ng/0.2.8 (Linux x86_64; n/a/n/a (n/a))
[2023-07-01 23:45:09.353768] [0x00007fba2c598ac0] [info ] (main.cpp:91) - debug logging enabled
[2023-07-01 23:45:09.353777] [0x00007fba2c598ac0] [info ] (player.cpp:26) - starting gstreamer
[2023-07-01 23:45:09.364718] [0x00007fba2c598ac0] [error] (player.cpp:427) - could not create souphttpsrc element
[2023-07-01 23:45:09.365632] [0x00007fba2c598ac0] [debug] (bookmarks.cpp:31) - loading: /home/ashley/.config/radiotray-ng/bookmarks.json
[2023-07-01 23:45:09.365989] [0x00007fba2c598ac0] [debug] (file_monitor.hpp:108) - monitoring: /home/ashley/.config/radiotray-ng/bookmarks.json
[2023-07-01 23:45:09.366899] [0x00007fba2c598ac0] [debug] (media_keys.cpp:198) - starting media keys
[2023-07-01 23:45:13.308475] [0x00007fba2c598ac0] [info ] (radiotray_ng.cpp:499) - downloading: Techno / Electronic, Drone Zone, https://somafm.com/dronezone130.pls
[2023-07-01 23:45:13.308536] [0x00007fba2c598ac0] [debug] (notification.cpp:63) - notify: Connecting, Radiotray-NG, radiotray-ng-notification
[2023-07-01 23:45:13.445244] [0x00007fba2c598ac0] [debug] (playlist_downloader.cpp:140) - http-timeout=15
[2023-07-01 23:45:13.548656] [0x00007fba2c598ac0] [debug] (playlist_downloader.cpp:174) - 
[playlist]
numberofentries=5
File1=https://ice2.somafm.com/dronezone-128-aac
Title1=SomaFM: Drone Zone (#1): Served best chilled, safe with most medications. Atmospheric textures with minimal beats.
Length1=-1
File2=https://ice4.somafm.com/dronezone-128-aac
Title2=SomaFM: Drone Zone (#2): Served best chilled, safe with most medications. Atmospheric textures with minimal beats.
Length2=-1
File3=https://ice6.somafm.com/dronezone-128-aac
Title3=SomaFM: Drone Zone (#3): Served best chilled, safe with most medications. Atmospheric textures with minimal beats.
Length3=-1
File4=https://ice1.somafm.com/dronezone-128-aac
Title4=SomaFM: Drone Zone (#4): Served best chilled, safe with most medications. Atmospheric textures with minimal beats.
Length4=-1
File5=https://ice5.somafm.com/dronezone-128-aac
Title5=SomaFM: Drone Zone (#5): Served best chilled, safe with most medications. Atmospheric textures with minimal beats.
Length5=-1
Version=2

[2023-07-01 23:45:13.549899] [0x00007fba2c598ac0] [info ] (playlist_downloader.cpp:96) - decoder: PLS, audio/x-scpls
[2023-07-01 23:45:13.549934] [0x00007fba2c598ac0] [error] (player.cpp:88) - gstreamer not ready
[2023-07-01 23:45:13.549940] [0x00007fba2c598ac0] [error] (radiotray_ng.cpp:533) - failed to download playlist: https://somafm.com/dronezone130.pls
[2023-07-01 23:45:13.550299] [0x00007fba2c598ac0] [debug] (notification.cpp:63) - notify: Error, Failed to download playlist, radiotray-ng-notification
[2023-07-01 23:45:16.976197] [0x00007fba2c598ac0] [info ] (main.cpp:296) - radiotray-ng shutting down
[2023-07-01 23:45:16.976255] [0x00007fba2c598ac0] [debug] (media_keys.cpp:232) - stopping media keys
[2023-07-01 23:45:16.976742] [0x00007fba2c598ac0] [debug] (config.cpp:55) - saving: /home/ashley/.config/radiotray-ng/radiotray-ng.json
[2023-07-01 23:45:16.977341] [0x00007fba2c598ac0] [info ] (player.cpp:34) - stopping gstreamer

It looks like a missing GStreamer plugin: Failed to download playlist · Issue #16 · ebruck/radiotray-ng · GitHub

Thanks.

I’ve installed all the gst plugins available (good, bad, uglly etc.). radiotray-ng still doesn’t work. What did I miss to make radiotray-ng work.

logs:
2023-09-07 10:27:44.043449] [0x00007fd03149aac0] [info ] (player.cpp:26) - starting gstreamer
[2023-09-07 10:27:46.629755] [0x00007fd03149aac0] [error] (player.cpp:427) - could not create souphttpsrc element
[2023-09-07 10:28:37.070020] [0x00007fd03149aac0] [info ] (radiotray_ng.cpp:499) - downloading: Ile de France, France Info, http://direct.franceinfo.fr/live/franceinfo-midfi.mp3
[2023-09-07 10:28:37.380723] [0x00007fd03149aac0] [info ] (playlist_downloader.cpp:65) - detected as a direct stream, decoder: DsDecoder
[2023-09-07 10:28:37.381331] [0x00007fd03149aac0] [error] (player.cpp:88) - gstreamer not ready
[2023-09-07 10:28:37.381475] [0x00007fd03149aac0] [error] (radiotray_ng.cpp:533) - failed to download playlist: http://direct.franceinfo.fr/live/franceinfo-midfi.mp3

I’ve created a nixpgs issue for this.
https://github.com/NixOS/nixpkgs/issues/271960

problem solved. radiotray-ng working