annotate src/streambrowser/shoutcast.h @ 2848:fbb32674bfd2

click on a stream updates; more comments; more proper stream icons
author Calin Crisan ccrisan@gmail.com
date Mon, 28 Jul 2008 23:43:31 +0300
parents cc6f02424609
children c27da2c06805
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2811
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
1 /*
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
2 * Audacious Streambrowser Plugin
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
3 *
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
4 * Copyright (c) 2008 Calin Crisan <ccrisan@gmail.com>
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
5 *
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
6 * This program is free software; you can redistribute it and/or modify
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
7 * it under the terms of the GNU General Public License as published by
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
8 * the Free Software Foundation; under version 3 of the License.
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
9 *
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
10 * This program is distributed in the hope that it will be useful,
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
13 * GNU General Public License for more details.
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
14 *
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
15 * You should have received a copy of the GNU General Public License
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
16 * along with this program. If not, see <http://www.gnu.org/licenses>.
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
17 */
7977bdc02664 added GPL headers
Calin Crisan ccrisan@gmail.com
parents: 2791
diff changeset
18
2570
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
19
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
20 #ifndef SHOUTCAST_H
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
21 #define SHOUTCAST_H
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
22
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
23 #include "streambrowser.h"
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
24 #include "streamdir.h"
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
25
2791
f9c6a9cb442e streambrowser has now an icon
Calin Crisan ccrisan@gmail.com
parents: 2757
diff changeset
26 #define SHOUTCAST_NAME "Shoutcast"
f9c6a9cb442e streambrowser has now an icon
Calin Crisan ccrisan@gmail.com
parents: 2757
diff changeset
27 #define SHOUTCAST_ICON DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "shoutcast.png"
2570
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
28 #define SHOUTCAST_STREAMDIR_URL "http://www.shoutcast.com/sbin/newxml.phtml"
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
29 #define SHOUTCAST_CATEGORY_URL "http://www.shoutcast.com/sbin/newxml.phtml?genre=%s"
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
30 #define SHOUTCAST_STREAMINFO_URL "http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=%s&file=filename.pls"
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
31
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
32
2848
fbb32674bfd2 click on a stream updates; more comments; more proper stream icons
Calin Crisan ccrisan@gmail.com
parents: 2815
diff changeset
33 gboolean shoutcast_streaminfo_fetch(category_t *category, streaminfo_t *streaminfo);
2791
f9c6a9cb442e streambrowser has now an icon
Calin Crisan ccrisan@gmail.com
parents: 2757
diff changeset
34 gboolean shoutcast_category_fetch(category_t *category);
f9c6a9cb442e streambrowser has now an icon
Calin Crisan ccrisan@gmail.com
parents: 2757
diff changeset
35 streamdir_t* shoutcast_streamdir_fetch();
2570
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
36
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
37
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
38 #endif // SHOUTCAST_H
28498c0bde64 Initial commit for the streambrowser plugin
Calin Crisan ccrisan@gmail.com
parents:
diff changeset
39