XBMC Video Server: stream/download your library contents

  Thread Rating:
  • 7 Votes - 4.43 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dezblack Offline
Junior Member
Posts: 20
Joined: Jan 2014
Reputation: 0
Post: #346
whats the trick to get these to stream outside your network form a samba share? I have the Ips in the backend set to external ip and everything works internaly just fine. Clicking on watch or download results in not found with the link:

http://x.x.x.IP:port/vfs/smb%3a%2f%2fMYBOOKLIVEDUO%2fPublic%2fShared%20Videos%2ftv%20episodes%2fBlack%20S​ails%2fBlack.Sails.S01E02.II.mp4
find quote
negge Online
Posting Freak
Posts: 1,696
Joined: Dec 2010
Reputation: 20
Location: Finland
Post: #347
Looks like you've configured your reverse proxy incorrectly.
find quote
dezblack Offline
Junior Member
Posts: 20
Joined: Jan 2014
Reputation: 0
Post: #348
Where does this info go in apache (xampp) for windows?

<Location /xbmc-vfs>
ProxyPass http://xbmc.example.com:8080/vfs
ProxyPassReverse http://xbmc.example.com:8080/vfs
RequestHeader set Authorization "Basic eGJtYzp4Ym1j"
</Location>
find quote
dezblack Offline
Junior Member
Posts: 20
Joined: Jan 2014
Reputation: 0
Post: #349
Found this:

EDIT:
Found it \xampp\apache\conf\extra\httpd-vhosts.conf

Code:
##<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host2.example.com
##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com"
##ServerName dummy-host2.example.com
##ErrorLog "logs/dummy-host2.example.com-error.log"
##CustomLog "logs/dummy-host2.example.com-access.log" common
AllowEncodedSlashes On

<Location /xbmc-vfs>
ProxyPass http://xxxxxxxx.no-ip.biz:8080/vfs
ProxyPassReverse http://xxxxxxxx.no-ip.biz:8080/vfs
RequestHeader set Authorization "Basic eGJtYzp4Ym1j"
</Location>
##</VirtualHost>

I have set this up with my external ip on the proxypass.
Does the backend need to be configured for the internal or external ip? I am running this on the same server as xbmc.
find quote
negge Online
Posting Freak
Posts: 1,696
Joined: Dec 2010
Reputation: 20
Location: Finland
Post: #350
You can use the internal IP address for both the ProxyPass directive and the backend configuration if you use a reverse proxy. You only need to use your external IP or a DNS name if you stream directly from XBMC. When you use a reverse proxy Apache (the web server) will pass requests along to the machine running XBMC and as they're usually on the same network the internal address is enough.
find quote
dezblack Offline
Junior Member
Posts: 20
Joined: Jan 2014
Reputation: 0
Post: #351
I have this configured for the backend and proxy settings to be an internal address. When I access from outside the network and click on "watch" it is still directing the browser to user:pass@internalIP:port/vfs/smb......mkv . This of course is not going to connect. Any ideas what I am missing?
find quote
dezblack Offline
Junior Member
Posts: 20
Joined: Jan 2014
Reputation: 0
Post: #352
aha!, was missing:

AllowEncodedSlashes On

I could get rid of media portal if I could find an easy way to incorporate my music and PVR now!

Your time, work and attention are all greatly appreciated
find quote
negge Online
Posting Freak
Posts: 1,696
Joined: Dec 2010
Reputation: 20
Location: Finland
Post: #353
@dezblack: support for music won't be added to this application if that's what you mean. I'd like to integrate PVR support but at the moment the XBMC API is insufficient in this area and I haven't had time to improve it myself yet.
find quote
rogern Offline
Junior Member
Posts: 41
Joined: Oct 2012
Reputation: 0
Post: #354
I am little stuck on installing this in ubuntu 12.04 server.



When i run this coomand

Code:
php composer.phar install

The output is

Code:
php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for jalle19/simple-json-rpc-client 1.0.3 -> satisfiable by jalle19/simple-json-rpc-client[1.0.3].
    - jalle19/simple-json-rpc-client 1.0.3 requires php >=5.4.0 -> no matching package found.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

I have to have php 5.4 i see the reason now
(This post was last modified: 2014-04-06 14:55 by rogern.)
find quote
negge Online
Posting Freak
Posts: 1,696
Joined: Dec 2010
Reputation: 20
Location: Finland
Post: #355
Strange, I thought Ubuntu 12.04 came with PHP 5.4.
find quote
rogern Offline
Junior Member
Posts: 41
Joined: Oct 2012
Reputation: 0
Post: #356
(2014-04-06 18:47)negge Wrote:  Strange, I thought Ubuntu 12.04 came with PHP 5.4.

I was downloading from ubuntu on friday this week and installed vanilla.

But i wonder how to get access or edit manually the webaccess to xbmc.
I do not have gnome-panel installed and not the graphic card eighter but can put in if it is required.

Maybe that`s why xbmc is not starting toWink
find quote
negge Online
Posting Freak
Posts: 1,696
Joined: Dec 2010
Reputation: 20
Location: Finland
Post: #357
I don't understand what you're saying, do you mean you have trouble starting XBMC so you can use its web server? If so you should search the forums or check out the wiki, it's off topic for this thread.

I'll see what I can do about the JSON-RPC client requirement on PHP 5.4. It's not technically needed but it makes the code a bit nicer, and I incorrectly assumed Ubuntu 12.04 shipped with PHP 5.4 since Debian stable does it.
find quote
Post Reply