hslbck / gnome-shell-extension-radio

Gnome shell extension for listening to internet radio streams
GNU General Public License v3.0
144 stars 43 forks source link

Show title notification in the panel without radio station name #171

Closed matrixik closed 3 years ago

matrixik commented 3 years ago

Hello, thank you for this nice radio player.

Could you add option to hide radio station name in the top panel so only song title is shown?

I have only one radio station I'm listening to and they have dance genre used at the beginning of song title ("Dance Passion", useful for learning dance) so for example: Salsa - Ven Devorame Otra Vez - 85 bpm. If radio station name was not displayed then it would be easier to spot it when next song start.

junaru commented 3 years ago

You could just replace https://github.com/hslbck/gnome-shell-extension-radio/blob/5b4d096b40c850b92d5ce19f544651c454738864/radio%40hslbck.gmail.com/titleMenu.js#L30 with: this._titleInfo.set_text(titleInfo);

Just search for titleMenu.js on your system and edit the mentioned line.

hslbck commented 3 years ago

Maybe there will be an option in the future for this as editing every time is not convenient. But for the time being you could use the solution provided by @junaru

hslbck commented 3 years ago

removed channel name from panelbar completely

matrixik commented 3 years ago

Thank you for this fix (even that I will not see it for a long time, I'm personally sticking with Ubuntu LTS versions).