WMS is definitely a great system, but you can easily make it even better

Currently WMS is not proxy-friendly which can be fixed very easy:
1. Respect "Host" HTTP request header.
Currently WMS uses local sever IP address and port when generating location tags in the .xspf files. For example:
Code: Select all
<location>http://192.168.0.100:45357/MediaServer/Service/TranscodingProfile/T-d8bd0ced970f47459e0c0fd4e848baf0.mpg?timestart=97234&fileext=.mpg</location>
If WMS would use value of the "Host" header instead then problem wouldn't exist.
2. Use relative paths instead of absolute. For example:
Code: Select all
<img class="imagehistory" src="presentation/images/bulletgreen8.png" alt="(T) The Beatles - Anthology 1.mpg (1 track)" hspace=2/><a class="history" title="(T) The Beatles - Anthology 1.mpg (1 track)" href="MediaServer/Folders/T-9dcdc7311c4b8c5e28e7b0d02661171d?start=0;count=15">
Code: Select all
<img class="imagehistory" src="/presentation/images/bulletgreen8.png" alt="(T) The Beatles - Anthology 1.mpg (1 track)" hspace=2/><a class="history" title="(T) The Beatles - Anthology 1.mpg (1 track)" href="/MediaServer/Folders/T-9dcdc7311c4b8c5e28e7b0d02661171d?start=0;count=15">
Code: Select all
http://xyz.homeip.net/WMS/MediaServer/...
Michael