[gnome-internet-radio-locator] Prepare gnome-internet-radio-locator 0.4.0
- From: ole <ole src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-internet-radio-locator] Prepare gnome-internet-radio-locator 0.4.0
- Date: Tue, 27 Jun 2017 18:12:47 +0000 (UTC)
commit 02a3cdbd5866b555b4501c71961611c7d4841c37
Author: Ole Aamot <oka oka no>
Date: Tue Jun 27 20:11:43 2017 +0200
Prepare gnome-internet-radio-locator 0.4.0
NEWS | 12 ++++++++++++
README | 4 ++--
configure.ac | 2 +-
gnome-internet-radio-locator.spec.in | 3 +++
src/Makefile.am | 2 +-
src/gnome-internet-radio-locator-station.c | 2 +-
src/gnome-internet-radio-locator.c | 7 ++++++-
src/gnome-internet-radio-locator.xml | 16 +++++++++++++++-
8 files changed, 41 insertions(+), 7 deletions(-)
---
diff --git a/NEWS b/NEWS
index 4fd2b97..b92a2ed 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,16 @@
=============
+Version 0.4.0
+=============
+
+Stations (src/gnome-internet-radio-locator.xml)
+
+ * Add Hawaii Public Radio (hawaiipublicradio.org)
+
+Translations
+
+ * Daniel Mustieles (es)
+
+=============
Version 0.3.0
=============
diff --git a/README b/README
index ab306cd..56251c8 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-GNOME Internet Radio Locator allows the user to easily listen to
-radio programs on WNYC over the Internet with the help of a map.
+GNOME Internet Radio Locator allows the user to easily locate and
+listen to Internet radio stations such as WNYC over the Internet.
Enjoy Internet Radio.
diff --git a/configure.ac b/configure.ac
index 3a7a23e..a56ecee 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,0.3.0)
+AC_INIT(gnome-internet-radio-locator,0.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/gnome-internet-radio-locator.spec.in b/gnome-internet-radio-locator.spec.in
index 6f161b1..897d5ae 100644
--- a/gnome-internet-radio-locator.spec.in
+++ b/gnome-internet-radio-locator.spec.in
@@ -72,6 +72,9 @@ fi
%{_datadir}/help/*/%{name}
%changelog
+* Tue Jun 27 2017 Ole Aamot - 0.4.0-1.fc25
+- gnome-internet-radio-locator 0.4.0 build on Fedora Linux 25
+
* Sun Jun 18 2017 Ole Aamot - 0.3.0-1.fc25
- gnome-internet-radio-locator 0.3.0 build on Fedora Linux 25
diff --git a/src/Makefile.am b/src/Makefile.am
index 830e854..b6f8b9f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,7 +24,7 @@ gnome_internet_radio_locator_SOURCES = \
gnome_internet_radio_locator_CFLAGS = $(GNOME_INTERNET_RADIO_LOCATOR_CFLAGS) \
-DGNOME_INTERNET_RADIO_LOCATOR_DATADIR=\"$(datadir)/gnome-internet-radio-locator\" \
-DDATADIR=\"$(datadir)\" \
- -DGNOME_INTERNET_RADIO_LOCATOR_DEBUG=1 \
+ -DGNOME_INTERNET_RADIO_LOCATOR_DEBUG=0 \
-DGNOME_INTERNET_RADIO_LOCATOR_CFG \
-DGNOMELOCALEDIR=\"$(datadir)/locale\"
diff --git a/src/gnome-internet-radio-locator-station.c b/src/gnome-internet-radio-locator-station.c
index 3b9ca3a..5a20350 100644
--- a/src/gnome-internet-radio-locator-station.c
+++ b/src/gnome-internet-radio-locator-station.c
@@ -442,7 +442,7 @@ gnome_internet_radio_locator_station_parser(GNOMEInternetRadioLocatorStationInfo
xmlNodeListGetString(doc, sub->xmlChildrenNode,
1);
GNOME_INTERNET_RADIO_LOCATOR_DEBUG_MSG("station->uri = %s\n", station->uri);
- /* fprintf(stdout, "%s (%s)\n%s\n\n", station->name, station->location,
station->uri); */
+ /* fprintf(stdout, "<a href=\"%s\">%s (%s)</a>\n\n", station->uri, station->name,
station->location); */
}
if ((!xmlStrcmp(sub->name, (const xmlChar *) "stream"))) {
diff --git a/src/gnome-internet-radio-locator.c b/src/gnome-internet-radio-locator.c
index 0a86c18..fefeb8f 100644
--- a/src/gnome-internet-radio-locator.c
+++ b/src/gnome-internet-radio-locator.c
@@ -332,7 +332,11 @@ static void
listen_station(GSimpleAction *simple, GVariant *parameter, gpointer user_data) {
player = gst_player_new (NULL, gst_player_g_main_context_signal_dispatcher_new
(NULL));
- gnome_internet_radio_locator_player_new(player, "http://fm939.wnyc.org/wnycfm");
+ if (strcmp(gnome_internet_radio_locator->selected_station_uri, NULL) == 0) {
+ gnome_internet_radio_locator_player_new(player, "http://fm939.wnyc.org/wnycfm");
+ } else {
+ gnome_internet_radio_locator_player_new(player, gnome_internet_radio_locator->selected_station_uri);
+ }
gst_player_play(player);
return;
}
@@ -640,6 +644,7 @@ on_search_matches(GtkEntryCompletion *widget,
gtk_tree_model_get_value(model, iter, STATION_URI, &value);
gnome_internet_radio_locator_player_stop(player);
player = gst_player_new (NULL, gst_player_g_main_context_signal_dispatcher_new(NULL));
+ /* g_object_set_data(G_OBJECT(widget), "station_uri", g_value_get_string(&value)); */
gnome_internet_radio_locator_player_new(player, g_value_get_string(&value));
gst_player_play(player);
return FALSE;
diff --git a/src/gnome-internet-radio-locator.xml b/src/gnome-internet-radio-locator.xml
index c16892f..4fd41c6 100644
--- a/src/gnome-internet-radio-locator.xml
+++ b/src/gnome-internet-radio-locator.xml
@@ -2,6 +2,20 @@
<?xml-stylesheet type="text/xsl" href="gnome_internet_radio_locator.xsl" ?>
<!DOCTYPE gnome_internet_radio_locator SYSTEM "gnome_internet_radio_locator-0.1.dtd">
<gnome_internet_radio_locator version="0.3.0">
+ <station band="88.1FM" id="hpr" lang="en" name="Hawaii Public Radio" rank="1.0" type="org">
+ <frequency uri="http://www.hawaiipublicradio.org/">FM 88.1 & FM 88.5 in Honololulu</frequency>
+ <frequency uri="http://www.hawaiipublicradio.org/">FM 89.1 in Hilo</frequency>
+ <frequency uri="http://www.hawaiipublicradio.org/">FM 90.7 in Wailuku</frequency>
+ <frequency uri="http://www.hawaiipublicradio.org/">FM 94.9 Waimea</frequency>
+ <frequency uri="http://www.hawaiipublicradio.org/">FM 95.7 Waimea & Kailua-Kona</frequency>
+ <frequency uri="http://www.hawaiipublicradio.org/">FM 89.9 Moloa'a (Kaua'i)</frequency>
+ <location>Honolulu, HI</location>
+ <description lang="en">
+ Hawaii Public Radio, is a network of six non-commercial, listener-supported stations serving the state
of Hawaii. It is the statewide member of National Public Radio.
+ </description>
+ <stream mime="audio/mpeg" uri="http://khpr-ice.streamguys1.com:80/khpr2" codec="MPEG-1 Layer 3 (MP3)"
samplerate="24000 Hz" channels="Mono" bitrate="24 kbps" />
+ <uri>http://www.hawaiipublicradio.org/</uri>
+ </station>
<station band="ONLINE" id="burstradio" lang="en" name="Burst Radio" rank="1.0" type="edu">
<frequency uri="http://www.burstradio.org.uk/"></frequency>
<location>Bristol, United Kingdom</location>
@@ -313,7 +327,7 @@ WUMR has been the University of Memphis broadcasting outlet since 1979, when Sou
-->
<station band="90.3FM" id="ktuh" lang="en" name="KTUH FM" rank="1.0" type="edu">
<frequency uri="http://ktuh.org/">ONLINE in Honolulu, HI</frequency>
- <location>Honolulu, Hawaii</location>
+ <location>Honolulu, HI</location>
<description lang="en">
KTUH is a student-run noncommercial radio station broadcasting from the University of Hawai’i at
Manoa. We’ve been serving the community since 1969 with a variety of programs that include public
announcements, equipment for community events, and a practical chance to learn about radio broadcasting. KTUH
was granted a license to the Board of Regents as a non-commercial educational FM Station by the Federal
Communications Commission (FCC) on June 28, 1985. Maintaining a staff in excess of 70 volunteers annually,
KTUH operates 24 hours a day, year-round.
</description>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]