<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Dev And Stuff : Open Source</title><link>http://weblogs.asp.net/johnkatsiotis/archive/tags/Open+Source/default.aspx</link><description>Tags: Open Source</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Shoutcast.NET - Get Details From a Shoutcast Server</title><link>http://weblogs.asp.net/johnkatsiotis/archive/2008/06/17/shoutcast-net-get-details-from-a-shoutcast-server.aspx</link><pubDate>Tue, 17 Jun 2008 18:13:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6287347</guid><dc:creator>djsolid</dc:creator><author>djsolid</author><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://weblogs.asp.net/johnkatsiotis/rsscomments.aspx?PostID=6287347</wfw:commentRss><comments>http://weblogs.asp.net/johnkatsiotis/archive/2008/06/17/shoutcast-net-get-details-from-a-shoutcast-server.aspx#comments</comments><description>
&lt;p&gt;I have been using Shoutcast for a long time. And each and every time had to do the same stuff if i wanted to get details such as song title, current listener etc. So i decided to write a simple class library to make things easier. What you have to do in order to be able to use this library is to find out the exact url of your stream.&lt;/p&gt;
&lt;p&gt;Let's say that it is : http://mydomain.com:8000&lt;/p&gt;
&lt;p&gt;Then at the end you add /admin.cgi?mode=viewxml&amp;amp;pass=YOURADMINPASS. &lt;/p&gt;
&lt;p&gt;So the url becomes http://mydomain.com:8000/admin.cgi?mode=viewxml&amp;amp;pass=YOURADMINPASS&lt;/p&gt;
&lt;p&gt;Where YOURADMINPASS is the pass that you use to connect to the server. You pass the url to the constructor and you are ready to get the details! Below is an example. Replace StreamServerURL with yours.&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://img385.imageshack.us/img385/5969/shoucastqh7.png" mce_src="http://img385.imageshack.us/img385/5969/shoucastqh7.png" height="232" width="565"&gt;&lt;br&gt;&lt;/p&gt;
&lt;p&gt;The project is available at Codeplex. Link : &lt;a href="http://www.codeplex.com/ShoutcastNET" target="_blank" mce_href="http://www.codeplex.com/ShoutcastNET"&gt;Shoutcast.NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;PS Now i am writing an other version which does not requires the password but it gives access to fewer details.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2fjohnkatsiotis%2farchive%2f2008%2f06%2f17%2fshoutcast-net-get-details-from-a-shoutcast-server.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2fjohnkatsiotis%2farchive%2f2008%2f06%2f17%2fshoutcast-net-get-details-from-a-shoutcast-server.aspx" alt="kick it on DotNetKicks.com" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6287347" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/Webradio/default.aspx">Webradio</category><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/Web+Development/default.aspx">Web Development</category><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/Winamp/default.aspx">Winamp</category><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/Streaming/default.aspx">Streaming</category><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/Shoutcast/default.aspx">Shoutcast</category><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/Open+Source/default.aspx">Open Source</category><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/Class+Library/default.aspx">Class Library</category><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/johnkatsiotis/archive/tags/.NET/default.aspx">.NET</category></item></channel></rss>