Commit 02a3cdbd authored by Ole Aamot's avatar Ole Aamot 💬

Prepare gnome-internet-radio-locator 0.4.0

parent 8388c6db
=============
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
=============
......
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.
......
......@@ -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])
......
......@@ -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
......
......@@ -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\"
......
......@@ -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"))) {
......
......@@ -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;
......
......@@ -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 &amp; 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 &amp; 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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment