[gnome-internet-radio-locator] Update WTBU (Boston)



commit f6f937adb65a87b2e55919e5cfddd8c418366acf
Author: Ole Aamot <ole gnome org>
Date:   Sun Feb 3 00:32:48 2019 +0100

    Update WTBU (Boston)

 NEWS                                       |  1 +
 src/gnome-internet-radio-locator-markers.c | 11 +++++++++++
 src/gnome-internet-radio-locator.xml       |  4 +---
 3 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/NEWS b/NEWS
index 759f0d1..c5a1f9b 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ Stations
 
        * src/gnome-internet-radio-locator.xml: Add Radio Aktywne (Warsaw)
        * src/gnome-internet-radio-locator.xml: Add Radio Moreeni (Tampere)
+       * src/gnome-internet-radio-locator.xml: Update WTBU (Boston)
        * src/gnome-internet-radio-locator.xml: Update WHRB (Cambridge)
 
 Translations
diff --git a/src/gnome-internet-radio-locator-markers.c b/src/gnome-internet-radio-locator-markers.c
index 8e70fea..e73c10f 100644
--- a/src/gnome-internet-radio-locator-markers.c
+++ b/src/gnome-internet-radio-locator-markers.c
@@ -166,6 +166,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("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);
+  champlain_label_set_text_color (CHAMPLAIN_LABEL (marker), &text_color);
+  champlain_location_set_location (CHAMPLAIN_LOCATION (marker), 42.3602534, -71.0582912);
+  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("Bruxelles, Belgium\n<span size=\"small\">Radio Campus</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 298c91a..00e22a5 100644
--- a/src/gnome-internet-radio-locator.xml
+++ b/src/gnome-internet-radio-locator.xml
@@ -632,16 +632,14 @@ WUMR has been the University of Memphis broadcasting outlet since 1979, when Sou
     <stream mime="audio/mpeg" uri="http://audio.wpts.pitt.edu:8000/wpts_live_96s.mp3"; codec="MPEG 1 Audio, 
Layer 3 (MP3)" samplerate="44100 Hz" channels="Stereo" bitrate="96 kbps" />
     <stream mime="audio/mpeg" uri="http://audio.wpts.pitt.edu:8000/wpts_live_48s.mp3"; codec="MPEG 1 Audio, 
Layer 3 (MP3)" samplerate="44100 Hz" channels="Stereo" bitrate="48 kbps" />
   </station>
-  <!-- Appears to be down as of 2016/07/07
   <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>
     <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://www.bu.edu/com/wtbu-radio/listen.m3u"; codec="MPEG 1 Audio, Layer 3 
(MP3)" samplerate="44100 Hz" channels="Stereo" bitrate="128 kbps" />
+    <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" />
   </station>
-  -->
   <station band="1330AM" id="kasc" lang="en" name="Arizona State University" rank="1.0" type="edu">
     <frequency uri="http://www.blazeradioonline.com/";>1330 AM in Phoenix, Arizona</frequency>
     <location>Phoenix, Arizona</location>


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