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
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
multi-seat plugin - how should it work?
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="Surferosa" data-source="post: 690942" data-attributes="member: 97598"><p>A workaround for multiple instances running at the same time is to have additional clients 'pull' the media portal files at the time of launch via use of a very simple batchfile. So I have a master mediaportal client (in the lounge) that is used the most (ie more than half of all media played). However, there are now 5 other clients that run (2 bedroom clients, 3 PC clients). These all pull the database files every time mediaportal launches. This is the batch file in case its of use (so run this on the clients instead of the main mediaportal exe);</p><p></p><p>[code]xcopy \\My MP Database Network Location\*.db3 "C:\ProgramData\Team MediaPortal\MediaPortal\database" /y /d /c</p><p>start "MediaPortal" "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe"[/code]</p><p></p><p>This copies any changed database file according to date- meaning I only have to update the master client (as per the Central Database wiki posted above)- onto the default local drive. The thumbs, images and files are still held on the server (as, again, per that wiki).</p><p></p><p>On a couple of the clients, I also have pauses in the script to make sure the computer has a chance to start all services before running- so if you have any problems you can do that too;</p><p></p><p>[code]ping -n 10 127.0.0.1[/code]</p><p></p><p>Where '10' represents the length of the pause you want (so approx 10 seconds).</p><p></p><p>Of course, the downside of this is that anything watched or marked as watched is overwritten on any client other than the master (which is obviously retained). I think I requested if anyone with sql skills could write something (which could be called via the same batch file) that copied across any watched flag changes- then it would be a complete solution. Alas I never got any help <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p><p></p><p>Still, that apart, its working fine as a solution for 6 clients that can all run simultaneously- so may help you- especially if you are having the problem of shared drive crashes <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Edit- I was going to add this into the wiki- but the entry is closed I think. If anyone that can amend reads this it could be tagged in there as I found it as a solution purely by accident in searching some old threads.</p></blockquote><p></p>
[QUOTE="Surferosa, post: 690942, member: 97598"] A workaround for multiple instances running at the same time is to have additional clients 'pull' the media portal files at the time of launch via use of a very simple batchfile. So I have a master mediaportal client (in the lounge) that is used the most (ie more than half of all media played). However, there are now 5 other clients that run (2 bedroom clients, 3 PC clients). These all pull the database files every time mediaportal launches. This is the batch file in case its of use (so run this on the clients instead of the main mediaportal exe); [code]xcopy \\My MP Database Network Location\*.db3 "C:\ProgramData\Team MediaPortal\MediaPortal\database" /y /d /c start "MediaPortal" "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe"[/code] This copies any changed database file according to date- meaning I only have to update the master client (as per the Central Database wiki posted above)- onto the default local drive. The thumbs, images and files are still held on the server (as, again, per that wiki). On a couple of the clients, I also have pauses in the script to make sure the computer has a chance to start all services before running- so if you have any problems you can do that too; [code]ping -n 10 127.0.0.1[/code] Where '10' represents the length of the pause you want (so approx 10 seconds). Of course, the downside of this is that anything watched or marked as watched is overwritten on any client other than the master (which is obviously retained). I think I requested if anyone with sql skills could write something (which could be called via the same batch file) that copied across any watched flag changes- then it would be a complete solution. Alas I never got any help :( Still, that apart, its working fine as a solution for 6 clients that can all run simultaneously- so may help you- especially if you are having the problem of shared drive crashes :) Edit- I was going to add this into the wiki- but the entry is closed I think. If anyone that can amend reads this it could be tagged in there as I found it as a solution purely by accident in searching some old threads. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
multi-seat plugin - how should it work?
Contact us
RSS
Top
Bottom