• 1
  • 37
  • 38
  • 39(current)
  • 40
  • 41
  • 57
XBMC Video Server: stream/download your library contents
@negge http://stream.example.com/xbmc-vfs/G%3a%...%20You.avi
Reply
And you've restarted Apache after applying the changes to http-proxy.conf? What happens if you browse to just http://stream.example.com/xbmc-vfs? You should get just a blank page if I remember correctly.
Reply
Yeah I have absolutely restarted Apache. A couple of times and also rebooted the whole machine.

Correct, If I browse to http://stream.example.com/xbmc-vfs I get a blank page. So it's like it's half working... Confused

Also, side question, and plans to bring web streaming to this project?
I'd love to be able to click the "Watch" button and have the video render in the web page in an HTML5 player or something similar.
Reply
Can you try playing any other file, especially one whose path doesn't begin with G? Also try copying the URL directly into VLC to rule out the browser.

A HTML5 player has been requested for a long time. There's some work done in that area but I haven't had time lately to finish it up. There's an issue on Github with some discussion if you want to take a look.
Reply
Alright, so copying the URL and pasting it into VLC seems to work.
However, clicking the "Download" button in chrome says "Failed - No File".
In IE11 I get Object not found again.

Thanks for the info regarding the HTML5 player. Hopefully it comes to fruition soon! :-)
Reply
Okay, that confirms that it's probably an issue with the path encoding or something. In which browser did you get "Failed - No file"? Can you try to find any kind of pattern amongst the files that can't be opened via the browser? If you don't have more than one source set up in XBMC, could you temporarily set up something that doesn't use a drive letter?
Reply
To work around the issue for now make sure a playlist file is served when you click the Watch button. That's the default behavior but it sounds like you've changed it if you get a straight link on both the Watch buttons and the download links. By using a playlist your browser should offer to open it with your favorite media player and from there things should work.
Reply
If I put it back to default the m3u downloads okay.. but iof I try to open it with VLC I get
"VLC is unable to open the MRL 'http://stream.xxxxx.com/xbmc-vfs/G%3a%5cMovies%5c22%20Jump%20Street%20(2014)%5c22%20Jump%20Street.avi'. Check the log for details."

In Chrome I get the "Failed - No File" error when clicking Download. It's fine if the proxy is turned off.
It seems like all files are having the issue.

I assume it's something to do with the proxy settings.
I also have setup another Vhost in Apache to accept the stream.xxxx.com address. Would having two addresses referencing the same machine have any bearing on this?

I have xbmc.xxx.com and stream.xxx.com both pointing to my XBMC machine which is also running Apache to serve the xbmc-video-server site.
Reply
See if removing AddEncodedSlashes from the Apace config helps, or try moving it to the <Location> block, alternatively to the relevant <Directory> block which is most likely in another file. I'm beginning to suspect that the instructions for Windows are just wrong (Windows has always been an afterthought in this case).
Reply
Alright,
I have removed the AllowEncodedSlashes from httpd-proxy.conf but same issue arises (I did restart Apache each time).
I also tried placing it in the location block and the Directory block in the httpd.conf file but apache wouldn't start.

so still no luck here.

I would gladly put it on my VPS to avoid running it on Windows (and on the same server as my XBMC instance) however my VPS is running nginx as the webserver and was having issues to try to get xbmc-video-server working correctly on nginx. I got it installed but I didn't know how to setup the sites-available and vhosts files correctly.

So if anyone has it running on nginx correctly please let me know and I'll happily get it running on my VPS.
Reply
I could try getting it to work on nginx and add some information about it to the wiki. I'll also go through the Windows setup once again to see what's wrong with regards to the reverse proxy instructions.

In the meantime, you could install a basic Ubuntu virtual machine and run Apache from there.
Reply
Sounds good mate.
I'll be happy to test anything if need be.

Thanks a lot for your help so far!
Reply
Negge!
Found the fix!

It looks like the instructions for Windows are incorrect.
In the section about editing the httpd-proxy.conf the changes should actually be made in httpd-vhosts.conf.

Once I added:
AllowEncodedSlashes On

<Location "/xbmc-vfs">
ProxyPass http://<internalIP>:8000/vfs
ProxyPassReverse http://<internalIP>:8000/vfs
RequestHeader set Authorization "Basic eGJtYzp4Ym1jMQ=="
</Location>

To the bottom of my vHosts file it seemed to work perfectly!
It's reverse proxy-ing and the streams/downloads are no longer being interrupted.

Here is my vHosts file in case anyone else has these issues on Windows.
http://goo.gl/X2rWLw

I have also commented everything out in the httpd-proxy.conf file as this is not needed it seems.
@neege, maybe you could update the Wiki to reflect these changes to help out others?

I'm still keen to get this working on my VPS which is running nginx but at least this is working for the time being!

EDIT: Was also thinking - How hard would it be to, if downloading the file, the filename could be re-written to just the original file name (Sharknado 2 - The Second One (2014)) and not "p---stream.xxxx.com-xbmc-vfs-G--Movies-Sharknado%202%20The%20Second%20One%20(2014)-Sharknado%202%20The%20Second%20One.mkv"
Reply
Thanks for the information, glad you managed to find a solution. I suspect that the httpd-proxy.conf is not included at all from the main configuration file and that's why the directives in there don't have any effect. You can test that theory by writing some garbage to the file and see if Apache still starts after that. If it does then the file is not included. Unless I just forgot to mention it when I wrote the instructions for Windows (might very well be the case) this is something that has been changed recently (wouldn't be the first time something like that happened).

If anyone else happens to have this application running on Nginx, please share your configuration. It would most certainly save me some time (I haven't used really used nginx at all).
Reply
(2014-08-18, 06:50)wjbeckett Wrote: If I put it back to default the m3u downloads okay.. but iof I try to open it with VLC I get
"VLC is unable to open the MRL 'http://stream.xxxxx.com/xbmc-vfs/G%3a%5cMovies%5c22%20Jump%20Street%20(2014)%5c22%20Jump%20Street.avi'. Check the log for details."

In Chrome I get the "Failed - No File" error when clicking Download. It's fine if the proxy is turned off.
It seems like all files are having the issue.

I assume it's something to do with the proxy settings.
I also have setup another Vhost in Apache to accept the stream.xxxx.com address. Would having two addresses referencing the same machine have any bearing on this?

I have xbmc.xxx.com and stream.xxx.com both pointing to my XBMC machine which is also running Apache to serve the xbmc-video-server site.

Hi,

it's strange i use this applicatioon on Windows (WHS 2011) with XAMPP and i set the reverse proxy in file :

Code:
C:\xampp\apache\conf\extra\httpd-proxy.conf
Reply
  • 1
  • 37
  • 38
  • 39(current)
  • 40
  • 41
  • 57

Logout Mark Read Team Forum Stats Members Help
XBMC Video Server: stream/download your library contents9