[gnome-internet-radio-locator] Release GNOME Internet Radio Locator version 2.4.0



commit af4eaf73403ad3ceda46b7615216ca5785241759
Author: Ole Aamot <ole gnome org>
Date:   Tue Dec 31 20:47:29 2019 +0100

    Release GNOME Internet Radio Locator version 2.4.0

 NEWS                                       |  8 ++++++++
 configure.ac                               |  2 +-
 src/gnome-internet-radio-locator-markers.c | 11 +++++++++++
 src/gnome-internet-radio-locator.xml       |  9 ++++++++-
 4 files changed, 28 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index 61a2dab..b44e8ba 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+=============
+Version 2.4.0
+=============
+
+Stations
+
+       * src/gnome-internet-radio-locator.xml: Add Barcelona City FM (Barcelona, Catalonia)
+
 =============
 Version 2.2.0
 =============
diff --git a/configure.ac b/configure.ac
index 60277a0..d6315b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT(gnome-internet-radio-locator,2.2.0)
+AC_INIT(gnome-internet-radio-locator,2.4.0)
 AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
 AM_MAINTAINER_MODE
 AC_CONFIG_SRCDIR([src/gnome-internet-radio-locator.c])
diff --git a/src/gnome-internet-radio-locator-markers.c b/src/gnome-internet-radio-locator-markers.c
index da74fa8..7928b4a 100644
--- a/src/gnome-internet-radio-locator-markers.c
+++ b/src/gnome-internet-radio-locator-markers.c
@@ -176,6 +176,17 @@ create_marker_layer (G_GNUC_UNUSED ChamplainView *view, ChamplainPathLayer **pat
        /* champlain_path_layer_add_node (*path, CHAMPLAIN_LOCATION (marker)); */
        g_signal_connect(CHAMPLAIN_LOCATION(marker), "button-press", G_CALLBACK(marker_function), station);
        marker = champlain_label_new_from_file ("icons/emblem-generic.png", NULL);
+       station = g_strdup("Barcelona, Catalonia\n<span size=\"small\">Barcelona City FM</span>");
+       champlain_label_set_text (CHAMPLAIN_LABEL (marker), station);
+       champlain_label_set_use_markup (CHAMPLAIN_LABEL (marker), TRUE);
+       champlain_label_set_color (CHAMPLAIN_LABEL (marker), &city_b_color);
+       champlain_label_set_text_color (CHAMPLAIN_LABEL (marker), &text_color);
+       champlain_location_set_location (CHAMPLAIN_LOCATION (marker), 41.3828939, 2.1774322);
+       champlain_marker_layer_add_marker (layer, CHAMPLAIN_MARKER (marker));
+       champlain_marker_animate_in(CHAMPLAIN_MARKER (marker));
+       /* champlain_path_layer_add_node (*path, CHAMPLAIN_LOCATION (marker)); */
+       g_signal_connect(CHAMPLAIN_LOCATION(marker), "button-press", G_CALLBACK(marker_function), station);
+       marker = champlain_label_new_from_file ("icons/emblem-generic.png", NULL);
        station = g_strdup("Bergen, Norway\n<span size=\"small\">SRIB</span>");
        champlain_label_set_text (CHAMPLAIN_LABEL (marker), station);
        champlain_label_set_use_markup (CHAMPLAIN_LABEL (marker), TRUE);
diff --git a/src/gnome-internet-radio-locator.xml b/src/gnome-internet-radio-locator.xml
index ef9af76..37ce1d1 100644
--- a/src/gnome-internet-radio-locator.xml
+++ b/src/gnome-internet-radio-locator.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml-stylesheet type="text/xsl" 
href="https://people.gnome.org/~ole/gnome-internet-radio-locator/gnome-internet-radio-locator.xsl"; ?>
 <!DOCTYPE gnome_internet_radio_locator SYSTEM "gnome-internet-radio-locator-0.1.dtd">
-<gnome_internet_radio_locator version="2.2.0">
+<gnome_internet_radio_locator version="2.4.0">
   <station band="92.2FM" id="anr" lang="dk" name="ANR" rank="1.0" type="com">
     <frequency uri="http://www.anr.dk/";>FM 87.6 in Aalborg C, Denmark</frequency>
     <frequency uri="http://www.anr.dk/";>FM 88.5 in Nørlund, Denmark</frequency>
@@ -49,6 +49,13 @@
     <stream mime="audio/ogg" uri="http://1431am.org:8000/1431ogg"; codec="Ogg Vorbis" samplerate="44100 Hz" 
channels="Stereo" bitrate="160 kbps" />
     <uri>https://www.1431am.org/</uri>
   </station>
+  <station band="Online" id="bcn" lang="en" name="Barcelona City FM" rank="1.0" type="com">
+    <frequency uri="http://www.barcelonacityfm.com/";>Online in Barcelona, Catalonia</frequency>
+    <location>Barcelona, Catalonia</location>
+    <description lang="en">Barcelona's first 24/7 English-speaking radio station: Barcelona City FM! A team 
of twenty-five presenters are making programs covering a wide spectrum of perspectives, combining the best 
music, humour, chat, politics, local news, what's on in Barcelona.</description>
+    <stream mime="audio/mpeg" uri="https://s2.radio.co/sd9da54aa0/listen"; codec="MPEG-1 Layer 3 (MP3)" 
samplerate="44100 Hz" channels="Stereo" bitrate="127 kbps" />
+    <uri>http://www.barcelonacityfm.com/</uri>
+  </station>
   <station band="Online" id="radioeins" lang="de" name="Radio Eins" rank="1.0" type="gov">
     <frequency uri="http://www.radioeins.de/";>Online in Berlin, Germany</frequency>
     <location>Berlin, Germany</location>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]