Radio++

UUID: radio@driglu4it
Last edited:
3 months ago 2023-12-25, 04:14
Last commit: [b932c23b] radio@driglu4it: Update Danish translation (#5278)

A radio applet with 1000's of searchable stations, mpris support, youtube-download function and more

README

Close

Radio++

A simple radio applet for Cinnamon. The radio-applet has been totally rewritten for Cinnamon 4.6. All information below refers to this version. The old readme can be found here

Features

  • Radio Station search
  • The radio applet can be controlled (paused, sound increased/decreased) by programs with MPRIS control (e.g. the sound applet, kdeconnect or playerctl). Such programs also receive the title of the current playing song (e.g you can show the current playing song in the sound applet by activating the option "Show song information on the panel" in the sound applet).
  • All other running programs with sound output which have implemented the MPRIS interface (e.g. most Browsers, Spotify, ...) are automatically paused when starting a radio channel
  • A download dialog is opened when clicking on the applet for downloading the missing required dependencies (all except youtube-dl. See Dependencies section)
  • The current playing song title can be copied to the clipboard or even downloaded from Youtube
  • The volume can be controlled by using the mouse wheel while the cursor is placed on the icon in the panel. Also it is possible to toggle the play/pause status by middleclicking on the icon
  • The title of the radio channel can be shown in the panel
  • The icon color changes when a radio channel is playing
  • Seek backward/forward

Dependencies

The mpv media player is used for playing the radio channel. As the mpv media player doesn't support MPRIS control out of the box, this plugin is used to get this feature. For the mpv player and the plugin, a download dialogue is opened when clicking on the applet.

TLDR Run this gist as sudo to install youtube-dl

For the youtube download feature you can either use youtube-dl or yt-dlp. By default youtube-dl is selected. As google frequently makes technical changes to Youtube, it is highly recommended to always have the newest version of the download cli tool installed as otherwise the feature will most likely stop working after a short time. Unfortunately, the newest version in the official linux mint apt repository is usually not even close to sufficiently up to date. Therefore I highly recommend installing the software by following the official installstion instruction which can be found on the respective github page and adding a script in /etc/cron.daily to automate the update. I have created a gist for both youtube-dl and yt-dlp for this purpose.

Known Issues

  • Special characters (e.g German Umlaute) are not shown correctly on the sound applet (when the option "Show song information on the panel" is activated). This is a bug of the mpv player. There is an open pull request which will fix that. At the moment the only workaround is to compile mpv from the source of the mentioned pull request.
  • For some radio stations (e.g. BBC) the metadata can't be shown
  • It is automatically downloaded the compiled version of the mpv mpris plugin which however is only suitable for 64-bit x86 architecutres (e.g. not for the raspberry pi). In that case you unfortunately have to build the plugin by yourself at the moment and place the plugin at: ~/.cinnamon/configs/radio@driglu4it/.mpris.so.

New Maintainer Needed

I (https://github.com/jonath92) have been expanding and maintaining the Radio Applet for a while now, but for personal reasons I unfortunately have very little time for this project. Therefore I am looking for a new mainainter. I am still more than willing to help a new maintainer with technical questions about the code. If you need help regarding the code, just open an issue in the applet repo and notify me in the issue.

Log In To Comment!

253 Comments

Padre2
Padre2-1 day ago
I am using Arch version 6.8.6 and Cinnamon Cinnamon 6.0.4. Since the rewriting the new version, I have been able to use the Radio++ applet. I have had it installed on Arch for almost 4 years and is has been one of my favourite applets used almost every day. I was not happy with the update adding searches especially for YouTube, but could live with them. I was happy to see all my old stations displaying, but if I click on one and it opens, there is no way to stop it. The drop-down menu only displays the list of stations. Clicking an another station will open it and you have 2 stations playing and worse still the system hangs and requires powering off. Can you fix these issues? In the meantime is there anywhere I can download the old version to see if I can get it working.
Jonathan Sarrazin
The code is open source. So feel free to fix it yourself. As already said 3 years ago: You can revert back by copying the content from ~/.local/share/cinnamon/applets/radio@driglu4it/3.0 to ~/.local/share/cinnamon/applets/radio@driglu4it/4.6
maloosheck
maloosheck-1 week ago
Applet stopped working after I upgraded Cinnamon to 6.0.4
Tony
Tony-2 months ago
Update to my comment a day ago. Seems the 'station name' problem recurred but restarting Cinnamon restores it to normal.
Tony
Tony-2 months ago
Thank you Jonathan for a fine piece of design and programming. I use this applet daily. Built a new machine with LM21.3 (Cinnamon 6) and the applet played up for a day or so with selected station name not updating, but after a kernel update (5.15.0-92-generic) today it seems to be working perfectly again. No idea why! Again, thank you
Michael Richards
Michael Richards-4 months ago
I just installed this Applet and it works great right off the word GO. Great Applet, thanks.
archiebug
archiebug-4 months ago
Thanks for the great applet. There is now an issue when using Cinnamon 6.0. The applet does not start. Here is a snip from the log file: [radio@driglu4it]: SessionAsync is not a constructor [radio@driglu4it]: Error importing applet.js from radio@driglu4it Gjs-Message: 08:42:59.917: JS LOG: [LookingGlass/trace] <---------------- anonymous/<@/home/<user>/.local/share/cinnamon/applets/radio@driglu4it/4.6/radio-applet.js:5575:21 anonymous@/home/<user>/.local/share/cinnamon/applets/radio@driglu4it/4.6/radio-applet.js:5837:12 createExports@/usr/share/cinnamon/js/misc/fileUtils.js:219:11 requireModule@/usr/share/cinnamon/js/misc/fileUtils.js:281:16 require@/usr/share/cinnamon/js/misc/fileUtils.js:222:24 anonymous@/home/<user>/.local/share/cinnamon/applets/radio@driglu4it/4.6/applet.js:6:30 createExports@/usr/share/cinnamon/js/misc/fileUtils.js:219:11 requireModule/</<@/usr/share/cinnamon/js/misc/fileUtils.js:291:25 ----------------> Issue started after upgrading to Cinnamon 6.0
Harry Richmond
Harry Richmond-4 months ago
Thanks for this great applet. Any idea to fix downloading crash ? I've tried your gist, but it don't fix the issue. Best regards.
Jonathan Heard
Jonathan Heard-4 months ago
Did you also try with yt-dlp?
tomaasz
tomaasz-7 months ago
could you add codec/bitrate info ?
FoulerTripod363
FoulerTripod363-7 months ago
Amazing app and amazing developer keep the good work!
Rodrigo100-dev
Rodrigo100-dev-8 months ago
How to add this station: live2.mystreamplayer.com/bigradio?autoplay=18 When I put this address the program does not play this station.
kearun
kearun-8 months ago
The best applet, but I ask the author to add the ability to create your own playlist, even a few ... If you add many stations to my station, when you click on the applet, it switches to the last station.
Owweeee
Owweeee-8 months ago
Its a great applet, but since doing a reinstall of Mint (21.1/21.2) its doing something weird. The applet stops responding like its stopped playing previously (similar to the first problem posted a month ago by NorfLoud) but it keeps playing the station and sometimes I've had 3 or more radio stations playing over each other and only a reboot will fix it.
guy6308
guy6308-2 months ago
Yes, I am using 2.2.4 on Mint 21.2 and indeed, sometimes when selecting a radio station it starts to play but the applet does not show that a station is playing, and if you select another station, they bot play at the same time. A workaround that works for me : is you have 2 stations playing at the same time, kill the process you do not want. AND, no need to reboot the system . Just re-start Cinnamon with Ctrl-Alt-Esc.
Owweeee
Owweeee-8 months ago
Ive found out how to stop it, you have to end the mpv process and then reload the applet.
angelotux
angelotux-10 months ago
excellent app for information can you change the icon and insert a custom one?
NorfLoud
NorfLoud-10 months ago
Hello, I like your applet, but there are problems with it on linux mint 21.1. Problems: 1) The interface freezes - I select another station, but the display does not switch to it, the name of the song being played does not change. Sometimes the interface displays an open circle with an arrow and then the application does not respond to the station selection at all and does not reproduce anything. Only restarting applet helps. 2) When you exit the screen saver, the radio station stops playing.
NorfLoud
NorfLoud-10 months ago
I tried another application, it also uses mpv to play the radio. When the screen turns off it just stops playback. I solved the problem by simply prohibiting turning off the screen. It looks like corrections need to be made to the mpv player itself. If we could inform the developers of the mpv player about the necessary fixes, that would be great.
NorfLoud
NorfLoud-10 months ago
Clarification: such problems arise when you exit the screensaver after the monitor has gone out. The monitor turns on, my password request is turned off, playback is interrupted, the desktop appears. I have Linux MInt 21.1 Cinnamon.
Jonathan Heard
Jonathan Heard-10 months ago
> 1) The interface freezes - I select another station, but the display does not switch to it, the name of the song being played does not change. Sometimes the interface displays an open circle with an arrow and then the application does not respond to the station selection at all and does not reproduce anything. Only restarting applet helps. This can happen when the url is not valid. But usually this should only be the case for a short while until mpv stops. The ui is only updated after mpv detects the change. This has the benefit that you can stop the radio remotely (e.g. via kde connect) and theoretically you can even change the url remotely although I doubt that anybody is doing this and maybe this should be changed but this is not an easy change and i doubt I will find for this in the foreseeable future but pull requests are much appreciated. > 2) When you exit the screen saver, the radio station stops playing. I understand that this annoys you but for me that is a rare and complicated edge case which most likely is more a problem in mpv itself and not in the applet. I will definitely not fix that. But again pull requests are much appreciated.
NorfLoud
NorfLoud-10 months ago
Understood. Is this only happening in linux mint 21.1 cinnamon?
TimeWaster
TimeWaster-10 months ago
Hi, for some reason i cannot see any controls except for the radio list, i can start playback but not stop it or control it. I installed LMDE 2 days ago, everything should be up-to-date. Is there a way to debug this? It's just Javascript, right?
Jonathan Heard
Jonathan Heard-10 months ago
Are you sure you are using this applet and not the Radio3.0 applet? If so, do you see anything regarding to radio++ in the ~/.xsession-errors? Does this file: ~/.cinnamon/configs/radio@driglu4it/.mpris.so exist? It is typescript. You can of course pull the code and make some logs and further investigate the problems. Pull Requests are more than welcome.
TimeWaster
TimeWaster-10 months ago
another question: there is a package mpv-mpris in the apt sources, why can't this be used?
Jonathan Heard
Jonathan Heard-10 months ago
That package didn't exist when the code has been written. But I agree that it would make sense to prefer this package over the download from github. So feel free to make a pull request ;-).
TimeWaster
TimeWaster-10 months ago
yeah, i also tried Radio3.0 and found it way too complicated. the only noteworthy output of sxession-errors is when i remove Radio++ from the taskbar: ``` Gjs-Message: 10:27:53.186: JS LOG: [LookingGlass/warning] Invalid or null signal handler id used when attempting to .disconnect from an object. overrideDumpStack/global.dump_gjs_stack@/usr/share/cinnamon/js/ui/overrides.js:24:42 overrideGObject/GObject.Object.prototype.disconnect@/usr/share/cinnamon/js/ui/overrides.js:46:20 _onAppletRemovedFromPanel@/usr/share/cinnamon/js/ui/applet.js:421:25 removeAppletFromPanels@/usr/share/cinnamon/js/ui/appletManager.js:325:20 onEnabledAppletsChanged@/usr/share/cinnamon/js/ui/appletManager.js:291:31 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:528:46 removeApplet@/usr/share/cinnamon/js/ui/appletManager.js:512:21 _removeAppletFromPanel/<@/usr/share/cinnamon/js/ui/appletManager.js:641:25 Gjs-Message: 10:27:53.186: JS LOG: [LookingGlass/error] No signal connection 1 found Gjs-Message: 10:27:53.186: JS LOG: [LookingGlass/trace] <---------------- _disconnect@resource:///org/gnome/gjs/modules/core/_signals.js:58:11 deactivateAllListener@/home/user/.local/share/cinnamon/applets/radio@driglu4it/4.6/radio-applet.js:2754:62 handleAppletRemoved@/home/user/.local/share/cinnamon/applets/radio@driglu4it/4.6/radio-applet.js:5777:76 createAppletContainer/applet.on_applet_removed_from_panel@/home/user/.local/share/cinnamon/applets/radio@driglu4it/4.6/radio-applet.js:4061:73 _onAppletRemovedFromPanel@/usr/share/cinnamon/js/ui/applet.js:424:14 removeAppletFromPanels@/usr/share/cinnamon/js/ui/appletManager.js:325:20 onEnabledAppletsChanged@/usr/share/cinnamon/js/ui/appletManager.js:291:31 createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:528:46 removeApplet@/usr/share/cinnamon/js/ui/appletManager.js:512:21 _removeAppletFromPanel/<@/usr/share/cinnamon/js/ui/appletManager.js:641:25 ----------------> Gjs-Message: 10:27:53.186: JS LOG: [LookingGlass/error] Error during on_applet_removed_from_panel() call on applet: radio@driglu4it/52 ``` the file "~/.cinnamon/configs/radio@driglu4it/.mpris.so" does NOT exist. but i know that i clicked the "download on my own risk" option.
Jonathan Heard
Jonathan Heard-10 months ago
Hm that's weird. After a fresh look into the code I must correct my self. The path of the mpris extension doesn't mandatory have to be here: ~/.cinnamon/configs/radio@driglu4it/.mpris.so. It is either this directory (or the cache directory returned from imports.gi.Glib.get_user_cache_dir) which is pretty confusing tbh. For me it looks pretty much like as if the mpris plugin doesn't work on your machine. So I would recommend you to do the following: 1. Download the mpris plugin manually to the configs dir: `wget https://github.com/hoyon/mpv-mpris/releases/download/0.5/mpris.so -O ~/.cinnamon/configs/radio@driglu4it/.mpris.so` 2. Start mpv manually: mpv --config=no --no-video --script=~/.cinnamon/configs/radio@driglu4it/.mpris.so http://wdr-wdr2-rheinruhr.icecast.wdr.de/wdr/wdr2/rheinruhr/mp3/128/stream.mp3 And see the logs. I expect that there will be some issues with the plugin on your machine. You need to figure that out and then replace the mpris.so file with a file which is working on your machine (maybe you can just use newest version of the plugin which should be changed in the code anyway) or in the worst case you have to build it by yourself. https://github.com/hoyon/mpv-mpris#build
TimeWaster
TimeWaster-10 months ago
i found the file here: ~/.cache/radio@driglu4it/.mpris.so wgetting it to .cinammon/configs and running the mpv command works fine, it also correctly reacts to playerctl: mpv --config=no --no-video --script=~/.cinnamon/configs/radio@driglu4it/.mpris.so http://wdr-wdr2-rheinruhr.icecast.wdr.de/wdr/wdr2/rheinruhr/mp3/128/stream.mp3 (+) Audio --aid=1 (mp3 2ch 48000Hz) AO: [pulse] 48000Hz stereo 2ch float A: 00:00:00 / 00:00:03 (24%) Cache: 2.7s/97KB File tags: icy-title: Lenny Kravitz - It ain't over 'til it's over A: 00:00:08 / 00:00:14 (59%) Cache: 5.6s/203KB mpv log shows no errors and i can see that the mpris library was loaded. i tried rebooting and uninstalling and reinstalling the applet, to no avail.
TimeWaster
TimeWaster-10 months ago
uhm... it just suddenly started working after i started debugging the code (i only added log statements and restarted cinammon)... *confused*
Jonathan Heard
Jonathan Heard-10 months ago
Hm That's weird. Than I hope you will like the applet and if you do so, I would appreciate if you click the like button on this page as it helps me to improve my reputation as a developer.
TimeWaster
TimeWaster-10 months ago
i very much like it, simple and clean. only thing i would add is to show the codec/bitrate in the search list. Liked.
Jonathan Heard
Jonathan Heard-10 months ago
I can't answer here with code snippets as I get an error. Please see my answer therefore here: https://github.com/linuxmint/cinnamon-spices-applets/issues/4863
kstr3
kstr3-1 year ago
Hi, Do not know why sometimes a video is downloaded from YouTube, and others I just get a wpbp image. Using yt-ldp straightforward from command line, with not extra options (only URL), I get the video successfully :) Should I do some additional configuration? ("Configure" option gives no possibilities AFAIK) Thanks in advance
rlw1138
rlw1138-1 year ago
Love Rdio++! It's running all day, every day! But like DevilzEyes, for the past week-ish I get an error downloading from YT. I have the daily cron jobs to get the updates to YTdlp and yutoob-dl, so not sure where the issue is... Thanks for R++ ! ! !
Devilzeyez
Devilzeyez-1 year ago
hey man great applet, i've been using it on every pc i'm using. but recently i've been having a problem trying to download keeps getting an error!!! using it on Linux Mint the latest.
Bruno
Bruno-1 year ago
Man , this radio applet is priceless. Works without a hitch. Love the fact that you can import/export lists. Any chance KDE gets this awesomeness ?
demarkz
demarkz-1 year ago
Any chance we can have an update to Linux Mint 21.1 since the radio isn't working in the new version anymore?
Jonathan Heard
Jonathan Heard-1 year ago
Yes I already made a pull request a couple of weeks ago but unfortunatley the Mint Team hasn't merged it yet (which is really annoying). As a workaround you can replace th radio-applet.js file with this command: wget -O ~/.local/share/cinnamon/applets/radio@driglu4it/4.6/radio-applet.js https://raw.githubusercontent.com/linuxmint/cinnamon-spices-applets/e0b5c3e782d0acf64775bd7e844c216f6607f98b/radio@driglu4it/files/radio@driglu4it/4.6/radio-applet.js
kuehhe1
kuehhe1-1 year ago
Hello, on 01.01.2023 the new Radio++ "Version 2.2.3 from 2023-01-01 21:27:08" was updated via the update management of LM21.1Cin. The popup for installing the: .mpris.so plugin is no longer displayed. Saved channel lists can be imported and played. Thanks a lot.
Jonathan Heard
Jonathan Heard-1 year ago
What do you see in the terminal when you run `python3 ~/.local/share/cinnamon/applets/radio@driglu4it/4.6/download-dialog-mpris.py`? Is the dialog than opened?
kuehhe1
kuehhe1-1 year ago
In addition: the installation creates an additional directory for the: /.mpris.so plugin in: ~/.cache/radio@driglu4it ... Why in the cache? Why not in: ~/.configs/cinnamon/spices/radio@driglu4it ?
Jonathan Heard
Jonathan Heard-1 year ago
Yes that's a good question. It was in the cinnamon configs dir in the past but as the cinnamon configs dir had changed I had to also change it in the code. So while refactoring the code I asked my self if this really belongs in the configs directory. And I have come to the conclusion that it doesn't belong there as it is not a configuration. I find it really annoying that a lot of apps (especially electron apps) put every crap in that directory which makes it much more difficult to track your own settings changes. If every app would put all config files - and only config files - in the config dir, it would be much easier to create backups for it and track setting changes (since you could then just use the folder as a git repo). The only thing which is currently not so nice, is that the applet folder in the cache directory doesn't get deleted when the applet is uninstalled but I want to add this in the feature and it is not so problematic as the mpris plugin is very small.
demarkz
demarkz-1 year ago
Thank you, Jonathan. It worked and now I can listen to my radios again.
Tony
Tony-1 year ago
Typo in my previous comment. Should read "all Cinnamon applet configurations have been moved from ~/.cinnamon/configs to ~/.config/cinnamon/spices
Jonathan Heard
Jonathan Heard-1 year ago
Thanks for reporting :-)
Jonathan Heard
Jonathan Heard-1 year ago
Should be fixed in new version
Tony
Tony-1 year ago
Linux Mint 21.1 is now in beta testing. It seems to break this app - the mpris plugin can't be installed by the applet. This appears to be because all Cinnamon applet configurations have been moved from ~/cinnamon/configs to ~/.config/cinnamon/spices. Hope that can be sorted out. I love Radio++
invexx
invexx-1 year ago
Thank you VERY much for making this applet. One tweak would make it even more enjoyable. Pressing Pause or Stop, the sound could in a fraction of a second go down to zero, so it wouldn't be so jarring. And pressing Play could again in a fraction of a second go from zero to the set volume.
Jonathan Heard
Jonathan Heard-1 year ago
Thanks for the kind words. Is this is a common feature of other media applications? I personally can't remember ever seeing this kind of feature in any other applications. Maybe I can add an option for this in the settings at some point in the future but it doesn't have a high priority for me tbh. But Pull requests are always welcome.
Tony
Tony-1 year ago
Hi Jonathan, it is probably not common but certainly is a much-liked option in Clementine and Strawberry players
invexx
invexx-1 year ago
Thank you for your reply. Yes, Rhythmbox music player has it.
Jonathan Heard
Jonathan Heard-1 year ago
Which option is this in Rhythmbox? Do You mean crossfade? Because I think crossfade is a little bit different. Or do you mean that Rhythmbox does this out of the box? Because I don't recognize this at Rhythmbox but maybe it is just so marginal that I just don't recognize this.
invexx
invexx-1 year ago
Hi Jonathan. No, it's not crossfade. I apologize. It definitely is as I described it in my Mint installation. However, to compare, I booted a live USB, installed Rhythmbox and played a song. Pausing and playing is jarring. So I thought that maybe it's a plugin. I disabled all plugins in my Mint installation and it's still working. Very confusing, so I recorded a few seconds of a song where I paused/played three times. Please have a listen invex.net/recording.wav. You'll clearly hear what I mean.
Jonathan Heard
Jonathan Heard-1 year ago
Ok thanks for the clarification. Very interesting.
johnnrandall
johnnrandall-1 year ago
Hi, Is there a way to set keyboard shortcuts to control stop/play of stations?
Jonathan Heard
Jonathan Heard-1 year ago
Not really at the moment. You could create a hack with playerctl but that's not very convenient of course. But I think it is a reasonable feature which I might consider at some point in future and Pull requests are always welcome.
dilinger
dilinger-1 year ago
Hi, just as a heads-up; debian unstable now has an mpv-mpris package (see https://tracker.debian.org/pkg/mpv-mpris ). I may also provide this as a backport for debian 11, if I end up using radio++ regularly. Either way, mpv-mpris will be in debian 12, ubuntu 24.04, and mint 22. The package puts the plugin at /usr/lib/mpv-mpris/mpris.so I was able to use it with your radio++ spice by symlinking it (ln -s /usr/lib/mpv-mpris/mpris.so ~/.cinnamon/configs/radio@driglu4it/.mpris.so), but it would be great if you could also check for the plugin in /usr/lib/mpv-mpris by default. Thanks!
Jonathan Heard
Jonathan Heard-1 year ago
What is the benefit of installing it via apt instead of downloading it directly (which is just one click with the provided dialogue)? I am a little concerned that we're going to end up reviewing a number of storage locations in the end.
dilinger
dilinger-1 year ago
There's 3 main benefits: 1) Trust. You could argue that I'm already relying heavily on trust since I'm downloading spices from outside of my distribution's main repository, but spices are at least still javascript that we can view the source code for. Downloading a compiled binary from a random place (even if that random place is github) is not great for security, and it's definitely not a good idea for users to get comfortable with doing that on a regular basis. But the packaged version of mpv-mpris? I trust that a lot more. 2) Convenience. Distributions will build versions for all architectures they support, so Pi users don't have to build it themselves. 3) Security. Your spice will download the .so, but does it ever get updated if there's a security issue? I agree that it's still early and you'll want to wait a bit to ensure that the path to the shared library stays the same as the package migrates from Debian to other distributions, but I just wanted to let you know for the future.
Jonathan Heard
Jonathan Heard-1 year ago
Ok thanks for your explanation. These are indeed very good points. I will add the path in the next Update.
wojtastytus
wojtastytus-1 year ago
Hello, I have Linux Mint 21 installed and the Radio++ program works great, but still can't download from YouTube can you help me. I want to point out that I am learning this system. Thank you.
Jonathan Heard
Jonathan Heard-1 year ago
Hi, sorry to hear that. In general it would be very helpful to have more information than 'still can't download', e.g. do you get a notification that tells you that the download failed? I guess the problem for you (and other users) is that they don't have a recent youtube-dl version installed which you can either install by following the official installation instructions: https://github.com/ytdl-org/youtube-dl or by simply executing this command: sudo su -c "bash <(wget -qO- https://gist.githubusercontent.com/jonath92/039e998b3d3f6ba4afd5d5c671eaedf1/raw/23542a3aadadf5ba181fb8aff723c27610551abd/install-update-yt-dlp.sh)" root in the terminal.
wojtastytus
wojtastytus-1 year ago
Jonathan Heard - Hello, thank you very much for your help I managed to fix the problem with the command: sudo su-c....., Greetings. Wojtek
Sudhanva Lalit
Sudhanva Lalit-1 year ago
I did a fresh install today (arch linux, cinnamon desktop). Unfortunately it didn't add mpris.so to the config folder. So I did a make install, and it compiled an mpris.so. The applet doesn't like mpris.so, so needs to be renamed to .mpris.so and things work fine.
wmr500
wmr500-1 year ago
I am unable to download the music file says I need to update if I do sudo apt update will that fix it wmr500@gmail.com I'm 78 in over my head
Jonathan Heard
Jonathan Heard-1 year ago
The notification should say that you shouldn't use apt for this purpose and it is only written above in the readme. You need to execute this command on the terminal: sudo su -c "bash <(wget -qO- https://gist.githubusercontent.com/jonath92/0f6bf4606bc8a34be1bb0826c99b73d1/raw/914aabe6c4b15dc614f18c8816f5ad2828755c22/install-Update-Youtube-dl.sh)" root
elvino1
elvino1-1 year ago
Pardon my ignorance - but how can I export my radio station list to another linux mint installation?
Jonathan Heard
Jonathan Heard-1 year ago
You need to copy the ~/.cinnamon/configs/radio@driglu4it/radio@driglu4it.json file.
elvino1
elvino1-1 year ago
Thanks Jonathan
mpauld77
mpauld77-1 year ago
One of the main reasons I use LinuxMint is this specific applet. I don't know of any other similar application in which one can simply type the name of any radio station and add it automatically to the list. I would like to ask whether it is possible to use or port this applet to other ubuntu based distros, like Kubuntu and Ubuntu. I use it on a daily basis for more than 8-10 hours a day.
Jonathan Heard
Jonathan Heard-1 year ago
I am glad you like it. It is not easily possible to port a cinnamon applet to any other desktop environment as the applets depend on the cinnamon js runtime. Porting the applet to a different desktop environment than Cinnamon would basically require a significant rewrite of the code.
zvrabec
zvrabec-1 year ago
Hi Jonathan! The problem with volume slider still persists. I can decrease volume, but I can't increase it. (Arch linux+Cinnamon 5.4.9)
Jonathan Heard
Jonathan Heard-1 year ago
I can't reproduce this. Are you sure that you have the newest version installed, which should be: Version 2.1.4 (2022-08-18 22:35:39) - the timestamp is actually important because I forgot to increase the number :-/.
Donatas Šauklys
Donatas Šauklys-1 year ago
Volume slider does not work on LM 21.
Jonathan Heard
Jonathan Heard-1 year ago
Should now be fixed
sasa-hein
sasa-hein-1 year ago
Hi Jonathan, since i upgradet from LM 20.3 to LM 21, the volume in the applet does not work by mouse. Thanx for your work, realy nice app.
Axel Schneider
Axel Schneider-1 year ago
Same on LMDE5 after cinnamon update today, with the mouse wheel you can only make it quieter, louder is only up to 5% Nothing works with the mouse button.
jakobjunck
jakobjunck-1 year ago
HI, i really appreciate your work. However, the downloaded file cannot be moved (all though it is in /tmp dir). I have to move the file manually before shutting down my machine. Anyone can tell me why this Cjs-Message: 09:04:57.048: JS LOG: [LookingGlass/error] Failed to copy download from tmp dir. The following error occurred: Error moving file /tmp/{Name of file}.mp3: No such file or directory shows up in .xsessions-errors (~) to me ? I assume the problem is that the file contains blank spaces and occurs in line 4331 in radio-applet.js. Anyone can help me? If you need something from my system, just tell me
gitusername33
gitusername33-1 year ago
love this applet; although i have also been unable to get the downloads to work; even after attempting to follow some of the notes in the comments, etc .. . :: :
deo
deo-1 year ago
thanks, works very well. 2 questions: 1- download fails and i think it's because of youtube-dl itself, how can i switch to yt-dlp? 2- is there a way to extend the cached stream?
Jonathan Heard
Jonathan Heard-1 year ago
You can switch to yt-dlp by: right click on applet -> Configure -> Preferences -> YouTube Download CLi tool. Right now there is no way to extend the cached stream but I plan to add this as I expect this to be easy to implement.
Flausch
Flausch-1 year ago
Works well with manjaro. Download is OK only with some radiostations. Thanks for radio++. I use it often and with pleasure.
richo
richo-2 years ago
thanks
TheTimBrick
TheTimBrick-2 years ago
Everything works fine for me except the download. I tried youtube-dl and yt-dlp and got nothing. I always get the same error in .xsession-errors. It is always unable to copy the file from the /tmp directory due to it not being able to find the file, although it exists. I think it may be because of the white-spaces and special characters in the mp3 file name but I am not sure how to fix this. Any help will be much appreciated!
Jonathan Heard
Jonathan Heard-2 years ago
Can you post an example file path and which Linux Distro are you using?
TheTimBrick
TheTimBrick-2 years ago
My distro is Ubuntu 20.04 The download location is /tmp e.x. "/tmp/High Score Girl Ending Full 「Etsuko Yakushimaru - AfterSchoolDi(e)stra(u)ction」.mp3" (real file and location) and the directory it is supposed to move it to is ~/Music/Radio/ Though despite the directory listing saying that the file exists I get the following error in .xsession-errors " Cjs-Message: 16:53:17.958: JS LOG: [LookingGlass/error] Error moving file /tmp/High Score Girl Ending Full 「Etsuko Yakushimaru - AfterSchoolDi(e)stra(u)ction」.mp3: No such file or directory Cjs-Message: 16:53:17.960: JS LOG: [LookingGlass/error] failed to copy from tmp dir. The following error occured " I have observed that it downloads the file perfectly, and even plays good too! It just seems like it is an issue with it copying it to the output directory. Maybe a problem with whites-paces?
deo
deo-1 year ago
i found out the problem being the Radio not existing in Music directory, it worked after i created it manually
Jonathan Heard
Jonathan Heard-2 years ago
I currently don't have much time. I will have a look at the weekend. I don't think that is related to whitespace as I believe they didn't make problems on my PC in the past but I think it might be due to non ASCII characters.
Jonathan Heard
Jonathan Heard-2 years ago
Unfortunately I couldn't reproduce the issue. It is working on my machine even with spaces and special characters. But I made a PR to improve the error handling because actually there should be some more information after the "The following error occurred" sentence. I would appreciate if you could post your error Message again after the pr has been getting merged. Or if you don't want to wait you can alternative replace the `~/.local/share/cinnamon/applets/radio@driglu4it/4.6/applet.js` file on your machine with this file: https://github.com/linuxmint/cinnamon-spices-applets/blob/753ff70dd4480869f20dda42bed7225e8b286032/radio@driglu4it/files/radio@driglu4it/4.6/radio-applet.js
its_hitzz
its_hitzz-2 years ago
Firstly this is a great tool that I came across and I love it. One thing I wanted to add , a kind of request , that It does not have all the major channels from India , So Is there any way to add the channels to the list. If this is done then it will be great.
Jonathan Heard
Jonathan Heard-2 years ago
First I am glad you like it. Feel free to press the like button on this page ;-). The stations are downloaded from https://www.radio-browser.info but there is currently no automatism to upgrade them frequently but I want to implement this now. Not sure when I finalize it. In the mean time you can either add a station by yourself in the "My Stations" tab in the settings or by manually upgrading the `~/.local/share/cinnamon/applets/radio@driglu4it/4.6/allStations.json` file with this gist: https://gist.github.com/jonath92/0fd6419a2cfecbbe2f6b6d790dc84298
Wangbo59
Wangbo59-2 years ago
Just found this while looking for a substitute for Radiotray which i really liked this is very similar with a few pluses added in I wonder if it is possible to categorize the types of music into groups so is easier to navigate IE Rock, Jazz, Classical, Classic Rock Easy Listening, New Age etc. like Radiotray was set up as it reduces the size of the radios list. Found one sort of bug when adding radios in My stations the bottom station is cut off and covered by the right left slider. and if maximized am limited by the verticle box to only seeing a very limited number of stations would be nice if could drag the box to a larger size. Thanks again for a wonderfuyll app
Jonathan Heard
Jonathan Heard-2 years ago
Yes that feature request has been mentioned in the past already. Unfortunately I currently don't have much time for the applet and if I have time I want to first improve the Code. But pull requests and questions about the Code are always welcome and much appreciated.
MinePro120
MinePro120-2 years ago
Hello again, how does the applet fetch the name of the song? I can't exactly figure it out. I'd like to contribute the name of the song for a station already included.
MinePro120
MinePro120-2 years ago
Figured it out, mpv does it through ICY. I'd like to request a feature then, there cουld be an option to fetch the song title from a URL (a simple GET request), for stations without ICY.
Jonathan Heard
Jonathan Heard-2 years ago
This would be possible only in a limited way at the moment as I can't change the title of the mpv mpris interface but it would be possible to show it in the tooltip and the popup Menu of the applet. For that I would need more information - e.g where comes the URL from? I tried it a long time ago for BBC but couldn't manage to get it... So when you have an example I can look what I can do (or you make a pull request ;-))
MinePro120
MinePro120-2 years ago
Oops, it seems markdown is not supported here ':-D.
MinePro120
MinePro120-2 years ago
I find the URLs myself, for example, for [BBC Radio 6 Music](https://www.bbc.co.uk/sounds/play/live:bbc_6music), the title of the song currently playing can be found in [this JSON](https://rms.api.bbc.co.uk/v2/services/bbc_6music/segments/latest?limit=1) (under "data>0>titles").
Jonathan Heard
Jonathan Heard-2 years ago
Yes that's useful thanks. One thing we haven't considered yet is how do we get informed when the title changes? The only solution which comes to my mind is polling which is not so great. Do you have more URLs like that? I can imagine to temporarily hard code some urls and improve it later when we found a more generic solution.
MinePro120
MinePro120-2 years ago
Yeah, polling is what I had in mind... But it could be once every 30s for example, it's reasonable enough. A (more) generic solution would probably be centered around a JSON parser, right? There could be a button to switch between mpv's title and this method, a field for the URL and one for the JSON variable with the title... Although I don't think a good generic solution exists, because fetching the title is API specific (some websites use plaintext, others JSON etc.). So it is probably not worth implementing anything that will only work for a couple of APIs. Also, the way I find the URLs is using the network monitor, in Firefox, on the webpage that contains the title (that changes dynamically) and looking at the responses of the requests that occur when the song changes.
Jonathan Heard
Jonathan Heard-2 years ago
I am sorry MinePro120 but for the moment I won't implement something in that direction. The requirements are at the moment not clear enough and unfortunately I have one million other things to do. Also I don't want to implement something which make the code more unreadable than it is already. But I really appreciate your input and maybe one of us have an idea at some point in the future which would be easier to implement. Also pull requests are always welcome.
MinePro120
MinePro120-2 years ago
Totally understood, it's probably not worth it :).
Andonis
Andonis-2 years ago
Hi, I love your work !! Thank for it. Is it possible to start one radio in Radio++ from a bash command ? Thank you a lot Context : I would love to be able to start one radio after the connection to my Bluetooth speaker. I wrote a script in bash to connect to my speaker, but I don't know how to start Radio++ from shell.
Jonathan Heard
Jonathan Heard-2 years ago
Yes that is absolutely possible. You don't really start radio++ from a bash command but mpv with the mpris plugin: ``` mpv --config=no --no-video --script=~/.cinnamon/configs/radio@driglu4it/.mpris.so --volume=50 http://wdr-wdr2-rheinruhr.icecast.wdr.de/wdr/wdr2/rheinruhr/mp3/128/stream.mp3 ``` Of course you need to replace the url with one of your stations. One thing you should keep in mind however, is that this only works for starting a channel but not for changing. For that case I think you can use playerctl in your bash script. Let me know if you have any problems.
Andonis
Andonis-2 years ago
Thank you a lot, I will kill any instance of mpv before running my script
Andonis
Andonis-2 years ago
Sorry for my previous comment, I just understood that radio++ really need to be stoped !
Andonis
Andonis-2 years ago
Thank you for your answer, but ``` mpv --config=no --no-video --script=~/.cinnamon/configs/radio@driglu4it/.mpris.so --volume=50 http://wdr-wdr2-rheinruhr.icecast.wdr.de/wdr/wdr2/rheinruhr/mp3/128/stream.mp3 ``` Start the radio but not in the applet radio++. I would like to be able to stop the radio (launch with the script) with the applet. Is it possible ? (I added http://wdr-wdr2-rheinruhr.icecast.wdr.de/wdr/wdr2/rheinruhr/mp3/128/stream.mp3 as one of my radio)
MinePro120
MinePro120-2 years ago
The "--no-video" mpv flag can be used in the line "const command = `mpv..." to discard any video streams, from YouTube for example. Very nice work btw!
Jonathan Heard
Jonathan Heard-2 years ago
Yes that can be added.
BDDbamn
BDDbamn-2 years ago
How can I add my favorite home town stations that offer live streaming? I have tried to just copy&paste the URL where the stream player is located, but the player acts like it is attempting to load that station, and then jut stops and doesn't play anything until I change to one of the preset stations already included
Jonathan Heard
Jonathan Heard-2 years ago
Are you sure the URL is valid? If that is the case, can you post the URL here or send me the URL via Mail to JonathanHeard92@gmail.com?
Gros Puf
Gros Puf-2 years ago
I configured some prefered radios and rebooted but nothing happens when I click on the radio button. I tried to install the dependancies too. am i doing something wrong ?
Jonathan Heard
Jonathan Heard-2 years ago
This shouldn't happen but I need more information to fix this. Best for this is to open an issue on github https://github.com/linuxmint/cinnamon-spices-applets/issues/new for this with more information such as the Distribution you are using and the applet version.
Gros Puf
Gros Puf-2 years ago
lazy to open a bug, but just in case here are some basic infos * Radio++ version 2.0.2 (2022-01-23 09:30:26) * Cinnamon version 5.2.7 * Distribution - Manjaro Linux * Graphics hardware AMD Ryzen 7 PRO 4750U with Radeon Graphics × 8 :*
Jonathan Heard
Jonathan Heard-2 years ago
Please see my reply on Github: https://github.com/linuxmint/cinnamon-spices-applets/issues/4243. This might also be relevant for anybody else having serious problems with version 2.0.2.
hemanti0503
hemanti0503-2 years ago
Looks great! Unfortunately, out of 4 streams that I tried so far, only two work. The other just show the media buttons and the rotating loading circle shortly and then switch off again. This happens with default "Chillout" sation and also "WDR 4". Can you reproduce this? Any idea how I can debug that?
Jonathan Heard
Jonathan Heard-2 years ago
The "chillout" station doesn't work anymore. I will remove this as default in the future. I have build the stations list with the api from www.radio-browser.info. Unfortunately the stations currently don't get automatically updated. So at the moment I update them from time to time manually with this script: https://gist.github.com/jonath92/0fd6419a2cfecbbe2f6b6d790dc84298. The last time I updated the station list, the used WDR 4 url was unfortunately invalid. You can still manually update the station by navigating to the "My stations" tab in the settings (this url seems to work for wdr4: http://wdr-wdr4-live.icecast.wdr.de/wdr/wdr4/live/mp3/128/stream.mp3). Of course it is really bad that the stations don't get updated regullary at the moment. I want to implement it at some point in the future.
hemanti0503
hemanti0503-2 years ago
WDR 4 works now. Thank you! :) What doesn't work is download. I installed newest youtube-dl. No success (nothing in logs either). I then installed yt-dlp using pip for which I had to include ~/.local/bin in my path. So I'll try again after reboot.
Jonathan Heard
Jonathan Heard-2 years ago
Did it work with yt-dlp? You definitely should either see a download icon next to the applet icon and an info in the tooltip (like here: https://ibb.co/qBwnwwd) or see a failure notification. Maybe the download was just not finished yet? Some people told me that youtube-dl has been pretty slow (that's why I added yt-dlp). In case it didn't work, can you please open an issue on github? It is easier to discuss more complex problems there as in the comment section (the comment section don't allow to upload images and not to edit your post after you submitted it). Thanks :-)
hemanti0503
hemanti0503-2 years ago
I have just restarted. Works now with yt-dlp. :) I did get a failure notification before, telling me I should check the logs. Pressing the corresponding button did open a log file, but nothing was in there about this extension.
Jonathan Heard
Jonathan Heard-2 years ago
Ok glad it worked now. I had another look at the code and there must have been some logging. Probably you just have overseen it as there can be a lot of stuff in the logs. Maybe I can improve the logging at some point but it doesn't have a high priority for me
Trotter73
Trotter73-2 years ago
Hi, Great app, thanks ! However, the last update seems to have moved the location and name of the mpris plugin was ~/.config/mpv/scripts/mpris.so now ~/.cinnamon/configs/radio@driglu4it/.mpris.so Not an issue I suppose if it is being installed by the applet, but would be handy if the docs were updated for those who have to compile PiOS64 Bullseye (Cinnamon 4.8.6-2) Radio++ 2.0.1 Regards,
Jonathan Heard
Jonathan Heard-2 years ago
Hi Trotter73, Sorry for the inconvenience and thanks for reporting. The location actually doesn't have changed - it already had been `~/.cinnamon/configs/radio@driglu4it/.mpris.so` before for a very long time. But in the past mpv has been called with the default user configs. This has been changed because for one user this settings lead to open a gui when calling mpv (now mpv is called with the option `--config=no`). So it seems that in the past you could actually either locate the plugin in the ` ~/.config/mpv/scripts` dir or in the `~/.cinnamon/configs/radio@driglu4it/` dir and now only the second option is supported. Buy anyway I will add a note in the readme for those people who have to compile the mpris plugin by themself. Best regards
Mikko
Mikko-2 years ago
Regarding this, it would be helpful if the error message said the exact path – I just spent some time retracing steps back from the source code to find out what "the configs folder" means exactly. I think you could change this line to say MPRIS_PLUGIN_PATH instead to save others the trouble. Love the applet, keep up the good work! https://github.com/linuxmint/cinnamon-spices-applets/blob/master/radio@driglu4it/src/ui/RadioApplet/RadioAppletContainer.ts#L59
Jonathan Heard
Jonathan Heard-2 years ago
Yes that's a good point, thanks. There is a now an open pr which will improve that.
Trotter73
Trotter73-2 years ago
Hey Jonathan, No inconvenience at all, honestly ! OK cool, I had a read through the recent commits, saw that but didn't put two and two together, I found the location by accident when trying to kill the mpv process :) I'm guessing that is why the path /etc/mpv/scripts didn't work as well ? No drama, it's working great, thanks again. Regards,
Tony
Tony-2 years ago
Love it, thank you.
shhoppe
shhoppe-2 years ago
Nice app. I notice though my own station doesn't show artist-title metadata though others streaming with icecast show it. How exactly are you picking up that metadata so that I can make corrections to my own stream?
Jonathan Heard
Jonathan Heard-2 years ago
The applet gets the metadata from the mpris extension from mpv. I think that the mpv mpris extension loads the `xesam-title` metadata from mpv and forwards it to the mpris interface: https://github.com/hoyon/mpv-mpris/blob/c165fd13b25b622199f1dac87a87e630bd86bc8e/mpris.c#L359. Interestingly you always see the `icy-title` instead of `xesam-title` when running mpv in the terminal but I don't understand the difference (I haven't found any documentation describing the difference so far). So basically when you run `mpv YOUR_STREAM_URL` in a terminal and you see something like `icy-title: ...` in the terminal, the radio applet should also show the metadata for this url.
shhoppe
shhoppe-2 years ago
Thanks for the info. I was disappointed to see that when playing my stream in mpv, my icy-title showed my metadata correctly. Further investigation led me to the simple fact that if I have an <intro></intro> in my <mount> block in my icecast.xml, then radio++ (and many other apps too) will simply put up whatever metadata is in the intro file, but then never update after that. It appears that icecast isn't sending a metadata change signal between the intro and the regular stream. So though the music plays in radio++, it never gets the message that the metadata has changed?
Tiago Oliveira
Tiago Oliveira-2 years ago
Very nice. Simple, usefull, works great!
haad
haad-2 years ago
Great app!
sdgrs546547Q
sdgrs546547Q-2 years ago
excellent extension!
cvdmint
cvdmint-2 years ago
Nice applet however on some Themes the popup comes half on the panel and does not popup above the panel, i tried to change it in the css but did not change , also it seems it does not have an animation. Do you have a solution ?
Jonathan Heard
Jonathan Heard-2 years ago
The popup Menu is a custom implementation and therefore indeed differs from other applets. The reason therefore is that the default implementation is a mess and thereforee difficult to extend. I have used the same css classes as the default implementation but some themes use crazy css selectors for styling which makes it for me really difficult to apply their style. But I haven't noticed the panel issue. Can you tell me which themes you are refering to? The animation is not yet implemented and I won't do it in the near future but I accept pull requests.
cvdmint
cvdmint-2 years ago
Its the cinnamox themes
Jonathan Heard
Jonathan Heard-2 years ago
The cinnamox themes adds a padding to the .menu css class which most other themes don't do. I think this is reasonable and therefore should be handled by the applet. I made a pr to fix it. I think there is still some very tiny overlapping but I am not sure. In the mean time you can remove the overlapping by commenting out the line 119 of the cinnamox theme.
cvdmint
cvdmint-2 years ago
Yes that works, thanks for the fast reply , its now my default radio app, i used shortwave but SW crashes to much.
Jonathan Heard
Jonathan Heard-2 years ago
Glad you like it. Feel free to click the like button on the page if you haven't already ;-).
Gobinath
Gobinath-2 years ago
How come I missed this applet these many years? Listening to radio is a different feel than listening to my own playlist and glad to find this applet. Great work @Jonathan Heard! Thank you so much.
vdbhb59
vdbhb59-2 years ago
Hello Mate, many of the Indian stations do not work. Example: http://prclive1.listenon.in:9932/; (Radio City Gujarati). How can I get it working? I do not have the URL with me though. Is there any guide where I can get the URLs from?
Jonathan Heard
Jonathan Heard-2 years ago
Hi, I have generated the stations from https://www.radio-browser.info/ a couple of months ago. Unfortunately I haven't yet found the time to implement something which automatically updates the station list. For now I have created a PR which updates the stations list manually. I have used this code: https://gist.github.com/jonath92/0fd6419a2cfecbbe2f6b6d790dc84298 for that. But unfortunately you example doesn't also work with the new list - it is not included in the list anymore but maybe it fixes some other Indian stations. For stations which are not listed on radio-browser.info I don't have an optimal solution. You need to find it somewhere else in the web (and optimally add it to radio-browser.info so that it also helps others).
Marek
Marek-2 years ago
Update: [Errno 13] No access 'pl.po'
Jonathan Heard
Jonathan Heard-2 years ago
Hi Marek, Unfortunately I don't understand what you mean. Do you get an error when using the applet? Can you explain in more detail when it happens so that I can reproduce it? Thanks
NicoBXL
NicoBXL-2 years ago
Hello, thank you very much for your great applet! I'd just like to suggest a new feature: the possibility to create folders to organize the radio stations.
Jonathan Heard
Jonathan Heard-2 years ago
Hi Nico, I am glad you like it (also feel free to press the like button on this site ;-)). I also have thought about something like this but it doesn't have a high priority for me. The highest priority on that project for me is currently to significantly improve the code. One problem in the code is that I don't have a good state management (which is my fault), for which I want to use Redux. Another really big problem for me, is that the settings are written in Python while the popupMenu is written in Typescript. This has imo hugh disadvantages as maintaining a two-language project is obviously more difficult than an one language project. But changing this to typescript is a lot of work. And I also would like to get rid of the mpris plugin. So I am currently not planing to add more features. This is obviously not what users like but each feature adds more maintaining cost and therefore it is really important that the code doesn't get to messy.
NicoBXL
NicoBXL-2 years ago
I understand, I wish I had the skills to contribute! Personally, I control the applet through playerctl, so I like that it includes the mpris plugin. Keep up with the good work :)
Jonathan Heard
Jonathan Heard-2 years ago
I don't want to remove the mpris Support. I just want it to work out of the box i.e without the plugin.
vdbhb59
vdbhb59-2 years ago
Yes please, do not remove that option. It is really helpful. :)
Nazarii Oliinyk
Nazarii Oliinyk-2 years ago
Awesome. Sometimes I had error when launch 2 radio instance in one time
Jonathan Heard
Jonathan Heard-2 years ago
Glad you like it. Can you explain in more detail what you mean with 2 radio instances and also share the error message? Maybe I can fix it.
yigitdnz
yigitdnz-2 years ago
Hi, I can't get this app to work in Arch Linux. Nothing happens when I left click the icon on the panel. I can right click and configure tough. I'm using Cinnamon 5.0.4, mpv 0.33.1 and latest Radio++. I see in below comments that someone else is having the same issue on Manjaro. I have tried with and without the mpv-mpris plugin, it didn't help. There is also nothing in .xsession-errors. I can left click all my other applets. Radio++ is the only one that doesn't respond. I have no idea how to debug. I also use Radio++ on my other PC with Debian (testing) and Cinnamon 4.8.6. Never had any issue there. Thanks for this cool app. Love it, use it everyday.
yigitdnz
yigitdnz-2 years ago
Hi again, There has been an update on my side: I hadn't been able to left click the applet on my PC with Arch Linux even though I had placed the mpris.so file manually in the configs folder. Meanwhile, it would work on my PC with Debian without doing anything. Until now, I used to think there was no mpris.so file in Debian's configs folder. However, I realized that there actually is, but it is a hidden file whose file name starts with a dot. Then I renamed the file to .mpris.so in Arch Linux's configs folder and it worked :) https://ibb.co/njLNnnH
Jonathan Heard
Jonathan Heard-2 years ago
Hi yigitdnz, jongough has reported the same problem on Github (https://github.com/linuxmint/cinnamon-spices-applets/issues/3839) and she could fix it by deleting the ~/.local/share/cinnamon/applets/radio@driglu4it/3.0 directory. This directory is only relevant for cinnamon < 4.6. I have no idea why this solved the issue but seems to work (maybe also a restart of cinnamon is necessary after deleting the directory). Hope this helps.
yigitdnz
yigitdnz-2 years ago
Deleting ~/.local/share/cinnamon/applets/radio@driglu4it/3.0 didn't work. But I Installed Arch Linux on VirtualBox and it worked. I will do a fresh install when I have the time. I believe leftovers in my home directory from previous installations are breaking something. Thanks for the reply.
Jonathan Heard
Jonathan Heard-2 years ago
Too Bad. Did you try to delete the configs directory (macking a Backup first as this removes your settings obviously)? Unfortunately I don't have any other idea. I don't understand why there is not at least an error in the xsessions :-(
SDakaXvost
SDakaXvost-2 years ago
Hello! Is it possible to add an encoding in the applet settings that the names of the tracks for Cyrillic languages would be correctly displayed?
Jonathan Heard
Jonathan Heard-2 years ago
Unfortunately not at the moment. This is unfortunately a difficult issue - not only related to Cyrillic languages. One Problem is that I haven't found a way to pass the encoding to mpv. As far as I understand the docs, it should be possible to do this with the --metadata-codepage flag but all my tries with different channels (mostly German) and different encodings have failed (and also another problem related to this is that is difficult to test as I have no impact on the metadata of the channels and therefore I need to wait until the channel sets an invalid character in the metadata. So for better testing I actually would need to host a stream server by my own). But even if this would work, it could only easily implemented one encoding which would need to be applied for all channels but it wouldn't be easily possible to allow users to set an individual encoding for each channel. I think mpv should be able to detect the encoding automatically as Rhythmbox was able to do this with some streams I have tested. And I even think that mpv is able to this when compiled with uchardet (this is mentioned in the docs: https://mpv.io/manual/stable/#options-sub-codepage). See also https://github.com/freedesktop/uchardet/blob/master/README.md. But I haven't tried it yet. I will investigate further when I have more time.
SDakaXvost
SDakaXvost-2 years ago
Thanks for the detailed answer! You'll have to wait until you can find a way to solve the problem. Thank you for a useful and nice applet!
Jonathan Heard
Jonathan Heard-2 years ago
For the sake of completeness, I just wanted to mention that I now have built mpv from source with uchardet and it still doesn't work. I also found out that the apt package version of mpv actually is built with uchardet which can be found out when running mpv with the '-v' flag. So I think this is a Bug in mpv for which I have now opened an issue at Github: https://github.com/mpv-player/mpv/issues/8844
Cristian Andrade
Cristian Andrade-2 years ago
Hello there, I have a big issue to report. I double click on the applet and it just doesn't open. But Configure menu works fine. I installed manually the mpv-mpris plugin as suggested. And obviously mpv is also installed. My OS is Manjaro 21 with Cinnamon. Did I just miss something? Thanks in advance.
Jonathan Heard
Jonathan Heard-2 years ago
Hi Christian, Sorry to hear that but I don't know why this happens. I am not a Manjaro expert but I have tested the applet now in a VirtualBox on a fresh Manajaro installation (21.0.2) without problems so the problem is related to your environment. When you click on the applet, the code basically does the following: - it checks if the file /~/.cinnamon/configs/radio@driglu4it/.mpris.so exists and if not it opens this dialog: https://ibb.co/Smw6ydJ. When clicking on "Download plugin on my own risiko" it downloads the plugin automatically from github and saves it to the /~/.cinnamon/configs/radio@driglu4it directory. So basically you shouldn't need to manually install the mpv-mpris plugin. - After dowloading the mpv-mpris plugin, it is checked if mpv is installed. On distros with apt as package manager it even shows a window for downloading mpv but not on manjaro at the moment. So you indeed need to install mpv manually (e.g. with sudo pacman -S mpv). - If the user clicks on cancel on the first dialog or mpv is not installed, it is showing this notification: https://ibb.co/QmBx2Mt. For debugging, it would be interesting to know if the notification is shown or not. Because when the notification is shown, there is most likely a problem with the mpv installation. But if neither the notification nor the dialog is shown, it is an indication that there is a problem in executing the code on your system. As I said I am not an expert of manjaro so I don't know it possible to have manjaro 21 installed with an older cinnamon version but if so this might also be the reason for the problem. The cinnamon version I am running is 4.8.6. So basically make sure that mpv is really installed (when you run `mpv` in the terminal and you see the message: 'command not found', you know that this is the problem) and you have the newest stable cinnamon version installed by running: `cinnamon --version` in the terminal. Hope this helps ...
Emmmmanuel
Emmmmanuel-2 years ago
Hello. Thanks for this wonderful applet! I just want to report a little bug (that maybe come from me...). When I'm listening to a radio channel and want to download the song, when I click on the download button, I receive a message "couldn't download the song from YouTube due to an error....." My version of the applet (and of cinnamon) is up to date, so I don't know where the problem come from... Thanks in advance for your help
Jonathan Heard
Jonathan Heard-2 years ago
Hello Emmmmanuel, The message actually should also include the sentences: "Make Sure you have the newest version installed. Visit the Radio Applet Site in the Cinnamon Store for installation instruction". The problem of the youtube download is that google makes technically changes to youtube very frequently and therefore also youtube-dl must be updated very frequently to work. Unfortunately the youtube-dl apt package in the default Mint repo is not even closely sufficiently up to date. Therefore youtube-dl must be installed in a different way to work properly. I have written a bash script for that purposes which you can found here: https://gist.github.com/jonath92/0f6bf4606bc8a34be1bb0826c99b73d1 This script does not only install youtube-dl but also adds a script to your system to automatically ckeck for updates on a daily basis. You can either copy the content and run it as sudo or simple run this command in your terminal: sudo su -c "bash <(wget -qO- https://gist.githubusercontent.com/jonath92/0f6bf4606bc8a34be1bb0826c99b73d1/raw/914aabe6c4b15dc614f18c8816f5ad2828755c22/install-Update-Youtube-dl.sh)" root I would prefer to implement a dialogue which allows users to enter the sudo password and then install the script automatically. So basically the same as with mpv but mpv is an apt package and in this case it is much easier than with a script for which I haven't yet found a way to do this. If you like the applet, feel free to press the like button on this site ;-) Thanks
Jonathan Heard
Jonathan Heard-2 years ago
I think I should update the notification message to "make sure you have the newest YouTube-dl version installed"...
Emmmmanuel
Emmmmanuel-2 years ago
Yes I think it would make much sense... Personally I was searching for the newest version of radio++
Jonathan Heard
Jonathan Heard-2 years ago
Thanks for clicking the like button. Does the youtube download now work for you? I will update the message later.
Emmmmanuel
Emmmmanuel-2 years ago
Sorry if it wasn't clear... Yes, it works perfectly.
omar909
omar909-3 years ago
when i try to add a radio station it automatically switches to stop
Jonathan Heard
Jonathan Heard-3 years ago
Thanks for reporting. I am aware of that. This happens only when your current running station has a URL with PLS file format. There are many problems at the moment with PLS files, e.g when pausing the stream remotely, it is not indicated with a Pause icon in front of the station and when restarting cinnamon while playing, it is also shown Stop on the panel as in the case you described. This is a little bit tricky because the problem with PLS stream is, that the media player (mpv) doesn't play the URL of the PLS but a stream link received from the PLS file which is not always the same. But a lot of code depends on the right URL. I think I can fix it by saving the URL to a variable when a channel is clicked instead of receiving it from the metadata directly. Currently I am working on migrating the code to Typescript which will make it much easier to maintain in future. After that I will try to fix that.
Jonathan Heard
Jonathan Heard-3 years ago
I created now a PR which will fix that
sbadux
sbadux-3 years ago
Hello. Thanks a lot for your app. It's amazing and I really love it. Is there any database on which I can add some radio streams? Do you use a public database or it's created by you?
Jonathan Heard
Jonathan Heard-3 years ago
Ah i forgot to mention, you can update your radio stations under the "My Stations" tab. There is a plus icon below the list. You just can not update the List shown in the "Find Station" tab at the moment. Out of curiosity, what did you mean when you asked the question? Did you mean the list under the "Find Station" tab or the "My Stations" List?
sbadux
sbadux-3 years ago
It's not a big issue, so take your time and many thanks. I mean "how to update the Find Station" tab. E.g.: almost all the "Rai" (italian public service) radios are missing and also many other big italian radios. I would like to add them but I see they are available on radio-browser.info so they are already added. It's just to make the app more confortable for the potential users. As we know many users may be lazy or not capable to find the streaming links to add manually so making the main italian radios available could be useful
Jonathan Heard
Jonathan Heard-3 years ago
Hm that's weird. When the stations are on radio-browser.info they should be also in the applet except when they have just been added/modified on radio-browser.info in the last two weeks or so. Can you give me some names which are on radio-browser.info and not in the applet? Than I can check why this is the case.
sbadux
sbadux-3 years ago
Hello. Here some examples: Radio Sportiva(first in the list): https://www.radio-browser.info/#!/byname/sportiva Rai Radio 2(first in the list): https://www.radio-browser.info/#!/byname/rai%20radio%202 RTL 102.5 https://www.radio-browser.info/#!/byname/rtl%20102.5 and many others. I can't find which version of Radio++ I'm running, but it says "Updated on 2021-03-06 17:27:46". I've installed Linux Mint few days ago from the official image from the website.
Jonathan Heard
Jonathan Heard-3 years ago
Thanks. The search function is new so the version doesn't matter. I find all of your examples in the applet: https://ibb.co/X5v1WWV (example for Radio Sportiva). The search function is very basic at the moment (or in other words bad :D) which I definitive need to improve. It differentiates between capital and lower case (i.e. you won't find "sportiva" but "Sportiva" and it also doesn't remove leading spaces (e.g you won't find "Sportiva "). I hope that this is the reason because apart from this I have no idea what else could be the source of the problem :-( ...
sbadux
sbadux-3 years ago
Thanks a lot. You're right: searching for Sportiva returns the right result. Yes, you need to improve the search functionality in the future :-) The differentation between capital and lower case should be the first improvement in my opinion.
Jonathan Heard
Jonathan Heard-3 years ago
Fixed in the next Version :-)
sbadux
sbadux-2 years ago
Sorry for the laaaaaaaaaaaate reply, but thank you veeeeeery much! :-) I see that many radio stations are doubled. e.g search for "Rai Radio" and you'll see that many URLs are double. Can you consider to fix this problem but using the URL as "primary key" and remove the duplicates? It's not a big issue, just to keep the application GUI clean. :)
Jonathan Heard
Jonathan Heard-3 years ago
The list is created from https://www.radio-browser.info. However right now the list doesn't get updated automatically - so it is just a static json file. I want to add that in the future but it doesn't have the highest priority for me at the moment. Currently I am working on migrating the applet to typescript which will make it easier to maintain. After that I want to fix some Bugs and after that I think I will make it automatically upgradable. So I don't expect this to happen within the next month.
jpsouzamatos
jpsouzamatos-3 years ago
Hi Sadly this applet is not good enough. Please improve this applet to be good like this one https://store.kde.org/p/1313987/
Jonathan Heard
Jonathan Heard-3 years ago
I am aware of that Applet but haven't used it yet. I think the most missing Feature in Radio++ is the search functionality. What do you think?
MarcoB-0049
MarcoB-0049-3 years ago
@JH Great work! The applet installed including plugin and mpv media player, url's of the radio stations entered and lo and behold, it works perfectly!
Owweeee
Owweeee-3 years ago
A good little applet. took me 2 weeks from downloading to work out that the reason it wasn't working properly was because the default volume was set to 0%. Also needs an easier way to add radio stations.
Jonathan Heard
Jonathan Heard-3 years ago
Sorry to hear that but I don't know what happens to you. Which Cinnamon version do you use? For Cinnamon 4.6 and above the default volume is 80% and not 0%.
Jonathan Heard
Jonathan Heard-3 years ago
Anyway I have made now a PR at github to show the volume in the tooltip in future. So that this doesn't happen to anybody else.
Owweeee
Owweeee-2 years ago
Sorry I didn't notice you had replied. Thank you for the update. Been using the applet for 7 months now very happily.
borodin57
borodin57-3 years ago
Hrm, had the identical problem as MichaelHanzen; after upgrading to 20.1 I got the dialogue that prompted me to download the plug-in, duly did as told, nothing happened. Happily read the below comment and solution, update all my applets, downloaded the mpris.so file to the radio@driglu4it folder, still got the same dialogue box and still no working radio. Did I download the wrong file or what have I bungled this time? Cheers, B
Jonathan Heard
Jonathan Heard-3 years ago
Reading my comment again I see that I forgot to mention that you need to restart Cinnamon after downloading the mpris.so file. Also are you sure that you saved the mrpis.so file to the correct directory? There are two Applets folders - one for the source code and one for the config files. You have to save the file to the config folder which is at ~/.cinnamon/configs/radio@driglu4it. Then it souldn't appear the download prompt anymore.
MichelHanzen
MichelHanzen-3 years ago
I'm using Linux Mint 20.1/Cinnamon 4.8.6. When I try to start Radi0++, a download confirmation dialog appears stating that I must download the mvp-mpris plugin. When I press the button "Download plugin ant my own risk", nothing happended. I went to GitHub to and copied mpris.so to my ~/.config/mpv/scripts directory and make it executable but it does not work. The applet worked under Linux Mint 20. Can you help me?
Jonathan Heard
Jonathan Heard-3 years ago
There was a Bug in the applet which I fixed yesterday. Maybe you need to refresh your cache in the applets window and update the applet. But if it is not working you can also fix it by saving the plugin to ~/.cinnamon/configs/radio@driglu4it (it actually doesn't need to be executable). Sorry for the inconvenience. I always test the applet extensively before making a pull request at Github but unfortunately this still can happen. I want to improve the applet at some point in future by migrating to TypeScript which will reduce the probability of such Bugs significant.
MichelHanzen
MichelHanzen-3 years ago
It works now. Thanks for your support!!!!
pyotr71
pyotr71-3 years ago
My best widget! However, there was a problem with a large number of radio stations. They cannot be scrolled...
Jonathan Heard
Jonathan Heard-3 years ago
Can you open a ticket for that on Github and include a Screenshot?
pyotr71
pyotr71-3 years ago
Thanks a lot for fixing this!
Jonathan Heard
Jonathan Heard-3 years ago
You are welcome. Thanks for reporting the issue :-)
mockturtl
mockturtl-3 years ago
Love it, thanks!!
Padre2
Padre2-3 years ago
Hello Jonathan, My apologies for not having responded sooner to your reply to my comments. Apart from the desire to stay in touch with the outside world at New Year, where Radio plays an important part, I am also having issues with my IPTV. Today I received the notification of another update for Radio. After installing, it again directed me to install mpv-mpris. Clicking the button did nothing and I went to the terminal and installed from AUR using `yay`, but still no results even after restarting, hence my visit here. I am very happy with your reply from a week ago and now understand what has been happening. Thank you for saving me the trouble to figure out how to downgrade. Everything is now back to normal. :-)
Padre2
Padre2-3 years ago
I am using Arch with Cinnamon 4.8.4 and have been using this Radio applet for over a year with very satisfactory results. I had an update for Radio about a week ago and it stopped working and I found a message that it now requires the mpv package. After installing mpv, it loaded again, but the volume setting normally used, ~40%, required cranking up to 80% to get the same sound level. However, with this setting the system notification and other player sounds were extremely high. This was adjusted by lowering the PulseAudio level setting down from 100% to 50% and leaving the mpv audio setting at 100%. Yesterday I found a new update and again after updating again, it stopped working and this time it required mpv-pris, or mpv-mpris? Without paying much attention I installed whatever it was, or perhaps nothing, restarted and Radio resumed working. Today before writing this I read the posts below and noted the change from moc to mpv. I then checked to see the versions of mpv (1:0.33.0-3 (x86_64) installed), but could not find any package.with pris or mpris in the name. Searching for mpris produced the playerctl package, which is installed. I am still trying to understand what actually happened. Why is the mpv sound only about 50% of the moc sound. The performance is degraded with mpv and prefer performance of the moc player, which for me had worked very well.
Jonathan Heard
Jonathan Heard-3 years ago
I am sorry for your inconvenience. We have updated the media player as it is now possible to control the radio applet by any software which has implemented MPRIS such as the sound applet and media keys on the keyboard. But I understand that not everybody wants this. We have focused to much on one feature while ignoring the disadvantages. Your feedback is therefore really very valuable to correct our mistakes. So we probably will implement an option to choose the media player in future which however is not that simple and will take some time. In the mean time you can revert back by copying the content from ~/.local/share/cinnamon/applets/radio@driglu4it/3.0 to ~/.local/share/cinnamon/applets/radio@driglu4it/4.6. You should then be careful with updates for the radio applet as updates will bring the current version back. The mpv player doesn't allow MPRIS control out of the box but only with this plugin: https://github.com/hoyon/mpv-mpris. The plugin is basically just a file and not an apt package. We have made a mistake here because this plugin has been downloaded to the applet folder (~/.local/share/cinnamon/applets/radio@driglu4it). This however was a bad idea as all files which are not part of the source code (i.e. are included in the git repo) are deleted at updates. Therefore the mpris plugin needed to be downloaded at each update. We will change the path of the plugin to another location so that it won't be deleted in future anymore. However as we just have recognized this with the last update, it means that users of the applet have to download it one last time at the next update (this won't be necessary anymore when we have implemented an option to choose the media player and users choose moc)
mlusic
mlusic-3 years ago
Great applet! What is the path to stored radio stations...for backup?
Jonathan Heard
Jonathan Heard-3 years ago
The settings, which include the radio stations, are saved in ~/.cinnamon/configs/radio@driglu4it/radio@driglu4it.json
invexx
invexx-3 years ago
I'm so glad that the media key works now. Thank you! IMO, it would be much better if the paused stream changed to default icon (not the color icon when it's paused).
Jonathan Heard
Jonathan Heard-3 years ago
I am glad you like it and thanks for your feedback. Indeed this is a good idea but at the moment it is actually not that easy to implement as it sounds. When starting a radio channel, the applet starts mpv and gets informed (with the wait command) when the started process is stopped. This is the case when changing the radio stream or stopping the radio but not when pausing the stream. Theoretically we could implement a function which checks the status of the radio (polling) but I don't like that as it doesn't look great and I guess it is inefficient in that case. I prefer to orientate more on the sound applet which however is more difficult. So I want to implement that but I don't know when I find time for that.
invexx
invexx-3 years ago
Thank you, Jonathan. One more tiny suggestion. It would be nice if notifications were optional. Starting a stream changes icon so imo, notifications are redundant.
Jonathan Heard
Jonathan Heard-3 years ago
Yes I basically agree but I only want to make the start/stop notifications optional but not the error notifications which I first want to implement. Because at the moment when you start a radio while being offline or using wrong url you get first a notification "Playing ..." and afterwards directly "Stop Radio+++". This is somehow wrong and it should be shown an error instead. IMO there is no reason to hide error notifications.
Sergio
Sergio-3 years ago
Hi Joanathan, In my case, the notifications are very redundant because they appear intermittently after selecting a correct station. I tried to stop it, but the notifications keep appearing, even over other windows. This is really annoying
Jonathan Heard
Jonathan Heard-3 years ago
I just made a pull request which removes the notifications. https://github.com/linuxmint/cinnamon-spices-applets/pull/3403
invexx
invexx-3 years ago
I agree. Suppressing error notifications wouldn't make any sense.
Trotter73
Trotter73-3 years ago
Hi, Corner case here, I've been using Cinnamon on a Raspberry Pi (ARMhf) , the latest update to Radio ++ has broken the functionality. The lookingglass log shows:- error t=2020-12-18T15:11:41Z [radio@driglu4it]: Util.spawnCommandLineAsyncIO is not a function [radio@driglu4it]: Failed to evaluate 'main' function on applet: radio@driglu4it/52 I have installed mpv and compiled the MPRIS plugin bit still get the error, any ideas ?
Padre2
Padre2-3 years ago
Reinstalled moc, all is good.
Jonathan Heard
Jonathan Heard-3 years ago
actually you shouldn't nee moc anymore but mpv as this allows to manage this radio with MPRIS control (i. e. with kdeconnect, the sound applet, media keys etc.). However it seems that even though the applet has been updated two days ago, it is still downloaded an old version due to a caching issue (see NikoKrauses comment below)
Padre2
Padre2-3 years ago
After a year working beautifully on Arch, it now loads and stations can be chosen, but no sound and different icon. No errors in Looking Glass or .xsession errors file.
jongough
jongough-3 years ago
What stream formats does this applet support? On Linux Mint Cinnamon 20 there is no 'Open radio stream URL search engine' button at the bottom of the screen.
NikoKrause
NikoKrause-3 years ago
There's a cache issue in Mint 20 / Cinnamon 4.6. When you download an applet in Cinnamon itself, you end up with an old cached version of the applet, even if the about dialog says it's new. Sometimes it takes a few days, till you get the proper latest version through Cinnamon. Right now you need to download and install the latest version manually. The download button above offers the applet with the latest changes.
jongough
jongough-3 years ago
I have told the app to reload from the 'three lines' in the top right of the window and it opens up a new browser tab. However, looking for 'ABC Classic' radio in Australia does not return anything. The two streams possible are: http://freezone.iinet.net.au/include/radio/playlists/131.m3u http://freezone.iinet.net.au/include/radio/playlists/131.pls which are not found. There does not appear to be a way to direct the search. Creating manually these links and the radio works. Thanks Both of these now appear to work.
jongough
jongough-3 years ago
Thanks, have downloaded and installed the latest version which now shows the button at the bottom of the screen. However, clicking on it does not appear to do anything. Where is it supposed to open the search engine?
sixxxis
sixxxis-3 years ago
sorry have to vent: big shit not working on Linux Mint 20 Cinnamon 5.4.0-56-generic kernel with or without config
Jonathan Heard
Jonathan Heard-3 years ago
There has been an update and it should work now on Linux mint 20 out of the box.
invexx
invexx-3 years ago
Excellent. The only thing missing is the support for play/pause media key.
Jonathan Heard
Jonathan Heard-3 years ago
I made a Pull Request for that on Github. You can try this by downloading the applet.js file from https://github.com/jonath92/cinnamon-spices-applets/tree/master/radio%40driglu4it/files/radio%40driglu4it and replacing the ~/.local/share/cinnamon/applets/radio@driglu4it/applet.js file with the downloaded applet.js file and running this command: sudo apt-get install playerctl mpv
STETSen-D
STETSen-D-3 years ago
Добрый день. Возможно ли добавить в апплет вывод уведомлений с названием текущей транслируемой песни (как например это реализовано в программе radiotray-lite). Просто многие станции при вещании дают название текущего трека, было бы интересно видеть такое и в этом апплете. Спасибо:)
Nikon1981
Nikon1981-3 years ago
При добавлении ссылок радиостанций убирайте расширение "s" в протоколе http т.е. https://maximum.hostingradio.ru/maximum96.aacp > http://maximum.hostingradio.ru/maximum96.aacp
Nikon1981
Nikon1981-3 years ago
Сделал все как написано, но радио не работает и не могу найти .moc/config. В папке /home/user/.moc нет файла конфигурации.
Hairybiker
Hairybiker-3 years ago
Is there any way of getting this to start playing the last selected station on startup?
Kimme Utsi
Kimme Utsi-4 years ago
But first when you have installed this plugin you need to...... sudo apt install moc moc-ffmpeg-plugin And then you add the mentioned alias in .bash_aliases alias mocp="padsp mocp" and put this in your .moc/config # Use OSS for Pulseaudio compatibility (run 'padsp mocp') SoundDriver = OSS, ALSA, JACK
Kimme Utsi
Kimme Utsi-4 years ago
Hmmmmm, the entry about .moc/config is borked just now on my Linux Mint 19.3....
Kimme Utsi
Kimme Utsi-4 years ago
Also experienced that you also have to open an terminal and type the command "mocp" in the terminal and exit the program with an "keypress q" to get the stations to play atleast on Pop-OS 19.10..... Then the stations will play with this extension...
Kimme Utsi
Kimme Utsi-4 years ago
.This works in Ubuntu 19.10 if you set this as an alias.... alias mocp="padsp mocp" and put this in your .moc/config # Use OSS for Pulseaudio compatibility (run 'padsp mocp') SoundDriver = OSS, ALSA, JACK
j-balint
j-balint-4 years ago
Actually mocplayer does not play it, just says: Connecting... The message disappears after a while and nothing happens.
j-balint
j-balint-4 years ago
I recently changed to Radio++ from Radiotray which very often stopped to play. On my LxMint 19/Cinnamon Radio++ works simply well with many published radio streams, I like its simpicity. However it does not play the KDFC stream: http://128.mp3.pls.kdfc.live which is published on this page: https://www.kdfc.com/listen/how-to-listen/ What could be a reason of that?
Padre2
Padre2-4 years ago
@Driglu4it, I am using Radio++ and I am very happy with it, for streaming radio programmes. I would like to ask how to make the list of stations longer in the window, as shown above. Can the list not make more use of the panel, which is so much bigger. Otherwise, make the panel shorter, but styled so as to allow the height of the panel and list to be increased by dragging.
claudiux
claudiux-5 years ago
Symbolic icon added. Now the icon is correctly displayed in the panel.
rjv23
rjv23-5 years ago
nice little app, works well. users need to get the direct steaming link, for soma, look on the left margin for direct stream links, choose the quality link you want and load that. seems to work for me no problems.
Chad Bergeron
Chad Bergeron-5 years ago
Doesn't seem to play streaming playlist files (such as those from http://somafm.com) which are used to procide multiple URLs for a stream. If I enter a playlist file, it should call mocp -p to play the first stream location in the playlist.
Kimme Utsi
Kimme Utsi-5 years ago
Remove any exstension for the link, and the station will work.
Padre2
Padre2-4 years ago
Thanks Kimme, I found that this worked with several, but not all, URLs that would not play in Radio++. I have been comparing with Rythmbox, which will accept the extensions, but Radio ++ is a much neater application, if you only want radio URLs.
plspp
plspp-5 years ago
I like to add the following for urls to add: Current as of sept 2018 Big list of urls: https://www.outworldz.com/secondlife/posts/streaming/ i like listen to art bell Art Bell1 http://stream1.u7radio.org:8000/ Art Bell1 http://stream2.u7radio.org:8000/ Art Bell1 http://stream3.u7radio.org:8000/
plspp
plspp-5 years ago
The radio is perfect the way it is. I think (1) radio should NOT include listings of urls because radio stations constantly change, 1day they online, next day they non-exsist. Many change op hours. (2) It would be a real mess and very time consuming to the creator to keep a valid list of some current online radio streams. (3) It would be hard to please everyone with his selection if he added a list, because his rock or chill or pop or rap or whatever streams may not be yours. Then it be a hassle to delete his streams and start all over with yours (4) it is best to leave blank, so we can add the streams we like and want to hear. The three streams that is listed currently, only 2 worked for me. but that okay, because it is a good way to set an example of how to add or delete. Thank you for the effort of creating the app.
Visnu Pritom Chowdhury
Nice app. However, a valid list of URLs would be great! This list apparently does not work any more, https://wiki.ubuntuusers.de/Internetradio/Stationen/
evalesquez
evalesquez-6 years ago
Nice and very simple applet, but please creat a symbolic-icon radio for dark themes panel. :)
Driglu4it
Driglu4it-6 years ago
Icon.png use in list of widget, not in applet. Applet use function set icon from cinnamon library (this - 'radio'). I'm happy to make a grouping of stations, if there is an option in the API to add an editable list of choices.
Вячеслав Диконов
The name of the icon inside the applet's js file does not match the actual filename of the icon (icon.png). This makes the applet invisible in the panel. Please, fix! It would also be cool to support grouping of radio stations via submenus.
GNU / Linux
GNU / Linux-6 years ago
Спасибо Вам за ваш ответ попробую. Респект
GNU / Linux
GNU / Linux-6 years ago
Программа хорошая, но хочется свои радио добавить.
Driglu4it
Driglu4it-6 years ago
Без проблем можно свои добавить. Я, например смотрел исходные коды страниц 101.ru
etherman55
etherman55-6 years ago
Forgot to mention, it Didn't work at first, but only after I had downloaded Moc player via synaptic package manager, it worked immediately, and was easy to configure with new stations.
etherman55
etherman55-6 years ago
Excellent application, EASY to use, thanks a lot. In order to add stations, I chose them fro Icecast radio directory in VLC media player, hit the info choice on right mouse click, then copy "Location" contents (a web address?), right click the Radio++, chose config, click + to add a station, name it and paste the location. You're done.
Driglu4it
Driglu4it-6 years ago
Several stations can be taken from Radiotray here: https://github.com/RadioTrayEurasia/RadioTrayEurasia If necessary, I can convert for applet (only a very large list will be obtained). There is a proposal to make a change in the radio. In the list of stations, select the check box that will mark which stations to display. If the changes are useful, write in the comments, I will. Sorry for my bad English...
Driglu4it
Driglu4it-6 years ago
NikoKrause, thank's for your improvements.
NikoKrause
NikoKrause-6 years ago
That's a nice applet for listening to online radio stations. It's a little bit difficult to find the right URL for radio stations. But I found this very helpful list of internet radio stations: https://wiki.ubuntuusers.de/Internetradio/Stationen/