public static void main(String [] args) throws SAXException, JPlaylistParserException {
		URL url;
		HttpURLConnection conn = null;
		InputStream is = null;
		
		try {
			url = new URL("Enter playlist URL here");
			conn = (HttpURLConnection) url.openConnection();        	
			conn.setConnectTimeout(6000);
			conn.setReadTimeout(6000);
			conn.setRequestMethod("GET");
    		
			String contentType = conn.getContentType();
			is = conn.getInputStream();
			
			AutoDetectParser parser = new AutoDetectParser(); // Should auto-detect!
		    Playlist playlist = new Playlist();		        
		    parser.parse(url.toString(), contentType, is, playlist);
		    
		    for (int i = 0; i < playlist.getPlaylistEntries().size(); i++) {
		    	PlaylistEntry entry = playlist.getPlaylistEntries().get(i);
		    	System.out.println(entry.get(PlaylistEntry.URI));
		    }
		} catch (MalformedURLException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (conn != null) {
				conn.disconnect();
			}
			
			if (is != null) {
				try {
					is.close();
				} catch (IOException e) {
				}
			}
		}
	}