WebShare Database (1 Viewer)

ptmuldoon

Portal Member
November 6, 2008
20
0
Is it possible to setup the MediaPortalDirs file to point a webserver location for sharing of the databases? With the number of netflix and other plugins, I would that it could be feasible to develop a plugin where the user could webstream their own file collection that is stored on a central web server (or there own home server assigned a dns address).

So is something like this possible to do in the MediaPortalDirs file? FYI.. I did try it, but the databases are not being created, even with the folder permissions set to 777.

Code:
 <!-- The Path for the databases -->
  <Dir id = "Database">
    <Path>http://www.sample.com/Configs\Database\</Path>
  </Dir>
  <!-- The Path for the Thumbs, like Music Cover Art, TV Logos, etc. -->
  <Dir id = "Thumbs">
    <Path>http://www.sample.com/Configs\Thumbs\</Path>
  </Dir>
 

ptmuldoon

Portal Member
November 6, 2008
20
0
Hey guys.

I hate to bump post. But since nothing in a week, has anyone though or tried to place their file and database on webserver? I'm sure about speeds, but in theory shouldn't you be able to do the same vs. hosting the files on a local server?

I also wonder about being about copy the existing database/tables into a mysql database on a webserver and accessing the database that way?
 

mruane

Portal Pro
June 4, 2006
182
5
Wellington
Home Country
New Zealand New Zealand
If it helps, I have my Database and Thumbs redirected to another box on my network so that all clients can share the same database and thumbnails. The addressing in that case is simple "\\<sever>\mpconfig\database" and similar for the thumbnail folder with MPCONFIG being the primary share on the server. I have not tried pathing to an http address but looking at your paths the formatting looks wrong anyway- you are mixing forward slashes and backslashes. I am sure they should all be backslashes shouldn't they? In any case, you probably need to have the www sample com defined in your HOSTS file on the client as MP probably does not expect to do any DNS resolution other than at the local router.

Let me know how you get on - its interesting...

Cheers Mike
 

Users who are viewing this thread

Top Bottom