home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
Consolidate MediaPortal Web Applications
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="DieBagger" data-source="post: 622650" data-attributes="member: 56421"><p>But this would mean that the webserver has to be installed on the same machine as the tvserver, right? With the drawing I was going more for a modular setup. So if you install it on a machine you only want to use as a tvserver, only the tvserver webservice is installed/activated. Same for a pure client (only video/pictures/music) is installed. If you want to use the machine as your webserver, the "master" webservice and the websites you want are installed. This machine can then use other webservices (either on the same machine or on the network) and serve everything to the user/application. Of course this would mean that an apache has to be installed on every machine but from a programmers POV I think this is a very nice solution because the only thing a webservice method has to do is to e.g. get all available videos is to: </p><ol> <li data-xf-list-type="ol"> Loop through all the videos that are available in the local database and</li> <li data-xf-list-type="ol"> Call itself (or rather the same webservice method) on every machine it is connected to </li> <li data-xf-list-type="ol"> Return both, the local result and the remote results (if any) to the caller</li> </ol><p></p><p>No need for duplicate code, you could run the same method for master/slave or singleseat.</p><p></p><p></p><p></p><p></p><p>Not sure if this is possible but how about virtual directories on the apache webserver? This is possible with IIS but no clue if it works with apache. UNC is quite the obvious solution but it also needs a lot of extra configuration by the user. It will also be difficult for Moving Pictures/MP-TvSeries because the video files can be in different locations.</p></blockquote><p></p>
[QUOTE="DieBagger, post: 622650, member: 56421"] But this would mean that the webserver has to be installed on the same machine as the tvserver, right? With the drawing I was going more for a modular setup. So if you install it on a machine you only want to use as a tvserver, only the tvserver webservice is installed/activated. Same for a pure client (only video/pictures/music) is installed. If you want to use the machine as your webserver, the "master" webservice and the websites you want are installed. This machine can then use other webservices (either on the same machine or on the network) and serve everything to the user/application. Of course this would mean that an apache has to be installed on every machine but from a programmers POV I think this is a very nice solution because the only thing a webservice method has to do is to e.g. get all available videos is to: [LIST=1] [*] Loop through all the videos that are available in the local database and [*] Call itself (or rather the same webservice method) on every machine it is connected to [*] Return both, the local result and the remote results (if any) to the caller [/LIST] No need for duplicate code, you could run the same method for master/slave or singleseat. Not sure if this is possible but how about virtual directories on the apache webserver? This is possible with IIS but no clue if it works with apache. UNC is quite the obvious solution but it also needs a lot of extra configuration by the user. It will also be difficult for Moving Pictures/MP-TvSeries because the video files can be in different locations. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
Consolidate MediaPortal Web Applications
Contact us
RSS
Top
Bottom