Web interface suggestions
-
- Posts: 13
- Joined: Thu Jan 29, 2015 9:03 am
Web interface suggestions
Hi,
One of my favorite features in UMS is the web interface. So I forwarded the 9001 port so I can access it from the Internet... But it's now free to access.
- It would be nice if you could implement a password protection (a simple htaccess/htpasswd would do the trick).
- It doesn't seem to work on iPhones (something wrong with html 5 player? I guess that will come in next versions anyway)
- And something really awesome but I don't know if it's possible : make it able to run in IIS (or any other apache server): I run a webserver on my PC, and I'd love to be able to have ums in there, on regular 80/443 instead of 9001 (I know I can change the port but that would prevent my server to run). So I could have my services like https://example.com/owncloud and https://example.com/ums.
Thank you again for this amazing piece of software!
One of my favorite features in UMS is the web interface. So I forwarded the 9001 port so I can access it from the Internet... But it's now free to access.
- It would be nice if you could implement a password protection (a simple htaccess/htpasswd would do the trick).
- It doesn't seem to work on iPhones (something wrong with html 5 player? I guess that will come in next versions anyway)
- And something really awesome but I don't know if it's possible : make it able to run in IIS (or any other apache server): I run a webserver on my PC, and I'd love to be able to have ums in there, on regular 80/443 instead of 9001 (I know I can change the port but that would prevent my server to run). So I could have my services like https://example.com/owncloud and https://example.com/ums.
Thank you again for this amazing piece of software!
Re: Web interface suggestions
It's never a good idea to expose services directly to the internet... if your router is capable (ie using DD-WRT or Tomato firmware) why don't you use a VPN or reverse proxy config to secure all network access from the outside? (it will cover all services, including UMS)
Wolf
Wolf
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted
)

-
- Posts: 13
- Joined: Thu Jan 29, 2015 9:03 am
Re: Web interface suggestions
Yes I know that it's not safe but here is the thing : I use my ISP router as primary and it does not support VPN. I use my ddwrt router as AP (VPN option is disabled). I have no choice otherwise I don't have WiFi everywhere. So I have a VPN server on a Windows Server VM that works great and seems to give me full speed. All my other services are meant to be used without VPN (owncloud and Remote Desktop). I might just do as you said for safety (I opened the port only for testing puroses, I thought it would work on iPhone and it doesn't (movies don't play)).
That being said, being able to integrate it in an apache server would be nice and safe (as I said I use HTTPS) and easier than connecting through a VPN (and some environnement block L2DP/PPTP ports and I can't use 443 for SSTP as it's used for web services)
That being said, being able to integrate it in an apache server would be nice and safe (as I said I use HTTPS) and easier than connecting through a VPN (and some environnement block L2DP/PPTP ports and I can't use 443 for SSTP as it's used for web services)
Re: Web interface suggestions
I have the same setup. Just put (or ask) your ISP modem in bridge mode or DMZ to your home router, and you manage all features and security from by yourself.
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted
)

Re: Web interface suggestions
There is a hidden option how to restrict access to web interface. It was mentioned somewhere here in discussion...
- SharkHunter
- Developer
- Posts: 648
- Joined: Fri Jun 01, 2012 9:36 pm
Re: Web interface suggestions
The webinterface supports both simple HTTP access as well as HTTPS access. There is like ExSport says a discussion about it somehwere
.

We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
We believe in: rough consensus and running code.
Re: Web interface suggestions
For iPhone there is an application named Infuse that works very well with UMS.louis54000 wrote:I thought it would work on iPhone and it doesn't (movies don't play)).
Re: Web interface suggestions
Another suggestion for the web interface, is add the ability to play files in the device core/configured player.
I.e: in a PC configured with VLC as default player, if another icon can be added to the entries linked to the mediafile directly as served by UMS (ie http://ums_server:5001/get/523/test.mp4), then the web UI can be used to navigate the media files and folders, and the default player process the media link once that link is clicked (I tested with VLC and mpc-hc on a PC and works beautifully)
Thoughts?
I.e: in a PC configured with VLC as default player, if another icon can be added to the entries linked to the mediafile directly as served by UMS (ie http://ums_server:5001/get/523/test.mp4), then the web UI can be used to navigate the media files and folders, and the default player process the media link once that link is clicked (I tested with VLC and mpc-hc on a PC and works beautifully)
Thoughts?
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted
)

Re: Web interface suggestions
This is only feasible on the ums host pc, since ums can't launch anything on client devices and the client web browsers are sandboxed from launching any system processes, e.g. vlc, for security reasons, so it has very limited usability.Wolfgan wrote:Another suggestion for the web interface, is add the ability to play files in the device core/configured player.
But just for kicks (and shameless self-promotion

- Adds a 'vlc launcher' player item which you can find in the TRANSCODE folder of the web interface (or any renderer).
- In the web interface, press the 'bump' icon and pick any non-web renderer (yes, there needs to be at least one connected for this to work
) on the bump player's renderer drop-down list and then press play.
- Or on other renderers just click the item.
- In the web interface, press the 'bump' icon and pick any non-web renderer (yes, there needs to be at least one connected for this to work
- vlc should open up on the ums host and start playing the file (works for WEB folder items too).

Re: Web interface suggestions
infidel wrote:This is only feasible on the ums host pc, since ums can't launch anything on client devices and the client web browsers are sandboxed from launching any system processes, e.g. vlc, for security reasons, so it has very limited usability.Wolfgan wrote:Another suggestion for the web interface, is add the ability to play files in the device core/configured player.
But just for kicks (and shameless self-promotion) I hacked a jumpy script to do it on the host pc and it works but isn't exactly what you'd like. It
To try it (and I won't be offended if you don't, since it isn't ideal
- Adds a 'vlc launcher' player item which you can find in the TRANSCODE folder of the web interface (or any renderer).
- In the web interface, press the 'bump' icon and pick any non-web renderer (yes, there needs to be at least one connected for this to work
) on the bump player's renderer drop-down list and then press play.
- Or on other renderers just click the item.
- vlc should open up on the ums host and start playing the file (works for WEB folder items too).
), install jumpy, put the attached script (editing the path to vlc.exe if necessary) in plugins/jumpy/ and restart ums
Thanks Infidel, nice script. I'm not so sure the direct link capability only works in the UMS host PC. I tried the served link http://ums_server:5001/get/523/test.mp4 in a client PC browser and it offered the mp4 file to open in any local client (both Firefox and Chrome tested). Besides, an alternative is to "Open With" use plugins like https://addons.mozilla.org/en-US/firefo ... /playlink/
That's why I suggested it, seems easy to implement and powerful enough to empower end users via stock browsers.
-- UMS serving PS3, WDTV, Samsung H6400 + J5500 and Kalemsoft renderers! (no video transcoding but remuxing accepted
)
