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
wanna write a plugin that reconnects network drives
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="mikey79" data-source="post: 21585" data-attributes="member: 15210"><p>[USER=15249]zasghu[/USER]: yes, i know the "work-arounds" and hacks. but i am aiming at a htpc that boots without any dos windows or stuff. and if i use media portal as a shell, the programs in the startup folder are not run anymore. so, the only reason is to have either a service or a plugin that does this for you. i played around with services over this weekend and programmed one that remaps the network drives. however, it does not work that easy, because the service is already running if you are not logged in. and even if you tell the service to run under a specific user name, windows somehow does not remember those mapped network drives if you actually log in by yourself, meaning: the service maps the drive correctly and establishes the connections but you dont see the drives as a user then :-(</p><p></p><p>here's what i found on the microsoft support site (<a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q180362" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;Q180362</a>):</p><p></p><p></p><p></p><p>so, the only alternative is the plugin that gets run when MP starts up. i already have the code for mapping the drives here in visual c++ 6. it's just some lines, not really many. the only problem that keeps me from doing it is VS.NET and that i am going to vacation tomorrow for one week ;-) </p><p></p><p>so, we have three options: </p><p>1. when i come back, i'll get a license of VS.NET and write that thing by myself.</p><p>2. somebody explains and tutors me how to do this with Visual Studio 6 and i'll do it when i come back (since MP is using .NET and managed c++ this is not really an option i guess)</p><p>3. someone else writes it (and i send him my source code for this)</p><p></p><p>your choice guys. since i have all my files on a network drive, i need such a solution.</p><p></p><p>btw. instead of having a plugin that explicitely maps network drives, i think it would be even better to have a plugin that runs a specific program repetively or at least once at startup. this way you can write own apps that do those things like re-mapping of drives without the hazzle of writing plugins. maybe we should aim for that...</p><p></p><p>EDIT</p><p>besides that i think a 'startup plugin' (as i call it) might be useful, i think for fixing the network mapping problem, implementing network access directly in MP might be a better solution. so to speak, when defining music, movies and pictures folders, it would be good if you could also define network shares instead of only local drives and ftp servers (e.g. '192.168.0.1\\share1\\mp3'). what do you think?</p></blockquote><p></p>
[QUOTE="mikey79, post: 21585, member: 15210"] [USER=15249]zasghu[/USER]: yes, i know the "work-arounds" and hacks. but i am aiming at a htpc that boots without any dos windows or stuff. and if i use media portal as a shell, the programs in the startup folder are not run anymore. so, the only reason is to have either a service or a plugin that does this for you. i played around with services over this weekend and programmed one that remaps the network drives. however, it does not work that easy, because the service is already running if you are not logged in. and even if you tell the service to run under a specific user name, windows somehow does not remember those mapped network drives if you actually log in by yourself, meaning: the service maps the drive correctly and establishes the connections but you dont see the drives as a user then :-( here's what i found on the microsoft support site ([url]http://support.microsoft.com/default.aspx?scid=kb;en-us;Q180362[/url]): so, the only alternative is the plugin that gets run when MP starts up. i already have the code for mapping the drives here in visual c++ 6. it's just some lines, not really many. the only problem that keeps me from doing it is VS.NET and that i am going to vacation tomorrow for one week ;-) so, we have three options: 1. when i come back, i'll get a license of VS.NET and write that thing by myself. 2. somebody explains and tutors me how to do this with Visual Studio 6 and i'll do it when i come back (since MP is using .NET and managed c++ this is not really an option i guess) 3. someone else writes it (and i send him my source code for this) your choice guys. since i have all my files on a network drive, i need such a solution. btw. instead of having a plugin that explicitely maps network drives, i think it would be even better to have a plugin that runs a specific program repetively or at least once at startup. this way you can write own apps that do those things like re-mapping of drives without the hazzle of writing plugins. maybe we should aim for that... EDIT besides that i think a 'startup plugin' (as i call it) might be useful, i think for fixing the network mapping problem, implementing network access directly in MP might be a better solution. so to speak, when defining music, movies and pictures folders, it would be good if you could also define network shares instead of only local drives and ftp servers (e.g. '192.168.0.1\\share1\\mp3'). what do you think? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
wanna write a plugin that reconnects network drives
Contact us
RSS
Top
Bottom