1
// -------------------------------------------------------------------------------- //
2
// Copyright (C) 2008-2010 J.Rios
5
// This Program is free software; you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation; either version 2, or (at your option)
10
// This Program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
15
// You should have received a copy of the GNU General Public License
16
// along with this program; see the file LICENSE. If not, write to
17
// the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18
// http://www.gnu.org/copyleft/gpl.html
20
// -------------------------------------------------------------------------------- //
25
#include "PlayListFile.h"
27
#define SHOUTCAST_STATION_STATUS_NAME 0
28
#define SHOUTCAST_STATION_STATUS_GENRE 1
29
#define SHOUTCAST_STATION_STATUS_URL 2
30
#define SHOUTCAST_STATION_STATUS_TYPE 3
31
#define SHOUTCAST_STATION_STATUS_BITRATE 4
32
#define SHOUTCAST_STATION_STATUS_CURSONG 5
34
#define SHOUTCAST_STATION_ALLBITRATES -1
36
// -------------------------------------------------------------------------------- //
40
wxString m_LastServerUrl;
41
wxArrayString m_LastServerData;
44
guShoutCast() { m_LastServerUrl = wxEmptyString; };
45
wxArrayString GetGenres( void ) const;
46
void GetStations( const int source, const int flags, const wxString &text, const int id, guRadioStations * Stations, long MinBitrate = SHOUTCAST_STATION_ALLBITRATES ) const;
47
wxString GetStationUrl( const int id ) const;
48
guStationPlayList GetStationPlayList( const int StationId ) const;
49
guStationPlayList GetStationPlayList( const wxString &stationurl ) const;
50
wxArrayString GetStationStatus( const wxString ServerUrl );
54
// -------------------------------------------------------------------------------- //