home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
Internet Radio
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Spagbol" data-source="post: 60796" data-attributes="member: 21687"><p>It's definitely possible.</p><p><a href="http://www.bestsharing.com/files/ms00170444/ShoutcastData.exe.html" target="_blank">Here's</a> a quick botch-up proggy to show it's possible to grab various data from the stream. Unfortunately, I only dabble in VB6 but anyone is welcome to the (little commented and badly formatted!) source if you want to try and port any of it to C# and try make a patch for the label that currently only shows the port.</p><p></p><p>It parses the IP address and port number from the File1 key of a .pls file. This would not need to be done by MeriaPortal as it holds the data in the Radio database. It has elementary error checking in that it won't try and connect if either the IP or port is missing (I had some .pls files from the Shoutcast plugin that had missing data), or if the port section of the key contains non-numerical characters (e.g. File1=http://64.236.34.67:80/stream/1001)</p><p></p><p>I haven't put code in to actually play the stream, although it shouldn't be too tricky, but it will connect to the stream and show you the Station ID, track title and bit rate transmitting at that moment.</p><p></p><p>Here's a couple of interesting article on the Shoutcast protocol:</p><p><a href="http://forums.radiotoolbox.com/viewtopic.php?t=74" target="_blank">http://forums.radiotoolbox.com/viewtopic.php?t=74</a></p><p><a href="http://www.smackfu.com/stuff/programming/shoutcast.html" target="_blank">http://www.smackfu.com/stuff/programming/shoutcast.html</a></p><p></p><p>P.S. New to MediaPortal (ace effort!) and this community so apologies if live links aren't allowed or I've broken any rules!</p></blockquote><p></p>
[QUOTE="Spagbol, post: 60796, member: 21687"] It's definitely possible. [url=http://www.bestsharing.com/files/ms00170444/ShoutcastData.exe.html]Here's[/url] a quick botch-up proggy to show it's possible to grab various data from the stream. Unfortunately, I only dabble in VB6 but anyone is welcome to the (little commented and badly formatted!) source if you want to try and port any of it to C# and try make a patch for the label that currently only shows the port. It parses the IP address and port number from the File1 key of a .pls file. This would not need to be done by MeriaPortal as it holds the data in the Radio database. It has elementary error checking in that it won't try and connect if either the IP or port is missing (I had some .pls files from the Shoutcast plugin that had missing data), or if the port section of the key contains non-numerical characters (e.g. File1=http://64.236.34.67:80/stream/1001) I haven't put code in to actually play the stream, although it shouldn't be too tricky, but it will connect to the stream and show you the Station ID, track title and bit rate transmitting at that moment. Here's a couple of interesting article on the Shoutcast protocol: [url]http://forums.radiotoolbox.com/viewtopic.php?t=74[/url] [url]http://www.smackfu.com/stuff/programming/shoutcast.html[/url] P.S. New to MediaPortal (ace effort!) and this community so apologies if live links aren't allowed or I've broken any rules! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
Internet Radio
Contact us
RSS
Top
Bottom