Ustream crashing UMS when added to WEB.conf

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
jaybird
Posts: 7
Joined: Sat Nov 29, 2014 6:55 pm

Ustream crashing UMS when added to WEB.conf

Post by jaybird »

Hello,

I'm trying to add a Ustream video stream to the WEB.conf and it seems to crash the server...
The line I am entering is:

Code: Select all


# video streams
videostream.Web,Jams and Cams,http://www.ustream.tv/embed/18759710?v=3&wmode=direct

this results in this error:

11-29 01:59:32 A serious error occurred during PMS init
java.lang.NullPointerException: null
at net.pms.util.FileUtil.getUrlExtension(FileUtil.java:158) ~[ums.jar:4.2.2]
at net.pms.dlna.PlaylistFolder.getPlaylist(PlaylistFolder.java:228) ~[ums.jar:4.2.2]
at net.pms.dlna.RootFolder.addWebFolder(RootFolder.java:360) ~[ums.jar:4.2.2]
at net.pms.dlna.RootFolder.discoverChildren(RootFolder.java:143) ~[ums.jar:4.2.2]
at net.pms.configuration.RendererConfiguration.getRootFolder(RendererConfiguration.java:328) ~[ums.jar:4.2.2]
at net.pms.PMS.getRootFolder(PMS.java:122) [ums.jar:4.2.2]
at net.pms.PMS.init(PMS.java:711) [ums.jar:4.2.2]
at net.pms.PMS.createInstance(PMS.java:1041) [ums.jar:4.2.2]
at net.pms.PMS.main(PMS.java:1141) [ums.jar:4.2.2]
when I use this url:

Code: Select all


# video streams
videostream.Web,Jams and Cams,http://www.ustream.tv/embed/18759710

I get no errors, the server starts normally but the video stream does not show in the web folder..

any ideas?
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Ustream crashing UMS when added to WEB.conf

Post by SharkHunter »

1st your conf is malformed. It should look like

Code: Select all

videostream.Web,Jams and Cams=xxx,http://www.ustream.tv/embed/18759710?v=3&wmode=direct
2nd it will not work unless you got something that can resolve the real video url like the Channels or jumpy plugins. I'm not sure if they support USTREAM.
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
jaybird
Posts: 7
Joined: Sat Nov 29, 2014 6:55 pm

Re: Ustream crashing UMS when added to WEB.conf

Post by jaybird »

ok..

seems the "real video file" is actually trunked and the server feeds 700kb .flv's every 10 seconds.. it's not one file, their player is based on javascript, not traditional flash so I'm just going to say this isn't going to work without a lot of effort..

:(

sux 2 bc the stream I want used to be on T.V. now it's ustream only, and I would very much like to have it back...
Post Reply