View Javadoc

1   package org.rpi.radio.parsers;
2   
3   import org.apache.log4j.BasicConfigurator;
4   
5   public class TestParsers {
6   
7       /**
8        * @param args
9        */
10      public static void main(String[] args) {
11          BasicConfigurator.configure();
12          PLSParser pls = new PLSParser();
13          //pls.getStreamingUrl("http://radio.linnrecords.com/cast/tunein.php/linnjazz/playlist.pls");
14          M3UParser m3u = new M3UParser();
15          //m3u.getStreamingUrl("http://media-ice.musicradio.com/CapitalManchesterMP3.m3u");
16          //ASXParser asx = new ASXParser();
17          //asx.getStreamingUrl("http://bbc.co.uk/radio/listen/live/bbcmanchester.asx");
18          FileParser asx = new FileParser();
19          //asx.getStreamingUrl("http://192.168.1.205:26125/content/c2/b24/f96000/d92628-co38099.flac");
20          //asx.getStreamingUrl("http://192.168.1.205:26125/content/c2/b16/f44100/d78050-co1674.mp3");
21          //asx.getURL("http://www.bbc.co.uk/mediaselector/4/asx/b039vd9f/iplayer_intl_stream_wma_uk_concrete");
22          //asx.getURL("http://bbc.co.uk/radio/listen/live/bbcmanchester.asx");
23          //asx.getURL("http://webradio.radiomonitor.com/m3u/talksport");
24          //asx.getStreamingUrl("http://gmgmp3.shoutcast.streamuk.com:10022/listen.pls");
25          //asx.getStreamingUrl("http://media.on.net/radio/137.m3u");
26          //asx.getURL("http://streamb.wgbh.org:8004/");
27          //asx.getURL("http://streaming.radionz.co.nz/concert-mbr");
28          //asx.getURL("http://www.voanews.com/wm/live/radiodeewa.asx");
29          asx.getURL("http://192.168.1.205:26125/content/c2/b16/f44100/d87996-co122.flac");
30  
31      }
32  
33  }