ebruck / radiotray-ng Goto Github PK
View Code? Open in Web Editor NEWAn Internet radio player for Linux
License: GNU General Public License v3.0
An Internet radio player for Linux
License: GNU General Public License v3.0
Hi, I am in trouble with compiling latest version of radiotray-ng on Archos distro. Output with error is attached. Thanks for help.
output.txt
Cannot play anything including built in playlist.
logs:
[2017-07-17 21:34:17.534660] [0x00007f0276215700] [info ] (radiotray_ng.cpp:403) - downloading: root, BassDrive, http://yp.shoutcast.com/sbin/tunein-station.pls?id=1618496
[2017-07-17 21:34:17.534792] [0x00007f0276215700] [debug] (notification.cpp:61) - notify: Connecting, Radiotray-NG, radiotray-ng-notification
[2017-07-17 21:34:17.536756] [0x00007f0276215700] [debug] (playlist_downloader.cpp:134) - http-timeout=15
[2017-07-17 21:34:17.648908] [0x00007f0276215700] [debug] (playlist_downloader.cpp:168) -
[playlist]
numberofentries=1
File1=http://144.217.129.213:8702/stream
Title1=(#1 - 200/9999) Bassdrive - Worldwide Drum and Bass Radio
Length1=-1
Version=2
[2017-07-17 21:34:17.649127] [0x00007f0276215700] [info ] (playlist_downloader.cpp:92) - decoder: PLS
[2017-07-17 21:34:17.649296] [0x00007f0276215700] [error] (player.cpp:94) - main_loop not ready
[2017-07-17 21:34:17.649339] [0x00007f0276215700] [error] (radiotray_ng.cpp:431) - failed to download playlist: http://yp.shoutcast.com/sbin/tunein-station.pls?id=1618496
[2017-07-17 21:34:17.649682] [0x00007f0276215700] [debug] (notification.cpp:61) - notify: Error, Failed to download playlist, radiotray-ng-notification
(radiotray-ng:23710): GLib-CRITICAL **: g_main_loop_is_running: assertion 'loop != NULL' failed
Hello,
I use radiotray-ng for listen some web radio.
But when i update my distribution, I have an error :
radiotray-ng
radiotray-ng: error while loading shared libraries: libboost_filesystem.so.1.64.0: cannot open shared object file: No such file or directory
How can I fixe it ?
Hello!
The app settings is default. Everytime with play it the general volume level is increased to maximum (it was painful) and volume level for other apps are not changed.
OS was upgraded one week ago, before it. I not modified the app (update).
I got this trouble after the Viber messenger installation (it removed already).
Can you give a advice about it problem?
The OS:
Debian 9
Linux varicap 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
MATE Desktop Environment 1.16.2
Thanks.
I thank you for your simple app. It is incomplete, but very useful even in current state.
Why did you use GTK2 instead GTK3? GTK2 is deprecated and outdated. It is possible to add compile option to use GTK3?
Also, please do not use stock menu item such as "About", "Preferences", "Close". Stock is deprecated. Instead, create this menu items manually.
Have installed radiotray-ng_0.2.0_ubuntu_17.10_amd64.deb on kubuntu_17.04 and radiotray runs fine, however the bookmark editor does not work. Is this a known issue?
Also would be possible to compile a ubuntu 17.04 radiotray package if that is the problem?
As I wanted to modify the color of the icons (my desktop uses a white panel), I tried to find the config file according to the readme file. It was not here.
So I created it manually, but it doesn't seem to work. :(
FYI I used the tar.gz v0.2.0 and build my own Debian package (on Stretch ie Debian 9).
Hello there,
I have the following issue: when I start radiotray usually it opens in Top Bar (Solus Gnome) from where I can go and select the radio stations but since last update the Top Bar is transparent and the icon is invisible. At the beginning I thought that it won't open and tried multiple times and then when I opened browser to search for solution and Top Bar became solid I realize that it is open but the icon was not visible.
How I can modify the icon that will be visible or customize it with custom colors?
I really like the application and I use it on daily basis. I have learned already how to edit the bookmarks and add custom groups and other stations...
Thank you for all efforts that has been gone into this amazing application.
Under Preferences there is an option to activate a Sleep Timer. It seems that it is not fully implemented yet. At least I couldn't get it to work.
Would be really nice to be able to enable/disable notifications per radio stations in the station configuration. Some stations spam with ads etc in the notifications with very short intervals.
When I tried to solve my issue with the icons (see issue #49 ) I noticed that the notification icon is only in a white version.
For users like me using light color destop environment, it's a real problem because it's almost invisible.
It could be usuful to have a second version of this icon in black in radiotray-ng/data/hicolor/256x256/apps/ (if I'm not wrong) and to allow in the config file the use of this icon by an option just like radiotray-ng-on and radiotray-ng-off icons.
How to support lastfm?
Please add "--help" option to command line. It would be nice if it could contain information about application and about "--play" option.
It seems that there are two applications with a very similar feature set. Not sure what you guys think but why not join efforts and create the very best radiotray application out there?
https://github.com/thekvs/radiotray-lite
See: thekvs/radiotray-lite#14
I have suggested radiotray-ng to be included in the software repositories of Solus: https://dev.solus-project.com/T2649
Could you address the issues mentioned by the Solus devs in an upcoming version? Many thanks.
Josh Strobl from the Solus team wrote:
So I have this compiled, however here are the issues:
- It doesn't create any of the configuration files, nor does it ship any default ones, which means unless the end-user knows that they'll need to manually configure it, it will fail in the least obvious way, which is coredump.
- Even if radiotray-ng did ship defaults, it isn't checking its own data directory, only the user's .config/radiotray-ng, which means there is really no way for us to get this to work OOTB (and thus validate) without severely patching it. Thus rejecting under our Stack Complexity rule.
The description of radiotray-ng here on GitHub says: "An Internet radio player for Ubuntu". Would you mind making it more distro-agnostic to allow for wider adoption? I believe this would also be in line with your goals of making it cross-platform?
Is it possible to translate radiotray-ng?
I have connection issue or problem on radio problem. It should try reconnect if state 'Turn on' but radio exit.
Hi,
This is feature suggestion:
Integration of an external Internet radio directory (IRD) such as e.g. Dirble https://dirble.com/developer/
It is already being used by others: https://dirble.com/developer/applications
Ideas:
Search for Internet radio stations and add them via the Bookmark editor. E.g. via search from categories, but also via a search field if one has some keywords available such as station name (and optional maybe genre.)
Requirement: User would likely need to have a user account. E.g. in the case of Dirble it seems to be requirement to get access to the API that in the free version is limited to 1500 requests per month. https://dirble.com/plans
Optional: Provide a link inside of the Bookmark editor to the IRD (e.g. Dirble) if one wants to be taken to the home page of the directory to add a station to the directory, add or change an existing stream to a station.
Optional: Option for automatic updating stations/streams stored locally in the bookmark json file as they become updated on e.g. Dirble when someone adds/updates a station stream. E.g. have I previously added Fréquence 3 and the URL to the stream changes then automatic update the stream URL to avoid broken stations that would otherwise require manual updating.
Requirement: Depending on how much traffic that goes to the IRD the automatic checking for station updates might needs to be limited to once a day, once a week or once per startup of Radiotray-NG.
Optional: Selection of either best quality or specific stream (e.g. a pls might have different streams available 192 kbit/s, 128 kbit/s or 96 kbit/s) and some might prefer mp4 over mp3 etc.
Thanks for Radiotray-NG! It works really well!
IIRC the original RadioTray did that.
It should restore the state "Turn on / Turn off" after restart
Hi and very much thanks for this works...
1/ To have radiotray-ng behavior like original radiotray, is it possible to start playing with middle click?
2/ Volume increment with mouse wheel is too small, is possible to increase it, pehaps with a number in the config file.
3/ I can't set subgroup in bookmark.json, it's me or it's not coded?
Voila
Yet thanks.
Best regards
I installed Radiotray-ng on Ubuntu 16.04 32-bit.
"notifications" : false,
To confirm, I have shut down program. I reversed json config setting back to:
"notifications" : true,
and started a program. Notifications reappears as expected and now radio can be turned off clicking on icon and selecting "Turn off {radio station}".
Also setting both settings:
"notification-verbose" : false,
"notifications" : false,
and the problem is the same.
But settings:
"notification-verbose" : false,
"notifications" : true,
and radio can be turned off, but there are still notifications.
Hi,
Just tried building dev-0.1.8 using my Arch Linux PKGBUILD and get the following error. I did this the exactly same way I used to build dev-017 and 0.1.6 which always built successfully. Any ideas. Some reference to error adding symbols: DSO missing from command line
/usr/bin/ld: CMakeFiles/radiotray-ng.dir/main.cpp.o: undefined reference to symbol '_ZN5boost6detail12get_tss_dataEPKv'
/usr/lib/libboost_thread.so.1.65.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/radiotray-ng/CMakeFiles/radiotray-ng.dir/build.make:135: radiotray-ng] Error 1
make[1]: *** [CMakeFiles/Makefile2:132: src/radiotray-ng/CMakeFiles/radiotray-ng.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
This is my PKGBUILD I'm using:
pkgname=radiotray-ng
pkgver=0.1.8
pkgrel=1
pkgdesc="An Internet radio player for Linux"
arch=('i686' 'x86_64')
url="https://github.com/ebruck/radiotray-ng"
license=('GPL')
depends=('boost-libs' 'curl' 'gstreamer' 'jsoncpp' 'libappindicator-gtk2'
'libbsd' 'libnotify' 'libxdg-basedir' 'glibmm' 'libappindicator-gtk3' 'glibmm')
makedepends=('cmake' 'boost' 'lsb-release')
optdepends=('python2-lxml: Convert radiotray bookmarks to radiotray-ng format')
options=('!libtool')
#source=("${pkgname}.tar.gz::https://github.com/ebruck/radiotray-ng/archive/v${pkgver}.tar.gz")
source=("${pkgname}.tar.gz::https://github.com/ebruck/radiotray-ng/archive/v${pkgver}-dev.tar.gz")
sha256sums=('b816f5b6e10277633d7935920d637c31d99f85c6fc2a740a97c76ef332c543db')
build() {
cd "${srcdir}/${pkgname}-${pkgver}-dev"
[ -d build ] && rm -r build
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}-dev/build"
make DESTDIR="$pkgdir" install
}
rt2rtng does't convert nested bookmarks from old radiotray. The nesting structure disappers. All radio stations are on root level.
I've thousands of radio stations arranged by country, state, city,...etc. rt2rtng puts all radio stations on top of the converted list, only keeping streams of same stations in single groups.
Hi,
first of all: Thank you very much for your project
Is there or will there be a possibility to change Tray-Icons to a light color desktop environment in the config file?
I'm using Arch
radiotray-ng lost the volume settings when turning off radio station or quit program. On my desktop the volume is much to high, so I decreased volume. But when turning off and on a station the volume is again much to high.
I edited config file and changed volume level to "10". The new level is displayed as "Volume: 10%" in popup menu. But the displayed level seems to have no effect on volume of played streams.
Via pulseaudio/pavucontrol it's possible to reduce the volume for radiotray-ng. That works as expected. But when turning on any station the volume level jumps back to inital high value. I didn't find a way to decrease volume permanently.
My system is Debian/Stretch amd64 with Xfce4-Desktop, pulseaudio and some Gnome apps. Rhythmbox works fine. Dito gnome-music.
pacmd list-sink-inputs
:index: 2758
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 1 <alsa_output.pci-0000_04_06.0.analog-stereo>
volume: front-left: 30419 / 46% / -20,00 dB, front-right: 30419 / 46% / -20,00 dB
balance 0,00
muted: no
current latency: 116,00 ms
requested latency: 96,00 ms
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
resample method: (null)
module: 10
client: 1166 <Radiotray-NG>
Some functions have been deprecated etc.
[ 10%] Building CXX object src/radiotray-ng/config/CMakeFiles/config.dir/config.cpp.o
/tmp/radiotray-ng/src/radiotray-ng-0.1.8/src/radiotray-ng/config/config.cpp: In member function ‘virtual bool Config::load()’:
/tmp/radiotray-ng/src/radiotray-ng-0.1.8/src/radiotray-ng/config/config.cpp:42:16: error: ‘Reader’ is deprecated: Use CharReader and CharReaderBuilder instead [-Werror=deprecated-declarations]
Json::Reader reader;
^~~~~~
In file included from /usr/include/json/json.h:11:0,
from /tmp/radiotray-ng/src/radiotray-ng-0.1.8/src/radiotray-ng/config/config.hpp:22,
from /tmp/radiotray-ng/src/radiotray-ng-0.1.8/src/radiotray-ng/config/config.cpp:18:
/usr/include/json/reader.h:35:83: note: declared here
class JSONCPP_DEPRECATED("Use CharReader and CharReaderBuilder instead") JSON_API Reader {
^~~~~~
/tmp/radiotray-ng/src/radiotray-ng-0.1.8/src/radiotray-ng/config/config.cpp: In member function ‘virtual bool Config::save()’:
/tmp/radiotray-ng/src/radiotray-ng-0.1.8/src/radiotray-ng/config/config.cpp:70:31: error: ‘StyledWriter’ is deprecated: Use StreamWriterBuilder instead [-Werror=deprecated-declarations]
ofile << Json::StyledWriter().write(this->config);
^
In file included from /usr/include/json/json.h:12:0,
from /tmp/radiotray-ng/src/radiotray-ng-0.1.8/src/radiotray-ng/config/config.hpp:22,
from /tmp/radiotray-ng/src/radiotray-ng-0.1.8/src/radiotray-ng/config/config.cpp:18:
/usr/include/json/writer.h:212:70: note: declared here
class JSONCPP_DEPRECATED("Use StreamWriterBuilder instead") JSON_API StyledWriter : public Writer {
^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/radiotray-ng/config/CMakeFiles/config.dir/build.make:63: src/radiotray-ng/config/CMakeFiles/config.dir/config.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:187: src/radiotray-ng/config/CMakeFiles/config.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build radiotray-ng.
I have usability issue, cause my tray is at the bottom. It must be reversed on bottom panels. U can just create option in preference.
left click on ico should on/off radio, right click - popup menu
Can we have 32 bit binary for deb?
Thanks.
Great to have a fork of the apparently dead RT project which is under active development - much appreciated!
Unfortunately, the app icon is not showing in the application / systray area in gnome shell (although
topicons is installed as an extension). GS version is 3.24.2-0ubuntu0.1; let me know if you need more details.
Original radiotray application has "resume" option. When user start radiotray with "--resume" as first argument, app automatically starts last played radiostation.
Please, reimplement this feature.
To stop volume going over, say, 100%.
Hi Ed,
I've just installed radiotray-ng and I'm very impressed, great job!
I have a number of bash and conky scripts I use with the old radiotray app and would like to rewrite them to work with radiotray-ng but they make prolific use of these two dbus commands to get the current station and song/artist:
qdbus net.sourceforge.radiotray /net/sourceforge/radiotray net.sourceforge.radiotray.getCurrentRadio
qdbus net.sourceforge.radiotray /net/sourceforge/radiotray getCurrentMetaData
I queried dbus while radiotray-ng was running and didn't see any output. Do you have any plans to offer dbus support or if you could let me know of any equivalent commands that can get me that info, that would be great.
Thanks
Swipe
Hi @ebruck! Thank you for supporting Radiotray!
Please implement that feature: left mouse click in area copies this text to clipboard:
A station like this cannot be reordered:
{
"image" : "~/Dropbox/.radiotray-ng/icons/radio1.png",
"name" : "Rádió 1",
"url" : "http://stream2.radio1.hu/high.mp3"
}
It also appears that a station within a unicode group isn't movable even if its name is in plain text.
I'm using the latest radiotray-ng and running Xubuntu 16.04.2 - using xfce as my Desktop Environment. I'm using xfce's panels and the radiotray-ng icon appears to be stretched, or the wrong size. It's the second icon from the right, just between the sound menu and network manager:
The icon in the notifications look fine:
I haven't changed radiotray-ng's config at all, so far.
If there's any more information I can provide to help debug, let me know.
Thanks!
Hi, I'm a newcomer to github. Not sure if I'm doing things right but...
Thank you so much for reviving radiotray -- my fav internet radio app. Just wanted to forward an intermittent bug. Sometimes, after resuming from suspend, rt-ng will complain that it can't stream a given station: (gstreamer plugins are unavailable or not installed). The bug is exceedingly minor -- the workaround is to simply quit radiotray and restart. For informational purposes, I'm using a fresh install of Mint.
4.10.1-041001-generic x86_64 (64 bit) Desktop: Cinnamon 3.2.7 Distro: Linux Mint 18.1 Serena
Please, add ability to place separator between bookmarks items.
Ubuntu 17.10, radiotray-ng starts every time I log in.
I can't find anything in settings, it's not in $HOME/.config/autostart/
and I don't know where else to look.
I've found a couple of minor volume bugs in Plasma 5.10 (Arch Linux) using the radiotray-ng-0.1.6-2 package from the AUR.
This has been confirmed on two separate machines.
Scrolling the middle click mouse wheel above the radiotray-ng tray icon doesn't change the volume
When a stream is started it doesn't match the volume level set in the config file. Two examples for demonstration purposes: 'volume-level' set to 50 in the config file results in 79% in the radiotray-ng application volume sink and 'volume-level' set to 70 in the config file results in 89% in the volume sink. Any volume levels changed manually will get reset each time a new station is started. I would expect the manually changed levels to be written back to the config file when changed, this is not happening.
Let me know if you need any more info.
any chance you could add any pointers/fixes so this compiles on other distros than ubuntu?
struggling with make failing
I'm trying to get it to compile on Fedora 25
The installation of a package which violates the quality standards isn't allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath.
Lintian check results for /tmp/mozilla_lucy0/radiotray-ng_0.1.3_ubuntu_16.04_amd64.deb:
E: radiotray-ng: control-file-has-bad-permissions postinst 0775 != 0755
E: radiotray-ng: control-file-has-bad-permissions postrm 0775 != 0755
pacman --sync --search boost
extra/boost 1.65.1-1 [installed: 1.64.0-4]
Free peer-reviewed portable C++ source libraries - development headers
extra/boost-libs 1.65.1-1 [installed: 1.64.0-4]
Free peer-reviewed portable C++ source libraries - runtime libraries
Hi @ebruck,
Sometimes the sound from radiotray-ng comes out of the wrong sound output. I have two sound cards which I switch between, one goes to speakers, the other goes to headphones.
If I switch sound output while radiotray-ng is playing something the output is changed correctly, however if I change the sound output while radiotray-ng is off it is not updated correctly, and radiotray-ng still uses the previous sound output while all other sound from the computer uses the selected sound output.
I can reproduce this very easily by doing this:
Are you able to reproduce this behavior, or is this something specific to my setup?
radiotray-ng 0.1.7
pulseaudio 11.0
alsa 1.1.4
kernel 4.9.41 and 4.12.12 (tested on both)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.