[gnome-internet-radio-locator] Add WBUR and WTBU
- From: Ole Aamot <ole src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-internet-radio-locator] Add WBUR and WTBU
- Date: Fri, 5 Apr 2019 11:04:14 +0000 (UTC)
commit 83506e06f72ae33f6d322c39ecdac71dde1f18c2
Author: Ole Aamot <ole gnome org>
Date: Fri Apr 5 13:03:32 2019 +0200
Add WBUR and WTBU
NEWS | 7 +++++++
src/gnome-internet-radio-locator-markers.c | 13 ++++++++++++-
src/gnome-internet-radio-locator.xml | 6 +++---
3 files changed, 22 insertions(+), 4 deletions(-)
---
diff --git a/NEWS b/NEWS
index 11e451a..7c579a5 100644
--- a/NEWS
+++ b/NEWS
@@ -2,8 +2,15 @@
Version 2.0.2
=============
+Documentation
+
* NEWS: Fix typo
+GUI
+
+ * src/gnome-internet-radio-locator-markers.c: Add WBUR (Boston, Massachusetts)
+ * src/gnome-internet-radio-locator-markers.c: Add WTBU (Boston, Massachusetts)
+
=============
Version 2.0.1
=============
diff --git a/src/gnome-internet-radio-locator-markers.c b/src/gnome-internet-radio-locator-markers.c
index 62609b1..435209d 100644
--- a/src/gnome-internet-radio-locator-markers.c
+++ b/src/gnome-internet-radio-locator-markers.c
@@ -170,7 +170,18 @@ 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("Boston, Massachusetts\n<span size=\"small\">WTBU</span>");
+ station = g_strdup("WBUR, Boston, Massachusetts\n<span size=\"small\">WBUR</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_color);
+ champlain_label_set_text_color (CHAMPLAIN_LABEL (marker), &text_color);
+ champlain_location_set_location (CHAMPLAIN_LOCATION (marker), 42.3516603, -71.1226348);
+ 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("WTBU, Boston, Massachusetts\n<span size=\"small\">WTBU</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_color);
diff --git a/src/gnome-internet-radio-locator.xml b/src/gnome-internet-radio-locator.xml
index f9365f7..edebe93 100644
--- a/src/gnome-internet-radio-locator.xml
+++ b/src/gnome-internet-radio-locator.xml
@@ -1,10 +1,10 @@
<?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.0.0">
+<gnome_internet_radio_locator version="2.0.2">
<station band="90.9FM" id="WBUR" lang="en" name="WBUR" rank="1.0" type="org">
<frequency uri="http://wbur.org/">FM 90.9 in Boston</frequency>
- <location>Boston, Massachusetts</location>
+ <location>WBUR, Boston, Massachusetts</location>
<description lang="en">Radio Boston</description>
<stream mime="audio/mpeg" uri="https://icecast-stream.wbur.org/" codec="MPEG-1 Layer 3 (MP3)"
samplerate="22050 Hz" channels="Mono" bitrate="48 kbps" />
<uri>http://wbur.org/</uri>
@@ -1022,7 +1022,7 @@ Behind the scenes we rely on our fantastic technical, musical and promotional te
</station>
<station band="1330AM" id="wtbu" lang="en" name="WTBU" rank="1.0" type="edu">
<frequency uri="http://www.wtburadio.org/">89.3 FM in Boston, Massachusetts</frequency>
- <location>Boston, Massachusetts</location>
+ <location>WTBU, Boston, Massachusetts</location>
<description lang="en">WTBU is BU's student-run, volunteer radio station which broadcasts live 20 hours
a day. Our station is primarily available through our webcast, but you can also listen to us on 89.3 FM/640
AM if you're in Boston, or on BU's cable channel 6 if you live on campus.</description>
<stream mime="audio/mpeg" uri="http://wtbu.bu.edu:1800/listen" codec="MPEG 1 Audio, Layer 3 (MP3)"
samplerate="44100 Hz" channels="Stereo" bitrate="191 kbps" />
<uri>http://sites.bu.edu/wtbu/</uri>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]