Page 2 of 2

Re: YRadio Internet Radio Player

Posted: Fri May 17, 2024 9:01 pm
by Majestic
fredx181 wrote: Fri May 17, 2024 8:33 pm
Majestic wrote:

There is a small problem in GTK3 that can be solved by commenting out the line "--orient=vert --splitter=125" or changing the value to 185. I use pipewire, amixer works well with it.

Yes, looks weird when using yad GTK3.
Can you try this one ? (changed some for the GUI to work with GTK3 yad and added your volume mod (should work with pipewire even when you don't have amixer. edit: needs pactl though)
yradio.gz

I don’t have Pactl, I have an analogue from wireplumber - wpctl, and pamixer. I tried it, the sound does not regulate and is constantly at zero.


Re: YRadio Internet Radio Player

Posted: Fri May 17, 2024 9:12 pm
by fredx181
Majestic wrote: Fri May 17, 2024 9:01 pm
fredx181 wrote: Fri May 17, 2024 8:33 pm
Majestic wrote:

There is a small problem in GTK3 that can be solved by commenting out the line "--orient=vert --splitter=125" or changing the value to 185. I use pipewire, amixer works well with it.

Yes, looks weird when using yad GTK3.
Can you try this one ? (changed some for the GUI to work with GTK3 yad and added your volume mod (should work with pipewire even when you don't have amixer. edit: needs pactl though)
yradio.gz

I don’t have Pactl, I have an analogue from wireplumber - wpctl, and pamixer. I tried it, the sound does not regulate and is constantly at zero.

Ah, ok, that's a different scenario, I'll try to work on this more tomorrow, does the GUI look OK for you now ?


Re: YRadio Internet Radio Player

Posted: Fri May 17, 2024 9:33 pm
by Majestic
fredx181 wrote: Fri May 17, 2024 9:12 pm
Majestic wrote: Fri May 17, 2024 9:01 pm
fredx181 wrote: Fri May 17, 2024 8:33 pm

Yes, looks weird when using yad GTK3.
Can you try this one ? (changed some for the GUI to work with GTK3 yad and added your volume mod (should work with pipewire even when you don't have amixer. edit: needs pactl though)
yradio.gz

I don’t have Pactl, I have an analogue from wireplumber - wpctl, and pamixer. I tried it, the sound does not regulate and is constantly at zero.

Ah, ok, that's a different scenario, I'll try to work on this more tomorrow, does the GUI look OK for you now ?

It looks the same as in the previous post, the button has been cut off. to make it look right in @--orient=vert --splitter=125@ you need to set it to at least 175. I tried it with different versions of Yad-Gtk3.


Re: YRadio Internet Radio Player

Posted: Sat May 18, 2024 9:29 am
by fredx181

@Majestic
Looks like just removing the --splitter option is the best, then works OK for me with Yad-GTK2 and Yad-GTK3 (tested also with different Yad-GTK3 versions).
Also changed the volume code, will use amixer if exist. Please test.

yradio.gz
Remove fake .gz and make executable
(39.72 KiB) Downloaded 49 times

Re: YRadio Internet Radio Player

Posted: Sat May 18, 2024 12:37 pm
by Majestic
fredx181 wrote: Sat May 18, 2024 9:29 am

@Majestic
Looks like just removing the --splitter option is the best, then works OK for me with Yad-GTK2 and Yad-GTK3 (tested also with different Yad-GTK3 versions).
Also changed the volume code, will use amixer if exist. Please test.

yradio.gz

I tried it. Everything works great! Worthy edits to release version 1.8!


YRadio Updated to v1.8

Posted: Sun May 19, 2024 7:31 am
by fredx181

*** YRadio Updated to version 1.8 ***

See for info and download links at first post

EDIT: Tip:
Some of the "prefab" playlists (or call them "categories") from the top drop-down box may get outdated in time, i.e. containing dead urls's to streams, so you may want to update.
For example BBC , renew it by searching for BBC and save the search results:

2024-05-19_09-48-42.gif
2024-05-19_09-48-42.gif (190.7 KiB) Viewed 953 times