Building Simple Shoutcast Web Interface for Mobile Part 4

by nolovelust 30. March 2010 21:28

For part 3 click Building Simple Shoutcast Web Interface for Mobile Part 3

App_Data/Genres.xml

<?xml version="1.0" encoding="utf-8" ?>
<categories>
<cat>Top500</cat>
<cat>70s</cat>
<cat>80s</cat>
<cat>Alternative</cat>
<cat>Blues</cat>
<cat>Classical</cat>
<cat>Comedy</cat>
<cat>Country</cat>
<cat>Dance</cat>
<cat>Decades</cat>
<cat>Easy Listening</cat>
<cat>Electronic</cat>
<cat>Folk</cat>
<cat>Funk</cat>
<cat>Inspirational</cat>
<cat>International</cat>
<cat>Jazz</cat>
<cat>Latin</cat>
<cat>Live</cat>
<cat>Metal</cat>
<cat>Mixed</cat>
<cat>New Age</cat>
<cat>Old</cat>
<cat>Pop</cat>
<cat>Rap</cat>
<cat>Reggae</cat>
<cat>Regional</cat>
<cat>Rnb</cat>
<cat>Rock</cat>
<cat>Soundtracks</cat>
<cat>Talk</cat>
<cat>Themes</cat>
<cat>Techno</cat>
<cat>World</cat>
</categories>

 

Create Download folder under App_Data and give Write access. Feeds will be cached there.

Finally 500.htm. Shoutcast web server usually busy and gives 503 error

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Shoutcast Mobile</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
<meta name="keywords" content="shoutcast, online radio, mobile radio" />
<meta name="description" content="Shoutcast for mobile devices and iphone" />
</head>
<body>
    <div class="top">
    <a href="Default.aspx"><img src="logo.png" alt="Shoutcast mobile" title="Shoutcast mobile"/></a>
    <br />Shoutcast Mobile Internet radio database
    </div>
    <div class="gap"></div>
    <div class="title">Error</div>
    
    <div class="center">
    <span class="small">
    Shoutcast server didn't respond in time. Please go to <a href="Default.aspx">home page</a> and try again. This is a common error especially when Shoutcast server is busy.
    </span>
    <br /><a href="Default.aspx">Home</a>
    </div>

</body>
</html>

Tags: , ,

ASP.NET | Mobile web | Open Source

Add comment

  Country flag

biuquote
Loading

Adverts

Welcome

Tag cloud

Month List