Giter VIP home page Giter VIP logo

gradio's People

Contributors

awandepan avatar bearnardoriain avatar byteturtle avatar comradekingu avatar dasnoopy avatar dromich avatar erwinvaneijk avatar fitojb avatar floflr avatar frnogueira avatar germanfr avatar haaninjo avatar haecker-felix avatar jom13 avatar kadu247 avatar kotler-dev avatar muzena avatar nathanael-h avatar nsergeyi avatar otoman avatar ovari avatar phastmike avatar piotrdrag avatar prescott66 avatar r3b311i0n avatar sispus avatar superusercode avatar weblate avatar xendez avatar zaitor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gradio's Issues

save/restore window position and dimension

It would be usefull if gradio could save and restore last window position and dimension on exit/startup so I don't have to move and resize the window after every startup of gradio.

Debian 8 can't install

This can't be compiled on Debian 8 kernel 4.4
Why?
Gtk 3 Version 3.18 is a testing version, the stable version is 3.14 in Debian.

I think this aplication was developed based on Ubuntu last version, I consider that we must develop based on Debian, the parent distro becasuse Debian use the last stable and secure libraries, Ubuntu must not be the center of the aplications development this has a lot of bugs and unsecure and testing libraries like the gtk3 3.18.

it's just a suggestion

[Fedora 24] Your GStreamer installation is missing a plug-in

On Fedora (24) I can compile gradio but when I try to play a station I get "Your GStreamer installation is missing a plug-in". When I compiled I had these packages installed before hand:

sudo dnf group install "C Development Tools and Libraries"
sudo dnf install git cmake vala glib2-devel gtk3-devel gstreamer1-devel json-glib-devel libgee-devel libsoup-devel

I then tried installing different plugins and even a wildcard:

sudo dnf install gstreamer-plugins-* gstreamer1-plugins-*

The wild card includes:

gstreamer-plugins-bad-free                                  x86_64                      0.10.23-32.fc24                         fedora                      1.5 M
gstreamer-plugins-bad-free-devel                            x86_64                      0.10.23-32.fc24                         fedora                       50 k
gstreamer-plugins-bad-free-devel-docs                       x86_64                      0.10.23-32.fc24                         fedora                      232 k
gstreamer-plugins-bad-free-extras                           x86_64                      0.10.23-32.fc24                         fedora                      241 k
gstreamer-plugins-base-devel-docs                           noarch                      0.10.36-14.fc24                         fedora                      371 k
gstreamer-plugins-base-tools                                x86_64                      0.10.36-14.fc24                         fedora                       28 k
gstreamer-plugins-espeak                                    x86_64                      0.4.0-9.fc24                            fedora                       32 k
gstreamer-plugins-fc                                        x86_64                      0.2-12.fc24                             fedora                       25 k
gstreamer-plugins-good                                      x86_64                      0.10.31-16.fc24                         fedora                      1.6 M
gstreamer-plugins-good-devel-docs                           noarch                      0.10.31-16.fc24                         fedora                      227 k
gstreamer-plugins-good-extras                               x86_64                      0.10.31-16.fc24                         fedora                       39 k
gstreamer1-plugins-bad-free                                 x86_64                      1.8.1-1.fc24                            fedora                      1.8 M
gstreamer1-plugins-base                                     x86_64                      1.8.1-1.fc24                            fedora                      1.4 M
gstreamer1-plugins-good                                     x86_64                      1.8.1-1.fc24                            fedora                      2.0 M
gstreamer1-plugins-bad-free-devel                           x86_64                      1.8.1-1.fc24                            fedora                      431 k
gstreamer1-plugins-bad-free-extras                          x86_64                      1.8.1-1.fc24                            fedora                      281 k
gstreamer1-plugins-bad-free-fluidsynth                      x86_64                      1.8.1-1.fc24                            fedora                       24 k
gstreamer1-plugins-base-devel                               x86_64                      1.8.1-1.fc24                            fedora                      297 k
gstreamer1-plugins-base-devel-docs                          noarch                      1.8.1-1.fc24                            fedora                      415 k
gstreamer1-plugins-base-tools                               x86_64                      1.8.1-1.fc24                            fedora                       40 k
gstreamer1-plugins-entrans                                  x86_64                      1.0.2-6.fc24                            fedora                      101 k
gstreamer1-plugins-entrans-docs                             noarch                      1.0.2-6.fc24                            fedora                       63 k
gstreamer1-plugins-fc                                       x86_64                      0.2-12.fc24                             fedora                       26 k
gstreamer1-plugins-good-extras                              x86_64                      1.8.1-1.fc24                            fedora                       31 k

Plus a few more that are not gstreamer related.

I still get the error, do you know which plugin is specifically used?

Move Home and refresh button to the Headerbar

Can you please move the home and refresh button to the headerbar and either hide/show them or make the (un)sensitive?
The same for the search bar, if you can make it looks more like a gnome app that would be great! you can take a look at gnome books, or evince for an example 👍

wrong user agent on half of the requests

gradio 2.01 does send 2 requests for each search. this is not a problem, but the first one always has the wrong user agent. Example:
1.2.3.4 - - [29/May/2016:20:14:06 +0200] "GET /webservice/json/stations/byid/64094 HTTP/1.1" 200 829 "-" "gvfs/1.28.1"
1.2.3.4 - - [29/May/2016:20:14:06 +0200] "GET /webservice/json/stations/byid/64094 HTTP/1.1" 200 829 "-" "gradio/2.01"

or for example:

1.2.3.4 - - [29/May/2016:20:16:33 +0200] "GET /webservice/json/stations/byname/jazz HTTP/1.1" 200 39090 "-" "gvfs/1.28.1"
1.2.3.4 - - [29/May/2016:20:16:34 +0200] "GET /webservice/json/stations/byname/jazz HTTP/1.1" 200 39090 "-" "gradio/2.01"

+/- button in play bar

It would be useful to add or remove a radio station (to/from the library) from the play bar:
captura de pantalla de 2016-08-19 18-52-36

WARNING **: MPRIS.vala:150: MPRIS metadata is null

Gradio 4.01 latest commit fc1be2c (126) running on Gnome 3.20 / Archlinux 64 bit

a MPRIS related error appears in console : WARNING **: MPRIS.vala:150: MPRIS metadata is null and MPRIS utilities don't report any information..

check attached screenshot for evidence...

gradio

Regards
Andrea

Create a package Flatpak

With a package Flatpak, the people using distributions without Gradio in their repo can enjoy this software :D

Obs: I dont know make flatpaks ... Just a ordinary user :/

Feature request: History of the recent played stations

History of the recent played stations. Players, like spotify, have this feature. Some new settings, like number of stations, order.. could be supported as well.

The feature could be implemented like in the screenshot :)

gradio_history

crash on ubuntu 16.04

i use version 3.0.1

segler@gaia:~$ gradio
** Message: Gradio.vala:133: Starting Gradio version 3.0.1!
** Message: MPRIS.vala:21: Successfully initialized MPRIS session.
** Message: Library.vala:90: Reading library data from: /mnt/data/segler/.local/share/gradio/library.gradio
** Message: Library.vala:109: No gradio library found.
** Message: Library.vala:115: Successfully imported library

(gradio:32183): Gtk-CRITICAL **: Error building template class 'GradioDiscoverBox' for an instance of type 'GradioDiscoverBox': .:5:1 Required gtk+ version 3.20, current version is 3.18

(gradio:32183): Gtk-CRITICAL **: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed

(gradio:32183): Gtk-CRITICAL **: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed

(gradio:32183): Gtk-CRITICAL **: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed

(gradio:32183): Gtk-CRITICAL **: gtk_container_add: assertion 'GTK_IS_CONTAINER (container)' failed

(gradio:32183): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gradio:32183): GLib-GObject-CRITICAL **: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(gradio:32183): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(gradio:32183): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
Speicherzugriffsfehler (Speicherabzug geschrieben)

full screen does not fit screen

see attached picture.
screen is 1280x1024
linux mint cinnamon 18.0

sorry, the screen shot does not show the problem (missing parts of screen on all four sides).
As soon as I open the screen shot utility, screen fits.
So I cut the screen shot to what I can see in full screen mode.
screen shot

Crash makepkg

Hello ! :)
I'm on Manjaro.
I've try to install your app, I've two friends who install that today, but when I've try, it doesn't work.

[troupal@kropo ~]$ yaourt -S gradio-git

==> Téléchargement du PKGBUILD de gradio-git depuis AUR...
x .SRCINFO
x PKGBUILD
x gradio.install
gradio-git 2.3-1  (2016-07-31 13:00)
( Paquet non supporté : peut être dangereux ! )
==> Éditer PKGBUILD ? [O/n] ("A" pour annuler)
==> ------------------------------------------
==> n

==> Dépendances de gradio-git :
 - desktop-file-utils (déjà installé)
 - gstreamer (déjà installé)
 - json-glib (déjà installé)
 - libgee (déjà installé)
 - libsoup (déjà installé)
 - git (déjà installé) [makedepend]
 - gnome-common (déjà installé) [makedepend]
 - intltool (déjà installé) [makedepend]
 - itstool (déjà installé) [makedepend]
 - vala (déjà installé) [makedepend]
 - yelp-tools (déjà installé) [makedepend]
 - cmake (déjà installé) [makedepend]


==> Éditer gradio.install ? [O/n] ("A" pour annuler)
==> ------------------------------------------------
==> n

==> Lancer la compilation de gradio-git ? [O/n]
==> -------------------------------------------
==> 

==> Construction et installation du paquet
==> Création du paquet gradio-git 2.3-1 (lun. août  1 02:26:01 CEST 2016)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> Clonage du dépôt gradio git...
Clonage dans le dépôt nu '/tmp/yaourt-tmp-troupal/aur-gradio-git/gradio'
remote: Counting objects: 1271, done.
remote: Compressing objects: 100% (372/372), done.
remote: Total 1271 (delta 260), reused 0 (delta 0), pack-reused 891
Réception d'objets: 100% (1271/1271), 597.87 KiB | 431.00 KiB/s, fait.
Résolution des deltas: 100% (854/854), fait.
Vérification de la connectivité... fait.
==> Validation des fichiers source avec md5sums...
    gradio ... Ignoré
==> Extraction des sources...
  -> Création d’une copie de travail du dépot gradio git...
Clonage dans 'gradio'...
fait.
==> Lancement de build()...
-- The C compiler identification is GNU 6.1.1
-- The CXX compiler identification is GNU 6.1.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /home/troupal/.linuxbrew/bin/pkg-config (found version "0.29.1") 
-- Checking for modules 'glib-2.0;gtk+-3.0>=3.18;gstreamer-1.0;json-glib-1.0;gio-2.0;gee-0.8;libsoup-2.4'
--   
CMake Error at /usr/share/cmake-3.6/Modules/FindPkgConfig.cmake:424 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.6/Modules/FindPkgConfig.cmake:597 (_pkg_check_modules_internal)
  CMakeLists.txt:87 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-troupal/aur-gradio-git/src/gradio/build/CMakeFiles/CMakeOutput.log".
==> ERREUR : Une erreur s’est produite dans build().
    Abandon...
==> ERREUR : Makepkg n'a pas pu construire gradio-git.
==> Relancer la compilation de gradio-git ? [o/N]
==> ---------------------------------------------
==> 

I'm French so when you saw "[O/n]" it's "[Y/n]".

I've try to install all dependencies and to compile manually, it doesn't work.
If you want more results, say me!

Or here maybe?
http://pastebin.com/t3wnLe86
http://pastebin.com/qAJm5NG5

Uniform font name and style of gui

Hi, i don't know if it is an intended behaviour but the gui use different font or style: may

e.g.:

  1. Radio font name uses always a sort of open sans font while imo shoud use the system font
  2. http link of the radio in the player toolbar uses italic style while the normal style is everywhere
  • gradio compiled from latest commit a13fe04
  • Archlinux
  • Gnome 3.20

Nice project :)

Problems with URLs of YLE Radio (from Finland)

Hello,
Thanks for your software.
I have problems playing the YLE Radio stations from Finland.
The YLE-stations have been added to www.radio-browser.info (country: Finland), and they are searchable and visible in Gradio. But when played, gradio reports a "Not Found" error.

Here are some radio stations (HLS URLs) that play well in Totem (Video) player, but fails in gradio.
First,
$ wget http://yleuni-f.akamaihd.net/i/yleliveradiohd_2@113879/master.m3u8
Then click on the master.m3u8 file and Totem/Video plays the stream.

Notice: The URL do not play in Totem/Video if added through "Add Web Video" menu. I have filed a bug on https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1608485

Radio YleX
HLS URL: http://yleuni-f.akamaihd.net/i/yleliveradiohd_2@113879/master.m3u8
Windows Media URL: http://mediau.yle.fi/liveylex
RTSP URL: rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_2_64@113879

Yle Puhe
HLS URL: http://yleuni-f.akamaihd.net/i/yleliveradiohd_5@113882/master.m3u8
Windows Media URL: http://mediau.yle.fi/liveradiopuhe
RTSP URL: rtsp://rtspstreamer.yle.fi/radio/yleliveradiohd_5_64@113882

This official YLE page has more stations (browse down).
http://yle.fi/aihe/artikkeli/2014/12/13/radio-ohjelmien-kuuntelu-lataus-ja-tilaus

BTW: Gradio works well with audio-recorder thanks to your correct MPRIS2 implementation. Nice!

Feature Request: Potentially allow an input of an FM Number?

Pretty much self-explanatory, for example, if you want to listen to Heart Cambridgeshire 102.7 FM, you can only find the London heart and listen to that, so is it possible to make an option to listen to a station by using their FM number to find their station??

.deb package fails on KDE

I run Kubuntu (KDE), and was a little suspicious when it told me it only needed too install one extra package:

** (gradio:4543): WARNING **: Util.vala:107: Operation not supported
** (gradio:4543): WARNING **: Gradio.vala:136: Cannot connect to the database. Is your internet connection working?

Yeah, my Internet (c'mon, Internet is a proper noun) connection works fine, but apparently something on gradio's end isn't.

I have no doubt that it's because I don't have a full (or even very partial) Gnome installation, but if this runs on Gnome it should run on KDE as long as you have all the dependencies specified.

Minimize to tray and double click to start as new features!

The App is great. I'm enjoying it on my XFCE desktop. I would like to suggest implementing these features:

  • Minimize to tray (Notification area) so that the application keeps running in background if it is closed. It would be nice if this feature would be then enabled/disabled.
  • Starting a station by double clicking on it

Thanks for the great work (Y)

GStreamer Plugins

You should add a note to the dependencies to install gstreamer-plugins or whatever the package is called in each distro. Even though some streams will play, many won't and GRadio will pop an error saying that Your GStreamer installation is missing a plugin.

No tooltips for radio station buttons

The popover that displays options for each radio station contains 4 buttons:

screenshot from 2016-08-03 20-40-11

However, the buttons don't appear to have tooltips attached. I find this a bit confusing as I am forgetful about the action represented by each icon.

Tested with Gradio 3.0.2 and gtk3-3.20.6-1.fc24.x86_64

Show audiotags

It would be nice if stream-tags (currently playing title and artist) are displayed.

Error at compile git version (cmake/make)

Arch Linux 64 bits

I've followed the instructions for compile/install gradio from sources but it fails:

$ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU 6.1.1
-- The CXX compiler identification is GNU 6.1.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for modules 'glib-2.0;gtk+-3.0>=3.18;gstreamer-1.0;gstreamer-pbutils-1.0;gstreamer-plugins-base-1.0;json-glib-1.0;gio-2.0;libsoup-2.4'
--   Found glib-2.0, version 2.48.1
--   Found gtk+-3.0, version 3.20.9
--   Found gstreamer-1.0, version 1.8.3
--   Found gstreamer-pbutils-1.0, version 1.8.3
--   Found gstreamer-plugins-base-1.0, version 1.8.3
--   Found json-glib-1.0, version 1.2.2
--   Found gio-2.0, version 2.48.1
--   Found libsoup-2.4, version 2.54.1
CMake Warning at cmake/GResource.cmake:26 (CMAKE_PARSE_ARGUMENTS):
  keyword defined more than once: SOURCE
Call Stack (most recent call first):
  CMakeLists.txt:109 (glib_compile_resources)


/home/juan/fuentes/gradio//data/gradio.gresource.xml: Falló al buscar «ui/action-popover.ui» en la carpeta actual.
-- Found Vala: /usr/bin/valac  
-- checking for a minimum Vala version of 0.16
--   found Vala, version 0.32.1
-- GSettings schemas will be installed locally.
-- GSettings shemas will be compiled.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/juan/fuentes/gradio/build

The make step:

$ make
Scanning dependencies of target pot_file
Scanning dependencies of target i18n
[  3%] Generating data/gradio.gresource.c
[  6%] Generating src/Data/Codec.c;src/Data/StationProvider.c;src/Data/RadioBrowser.c;src/Data/CategoryItemProvider.c;src/Widgets/DiscoverBox/DiscoverBox.c;src/Widgets/DiscoverBox/DiscoverSidebar.c;src/Widgets/DiscoverBox/CategoriesRow.c;src/Widgets/DiscoverBox/CategoryTile.c;src/Widgets/LibraryBox.c;src/Widgets/PlayerToolbar.c;src/Widgets/StationsView/ListItem.c;src/Widgets/StationsView/GridItem.c;src/Widgets/SettingsDialog.c;src/Widgets/StationsView/StationsView.c;src/Widgets/StationsView/StationsViewButton.c;src/Widgets/StationEditorDialog.c;src/AudioPlayer.c;src/RadioStation.c;src/Util.c;src/Gradio.c;src/Widgets/MainWindow.c;src/Config.c;src/Library.c;src/MPRIS.c
/home/juan/fuentes/gradio//data/gradio.gresource.xml: Failed to locate 'ui/action-popover.ui' in current directory.
make[2]: *** [CMakeFiles/gradio.dir/build.make:62: data/gradio.gresource.c] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 10%] Extract translatable messages to po/gradio.pot
[ 10%] Built target pot_file
libsoup-2.4.vapi:1134.3-1134.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1248.3-1248.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1898.3-1898.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1901.3-1901.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1904.3-1904.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1907.3-1907.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1910.3-1910.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1913.3-1913.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1916.3-1916.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1919.3-1919.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1922.3-1922.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1925.3-1925.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1958.3-1958.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1961.3-1961.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:1964.3-1964.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2034.3-2034.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2038.3-2038.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2041.3-2041.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2044.3-2044.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2047.3-2047.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2050.3-2050.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2053.3-2053.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2056.3-2056.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2059.3-2059.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2062.3-2062.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2065.3-2065.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
libsoup-2.4.vapi:2069.3-2069.12: warning: [Deprecated] is deprecated. Use [Version (deprecated = true, deprecated_since = "", replacement = "")]
/home/juan/fuentes/gradio/src/Library.vala:83.6-83.47: warning: unhandled error `GLib.IOError'
                    dostream.put_string (key.to_string()+"\n");
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/juan/fuentes/gradio/src/Gradio.vala:123.48-123.52: warning: Gtk.Stock has been deprecated since 3.10
/home/juan/fuentes/gradio/src/Util.vala:66.4-66.15: warning: `null' incompatible with return type `Gdk.Pixbuf`
            return null;
            ^^^^^^^^^^^^
Compilation succeeded - 30 warning(s)
make[1]: *** [CMakeFiles/Makefile2:168: CMakeFiles/gradio.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 10%] Built target i18n
make: *** [Makefile:150: all] Error 2

Moreover, README file says:

cd ~/Downloads
git clone https://github.com/haecker-felix/gradio.git
cd gradio
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX= usr ..
make
sudo make install

But I think it's missing a / in cmake step between = and usr, no?

[Kali Linux/Debian SID] cmake fails for recents libraries and naming issues

I tried to install from source in Kali Linux (a debian SID fork) and got four errors when i launched cmake
Checking for modules glib-2.0;gtk+-3.0>=3.18;gstreamer-1.0;json-glib-1.0;gio-2.0;gee-0.8;libsoup-2.4
No package 'gstreamer-1.0' found
No package 'json-glib-1.0' found
No package 'gee-0.8' found
No package 'libsoup-2.4' found

If i check my "libsoup" I can see that i have it installed but with a kind of higher version and a different name
ii libsoup2.4-1:amd64 2.54.1-1 amd64 HTTP library implementation in C -- Shared library

What could I modify to compile properly? I am pretty sure that it will work with this library
I just need to find the naming check to modify it to try,
For the record that what i have installed for the other three fail dependencies
kcdtv@ramonperez:/gradio/build$ dpkg -l | grep json-glib-1.0
ii libjson-glib-1.0-0:amd64 1.2.0-1 amd64 GLib JSON manipulation library
ii libjson-glib-1.0-common 1.2.0-1 all GLib JSON manipulation library (common files)

kcdtv@ramonperez:/gradio/build$ dpkg -l | grep gstreamer-1.0
ii gir1.2-gstreamer-1.0 1.8.2-1 amd64 GObject introspection data for the GStreamer library

and for gee i am not sure, i will check it out later

edit-----------

I found the gee dependency, it is gir1.2-gee-0.8 error was mine...
For the rest i still have this three failing while they are installed (it seems to me)
-- No package 'gstreamer-1.0' found
-- No package 'json-glib-1.0' found
-- No package 'libsoup-2.4' found

Popover requires gtk+ >= 3.18

I compiled gradio successfully on elementary freya (which is ubuntu 14.04 basically; shipping gtk+ 3.14) but when running the popovers are empty and gtk issues

Error building template class 'GradioActionPopover' for an instance of type 'GradioActionPopover': <input>: required gtk+ version 3.18, current version is 3.14

in the terminal.

So, please update the requirements section to reflect this.
Will check again when elementary loki is out, which should ship with gtk+ 3.18

Can't compile on 14.04

Hello,
I have installed gtk3.20 by hand, all deps seem to be met, but I still can't install. I get this error.

root@home:~/INSTALL/gradio-4.0.0/build# make
[  3%] Generating src/Widgets/DiscoverBox/DiscoverBox.c;src/Widgets/DiscoverBox/DiscoverSidebar.c;src/Widgets/DiscoverBox/CategoriesRow.c;src/Widgets/DiscoverBox/CategoryTile.c;src/Widgets/LibraryBox.c;src/Widgets/PlayerToolbar.c;src/Widgets/StationsView/ListItem.c;src/Widgets/StationsView/GridItem.c;src/Widgets/ActionPopover.c;src/Widgets/SettingsDialog.c;src/Widgets/StationsView/StationsView.c;src/Widgets/StationsView/StationsViewButton.c;src/Widgets/StationEditorDialog.c;src/AudioPlayer.c;src/RadioStation.c;src/Util.c;src/Gradio.c;src/Widgets/MainWindow.c;src/StationDataProvider.c;src/Config.c;src/Library.c;src/MPRIS.c
/root/INSTALL/gradio-4.0.0/src/Widgets/DiscoverBox/DiscoverBox.vala:26.11-26.17: error: The type name `FlowBox' could not be found
        private FlowBox categories;
                ^^^^^^^
/root/INSTALL/gradio-4.0.0/src/Widgets/DiscoverBox/CategoryTile.vala:6.30-6.45: error: The type name `Gtk.FlowBoxChild' could not be found
    public class CategoryTile : Gtk.FlowBoxChild{
                                ^^^^^^^^^^^^^^^^
/root/INSTALL/gradio-4.0.0/src/Widgets/PlayerToolbar.vala:6.31-6.43: error: The type name `Gtk.ActionBar' could not be found
    public class PlayerToolbar : Gtk.ActionBar{
                                 ^^^^^^^^^^^^^
/root/INSTALL/gradio-4.0.0/src/Widgets/StationsView/GridItem.vala:6.26-6.41: error: The type name `Gtk.FlowBoxChild' could not be found
    public class GridItem : Gtk.FlowBoxChild{
                            ^^^^^^^^^^^^^^^^
/root/INSTALL/gradio-4.0.0/src/Widgets/ActionPopover.vala:6.31-6.41: error: The type name `Gtk.Popover' could not be found
    public class ActionPopover : Gtk.Popover{
                                 ^^^^^^^^^^^
/root/INSTALL/gradio-4.0.0/src/Widgets/StationsView/StationsView.vala:15.11-15.17: error: The type name `FlowBox' could not be found
        private FlowBox GridViewFlowBox;
                ^^^^^^^
/root/INSTALL/gradio-4.0.0/src/Widgets/StationsView/StationsView.vala:118.41-118.51: error: The type name `Gtk.FlowBox' could not be found
            Util.remove_all_items_from_flow_box((Gtk.FlowBox) GridViewFlowBox);
                                                 ^^^^^^^^^^^
/root/INSTALL/gradio-4.0.0/src/Util.vala:74.53-74.63: error: The type name `Gtk.FlowBox' could not be found
    public static void remove_all_items_from_flow_box (Gtk.FlowBox container) {
                                                       ^^^^^^^^^^^
Compilation failed: 8 error(s), 0 warning(s)
make[2]: *** [gradio_valac.stamp] Error 1
make[1]: *** [CMakeFiles/gradio.dir/all] Error 2
make: *** [all] Error 2

Can you give me a hit what I might be missing?

desktop-file-validate fails on desktop-file

When running desktop-file-validate on gradios desktop-file it fails with following errors:

  • desktop-file-validate /builddir/build/BUILDROOT/gradio-4.0-1.201607281820git366b15d.fc24.x86_64/usr/share/applications/gradio.desktop
    /builddir/build/BUILDROOT/gradio-4.0-1.201607281820git366b15d.fc24.x86_64/usr/share/applications/gradio.desktop: error: value "4.0.0" for key "Version" in group "Desktop Entry" is not a known version
    /builddir/build/BUILDROOT/gradio-4.0-1.201607281820git366b15d.fc24.x86_64/usr/share/applications/gradio.desktop: error: file contains key "_Comment" in group "Desktop Entry", but key names must contain only the characters A-Za-z0-9- (they may have a "[LOCALE]" postfix)
    /builddir/build/BUILDROOT/gradio-4.0-1.201607281820git366b15d.fc24.x86_64/usr/share/applications/gradio.desktop: error: file contains key "_GenericName" in group "Desktop Entry", but key names must contain only the characters A-Za-z0-9- (they may have a "[LOCALE]" postfix)
    /builddir/build/BUILDROOT/gradio-4.0-1.201607281820git366b15d.fc24.x86_64/usr/share/applications/gradio.desktop: error: value "GNOME;GTK;Utility;Productivity" for key "Categories" in group "Desktop Entry" contains an unregistered value "Productivity"; values extending the format should start with "X-"

Crash on Voting

if i vote for any station it crashes.
when i start again, i see the votes number increased. so that worked.

Add an option to disable tray icon and notifications

Latest git master has a tray icon and notifications which can't be disabled. It would be nice to have an option to turn them on or off because for me at least the notifications are boring because the appear very often.

seperate volume control

Please add a seperate volume control so its possible to listen to internet radio stations while doing other things and without permanently playing around with Gnome-Shell volume.

valac problem

cmake -DCMAKE_INSTALL_PREFIX=/usr ..
...
Could NOT find Vala (missing: VALA_EXECUTABLE)
...

Fix for me:
cmake -DVALA_EXECUTABLE:NAMES=valac-0.32 -DCMAKE_INSTALL_PREFIX=/usr ..

Have three version of vala installed on gentoo system. None of them are default which as I think of it is a problem of gentoo and not gradio. Maybe this helps someone else to install it.

Have requested that gradio be added to repository for gentoo.

Thanks for gradio.

Segmentation fault starting gradio

After latest commit (3a23ba3), when gradio starts, a segmentation fault error appears:

$gradio
** Message: MPRIS.vala:20: Successfully initialized MPRIS session.
** Message: Library.vala:90: Reading library data from: /home/andrea/.local/share/gradio/library.gradio

(gradio:12309): Json-CRITICAL **: json_array_get_element: assertion 'index_ < array->elements->len' failed

(gradio:12309): Json-CRITICAL **: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed

** (gradio:12309): CRITICAL **: gradio_station_data_provider_parse_station_data_from_json: assertion 'radio_station_data != NULL' failed
** Message: Library.vala:111: Successfully imported library

** (gradio:12309): CRITICAL **: gradio_list_item_construct: assertion 's != NULL' failed

(gradio:12309): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
Segmentation fault (core dumped)

Till commit 69 (9c6afab) everything works as expected

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.