Sign up here and you can log into the forum!

UMSP Music Streaming

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

UMSP Music Streaming   

Postby herman » Tue Jul 31, 2012 10:29 am

Hi,

I used so far the
1.02.21-WDLXTV-Live-0.4.7.3 [flash]

there I had configured the umsp.php for my local shoutcast streaming server (just to stream audio from PC to my audio system)

For testing latest released version I put

1.02.21-EXT3-Boot-Live-0.5.1.1 [non-flash]

to my HD to work on latest firmware. And everything works ok (for example network shares are found much better then with older version)
But: always when I try to connect to streaming server to play some audio I get the errormessage "file/mdiea type not supported" I should read manual what filetypes are supported.

If I connect with 4.7.3 (settings not changed - wheter on PC server / winamp or WDTV) it works fine.

Any idea why this is not working?

Many thanks in advance :)

bye
]-[erman
herman
n00b
 
Posts: 15
Joined: Sun Apr 11, 2010 6:01 am

Re: UMSP Music Streaming   

Postby recliq » Tue Jul 31, 2012 10:34 am

1) Moving this to UMSP section.
2) How should we tell you why your umsp.php doesn't work anymore if you don't tell us what's in there???
:roll:
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: UMSP Music Streaming   

Postby herman » Sat Oct 26, 2013 8:35 am

Hello All,

by chance I found an old treath of mine - which is still not fixed (I had no time to reconfigure my WDTV live longer time now) and I was absent from this froum longer time.

As written above, I have
1.02.21-WDLXTV-Live-0.4.7.3 [flashed]
1.02.21-EXT3-Boot-Live-0.5.1.1 [non-flash - load from attached Harddisk]

My umsp.php in /tmp/conf/

(192.168.140.34 is local networkl IP of my PC with winamp running a local shoucast server)

<?php
global $myMediaItems;

# Copy and repeat for multiple items:
#-----------------------------
$data = array('stream_url' => 'http://192.168.140.34:8000');
$dataString = http_build_query($data, 'var_');
$encDataString = htmlentities($dataString);
$myMediaItems[] = array(
'id' => 'umsp://plugins/shoutcast?stream=1',
'parentID' => '0',
'restricted' => '1',
'dc:title' => 'Shoutcast 192.168.140.34',
'upnp:class' => 'object.item.audioItem',
'res' => 'http://127.0.0.1/umsp/plugins/shoutcast-proxy.php?' . $encDataString,
'duration' => '24:00:00', #Attribute of res
'upnp:album_art'=> 'http://127.0.0.1/umsp/media/generic.jpg',
'protocolInfo' => 'http-get:*:audio/mpeg:*',
# 'upnp:artist' => 'Powered by',
# 'upnp:album' => 'WWW.SHOUTCAST.COM',
);
#-----------------------------
?>

When I disconnect the harddisc from WDTV live (so: boot the flashed 1.02.21-WDLXTV-Live-0.4.7.3) - I can connect to my audiostream (mp3/192k) without problem. If I connect harddisc and boot the 1.02.21-EXT3-Boot-Live-0.5.1.1 - I get an errormessage that the filetype cannot be opened I should refer to the list of supported formats?

Any idea?

Many thanks in advance,
]-[erman
herman
n00b
 
Posts: 15
Joined: Sun Apr 11, 2010 6:01 am

Re: UMSP Music Streaming   

Postby mad_ady » Mon Oct 28, 2013 11:18 pm

There have been some changes in UMSP between versions 0.4.7.3 and 0.5.x.x. One change was to remove some legacy UMSP plugins - such as the built-in shoutcast plugin and have them reimplemented as standard plugins (downloadable). As a consequence, you no longer have the file /tmp/umsp-plugins/shoutcast-proxy.php, but if you enable and download (via the web interface -> Addon Manager) the Shoutcast plugin, you should get the proxy in /tmp/umsp-plugins/shoutcast/shoutcast-proxy.php (not the extra shoutcast).

You should change your res URL to
Code: Select all
'res' => 'http://127.0.0.1/umsp/plugins/shoutcast/shoutcast-proxy.php?' . $encDataString,


And download the shoutcast plugin, of course.

Let us know how it goes.
User avatar
mad_ady
Developer
 
Posts: 4564
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania


Return to UMSP Media Server

Who is online

Users browsing this forum: No registered users and 2 guests