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
Multi-User Plugin???
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="von" data-source="post: 68138" data-attributes="member: 23524"><p><strong>My final Solution...</strong></p><p></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue">So here's what I ended up with... I've written two batch files that I put in the MP directory (so any errors and logs will show up there). I placed a shortcut to the first batch file in the startup folder for "All Users". This one copies the settings for that user and will start MP on login for my dedicated account "MediaPortal".</span></p><p><span style="color: darkblue"></span></p><p></p><p>Batch file 1: MediaPortalMove.bat</p><p>[code]copy "c:\Documents and Settings\%username%\My Documents\MediaPortal.xml" "c:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.xml"</p><p></p><p>if "%username%"=="MediaPortal" "c:\Program Files\Team MediaPortal\MediaPortal\MediaPortalLaunch.bat"</p><p>[/code]</p><p></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue">The second batch file I use to launch MP. It starts a shell that will run until MP exits and then will copy the current MP settings back to the logged in user's "My Documents". I just use this to manually start MP instead of the .exe itself. </span></p><p><span style="color: darkblue"></span></p><p></p><p>Batch file 1: MediaPortalLaunch.bat</p><p>[code]cd "c:\Program Files\Team MediaPortal\MediaPortal\"</p><p></p><p>start /wait .\MediaPortal.exe</p><p></p><p>copy "c:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.xml" "c:\Documents and Settings\%username%\My Documents\MediaPortal.xml"</p><p>[/code]</p><p></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue">It's not perfect but it works. It's useless when I run setup while MediaPortal is running, as it will respawn itself the normal way, but how often do you do that?</span></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue">I still think this is an insanely easy feature to add to the next build. MP could call the settings file %username%-MediaPortal.xml and then just look at who's logging in/launching it? Maybe I'm the only one using it for MP multiusers?</span></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue">8) I love MP regardless, nothing can change that!!!</span></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue">von</span></p><p><span style="color: darkblue"></span></p><p><span style="color: darkblue"></span></p></blockquote><p></p>
[QUOTE="von, post: 68138, member: 23524"] [b]My final Solution...[/b] [color=darkblue] So here's what I ended up with... I've written two batch files that I put in the MP directory (so any errors and logs will show up there). I placed a shortcut to the first batch file in the startup folder for "All Users". This one copies the settings for that user and will start MP on login for my dedicated account "MediaPortal". [/color] Batch file 1: MediaPortalMove.bat [code]copy "c:\Documents and Settings\%username%\My Documents\MediaPortal.xml" "c:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.xml" if "%username%"=="MediaPortal" "c:\Program Files\Team MediaPortal\MediaPortal\MediaPortalLaunch.bat" [/code] [color=darkblue] The second batch file I use to launch MP. It starts a shell that will run until MP exits and then will copy the current MP settings back to the logged in user's "My Documents". I just use this to manually start MP instead of the .exe itself. [/color] Batch file 1: MediaPortalLaunch.bat [code]cd "c:\Program Files\Team MediaPortal\MediaPortal\" start /wait .\MediaPortal.exe copy "c:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.xml" "c:\Documents and Settings\%username%\My Documents\MediaPortal.xml" [/code] [color=darkblue] It's not perfect but it works. It's useless when I run setup while MediaPortal is running, as it will respawn itself the normal way, but how often do you do that? I still think this is an insanely easy feature to add to the next build. MP could call the settings file %username%-MediaPortal.xml and then just look at who's logging in/launching it? Maybe I'm the only one using it for MP multiusers? 8) I love MP regardless, nothing can change that!!! von [/color] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Multi-User Plugin???
Contact us
RSS
Top
Bottom