view src/streambrowser/shoutcast.h @ 2791:f9c6a9cb442e

streambrowser has now an icon
author Calin Crisan ccrisan@gmail.com
date Wed, 09 Jul 2008 22:52:56 +0300
parents 4ec0e13208de
children 7977bdc02664
line wrap: on
line source


#ifndef SHOUTCAST_H
#define SHOUTCAST_H

#include "streambrowser.h"
#include "streamdir.h"

#define SHOUTCAST_NAME				"Shoutcast"
#define SHOUTCAST_ICON				DATA_DIR G_DIR_SEPARATOR_S "images" G_DIR_SEPARATOR_S "shoutcast.png"
#define SHOUTCAST_STREAMDIR_URL		"http://www.shoutcast.com/sbin/newxml.phtml"
#define SHOUTCAST_CATEGORY_URL		"http://www.shoutcast.com/sbin/newxml.phtml?genre=%s"
#define SHOUTCAST_STREAMINFO_URL	"http://www.shoutcast.com/sbin/shoutcast-playlist.pls?rn=%s&file=filename.pls"
#define SHOUTCAST_BUFFER_SIZE		256


gboolean							shoutcast_category_fetch(category_t *category);
streamdir_t*						shoutcast_streamdir_fetch();


#endif	// SHOUTCAST_H