Kodi Community Forum
XBMC Video Server: stream/download your library contents - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: XBMC Video Server: stream/download your library contents (/showthread.php?tid=168296)



RE: XBMC Video Server: stream/download your library contents - dezblack - 2014-04-01

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


RE: XBMC Video Server: stream/download your library contents - negge - 2014-04-01

Looks like you've configured your reverse proxy incorrectly.


RE: XBMC Video Server: stream/download your library contents - dezblack - 2014-04-01

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>


RE: XBMC Video Server: stream/download your library contents - dezblack - 2014-04-01

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.


RE: XBMC Video Server: stream/download your library contents - negge - 2014-04-02

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.


RE: XBMC Video Server: stream/download your library contents - dezblack - 2014-04-02

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?


RE: XBMC Video Server: stream/download your library contents - dezblack - 2014-04-02

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


RE: XBMC Video Server: stream/download your library contents - negge - 2014-04-02

@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.


RE: XBMC Video Server: stream/download your library contents - rogern - 2014-04-06

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


RE: XBMC Video Server: stream/download your library contents - negge - 2014-04-06

Strange, I thought Ubuntu 12.04 came with PHP 5.4.


RE: XBMC Video Server: stream/download your library contents - rogern - 2014-04-06

(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


RE: XBMC Video Server: stream/download your library contents - negge - 2014-04-06

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.


RE: XBMC Video Server: stream/download your library contents - maLoooL - 2014-04-25

Hi, i'ts possible to add also sharing of the Music Library?
I think with this could be very complete!! Smile


RE: XBMC Video Server: stream/download your library contents - negge - 2014-04-25

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.


RE: XBMC Video Server: stream/download your library contents - maLoooL - 2014-04-26

....it's really hard to do the same thing you do for the movies, also for the music? O.o


This forum uses Lukasz Tkacz MyBB addons.