Sign up here and you can log into the forum!

Got WFMU mp3 stream working with the latest firmware...

Discussion, features, plugins--everything about zoster's UMSP UPnP Media Server software

Got WFMU mp3 stream working with the latest firmware...   

Postby abennion » Mon Mar 12, 2012 7:50 pm

I had it working on an earlier version but upgraded to 1.05.04 tonight. After messing around, I finally got it to work. This might be old news, but I figured there might be some WFMU fans out there.

For some reason, I had to remove the *.mp3 from the end of the link. The Shoutcast proxy is no longer necessary, and the protocolInfo is different.

<?php
global $myMediaItems;
$myMediaItems[] = array (
'id' => strval(count($myMediaItems)+1),
'parentID' => '0',
'dc:title' => 'WFMU 128k',
'upnp:class' => 'object.item.audioItem',
'res' => 'http://stream0.wfmu.org/freeform-128k',
'protocolInfo' => 'http-get:*:audio/mpeg:*',
);
?>

Before, it was like so...

<?php
global $myMediaItems; # server side global containing registered plugins
$myMediaItems[] = array (
'id' => strval(count($myMediaItems)+1),
'parentID' => '0',
'dc:title' => 'WFMU 128',
'upnp:class' => 'object.item.audioItem',
'res' => 'http://127.0.0.1/umsp/plugins/shoutcast-proxy.php?stream_url=http%3A%2F%2Fstream0.wfmu.org%2Ffreeform-128k.mp3',
'protocolInfo' => 'http-get:*:audio/x-mpegurl:*',
);
?>

That is all. Wish I had more time to learn about this stuff.

-A
abennion
n00b
 
Posts: 1
Joined: Wed Sep 29, 2010 8:12 am

Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 3 guests