Kodi Community Forum

Full Version: XBMC Video Server: stream/download your library contents
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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%20Sails%2fBlack.Sails.S01E02.II.mp4
Looks like you've configured your reverse proxy incorrectly.
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>
Found this:

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

Code:
##<VirtualHost *:80>
##ServerAdmin [email protected]
##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.
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.
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:[email protected]:port/vfs/smb......mkv . This of course is not going to connect. Any ideas what I am missing?
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
@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.
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
Strange, I thought Ubuntu 12.04 came with PHP 5.4.
(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
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.
Hi, i'ts possible to add also sharing of the Music Library?
I think with this could be very complete!! Smile
There are tons of applications that allow you to stream music from your computer so I'm not going to bother reinventing that particular wheel.
....it's really hard to do the same thing you do for the movies, also for the music? O.o