Loosing access to mapped network drive in mp (1 Viewer)

Peder

MP Donator
  • Premium Supporter
  • March 17, 2006
    14
    1
    Area: Media Portal Program
    MediaPortal Version: 0.2.0.0 RC3$CVS-11.04.2006- 1:03:06,61
    (2006-04-11)
    MediaPortal Skin: BlueTwo
    Windows Version: Windows XP (SP2)
    .NET CLR Version: 2.0.50727
    DirectX Version: 4.09.00.0904 (9.0c)
    Audio Codec: Intervideo Audio Decoder
    Video Codec: Intervideo Video Decoder
    CPU Type: AMD Athlon 64 3200+
    Memory: 2 GB
    Motherboard: A8N-E (ASUSTeK Computer INC.)
    TV Card Model: Hauppauge pvr 150
    TV Card Type: Hardware?
    TV Card Driver: pvr_2.0.43.24073_prerelease
    Video Card Model: Radeon X1600 Series (omega 3.8.231) (256 MB)
    Video Card Driver: Omega Catalyst 6.3 based
    Video Card Resolution: 1024x768
    Video Render Type: VMR9
    Audio Card Model: Realtek AC'97 Audio
    Audio Card Driver: Realtek ALC850 Driver V5.10.0.5870
    Synopsis::

    Sharing music from another computer to access from htpc. Added folders with map network drive. Now it seems that after a while mp cant open the shared folders. If i use explorer or my computer and open the mapped drive i again can use mp to get access.Tried the medialan plugin and with that i can open always, problem is that it behaves a little odd when playing music so it would be nice to get the built in my music to work. Any ideas anyone?
    /Peder
     

    ASiDiE

    Retired Team Member
  • Premium Supporter
  • January 14, 2005
    902
    5
    USA
    This was posted in a 22 page tv series forum. It might help you out... it might not.

    "I have a similar problem, the thing is that Windows basically has a problem, when you boot up your machine any network connections are in a "disconnected state".. I had to write a litte batch file to get around this.

    I downloaded a simple DOS utility called holdit (like pause but with a counter timedown)...
    Then when the machine reloads i run the following batchfile

    net use p: /d (to actually disconnect the drive)
    holdit 6 (wait a few seconds - for all the drivers to come up)
    net use \\10.1.1.8 p: /persistent:yes

    This way on loadup i disconnect and reconnect the network drive in a persistent state so that when media portal auto-load (a few seconds later) the network drive is automatically connected and my tv shows / movies / music are all ready to be played ...

    Cheers"
     

    Peder

    MP Donator
  • Premium Supporter
  • March 17, 2006
    14
    1
    Hi Asidie and thanks for your quick reply!
    It indeed seems that this "fix" is aimed at my problem.
    Honestly dont understand completely the batch file part and what to enter in it, if you or someone else can explain the procedure in creating this "batch file" i would appreciate it.

    Then when the machine reloads i run the following batchfile
    *created .bat files is this anything similar?

    net use p: /d (to actually disconnect the drive)
    holdit 6 (wait a few seconds - for all the drivers to come up)
    net use \\10.1.1.8 p: /persistent:yes
    *is p: supposed to be the letter of my mapped drive?
    *what does 10.1.1.8 represent? Or is that something i dont need to know?

    :wink:
    Kind regards
    Peder
     

    falkyre

    Portal Pro
    March 20, 2006
    133
    0
    55
    Winnipeg, Canada
    Home Country
    Canada Canada
    Peder said:
    Hi Asidie and thanks for your quick reply!
    It indeed seems that this "fix" is aimed at my problem.
    Honestly dont understand completely the batch file part and what to enter in it, if you or someone else can explain the procedure in creating this "batch file" i would appreciate it.

    Then when the machine reloads i run the following batchfile
    *created .bat files is this anything similar?

    net use p: /d (to actually disconnect the drive)
    holdit 6 (wait a few seconds - for all the drivers to come up)
    net use \\10.1.1.8 p: /persistent:yes
    *is p: supposed to be the letter of my mapped drive?
    *what does 10.1.1.8 represent? Or is that something i dont need to know?

    :wink:
    Kind regards
    Peder

    Hi Peder,

    the 10.1.1.8 is the computer that has the driver being shared. Yes, p: is the letter of your mapped drive.
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,995
    29
    Melbourne
    I never worry about mapped drives.
    When you specify the shared drives in MP config, just use the UNC address. For example: \\computername\sharename\

    I really don't like installs with a ton of mapped drives and for me this seems to work better without having to bother with batch files.
     

    Peder

    MP Donator
  • Premium Supporter
  • March 17, 2006
    14
    1
    Hi Again!
    Marcusb: Get exactly the same issue with using UNC names, only difference is that i dont have to use map network to be able to add my shares.

    falkyre: Is that the ip number or what? and another stupid question, is p standig for the letter assigned in my htpc or the real letter in sharing computer?

    Still deeply in need of how help to create that batch file if anyone feels up to it :)
    My best guess so far is this:
    Create a a text file for later .bat conversion with as follows.
    net use z: /d
    holdit 6 (do i need a path like c:\holdit?)
    net use \\192.168.0.150 z: /persistent:yes

    Make a .bat file of it and put it in autostart?
    Kind regards
    Peder
     

    Peder

    MP Donator
  • Premium Supporter
  • March 17, 2006
    14
    1
    Hi sherriff!
    Indeed this look like a solution, will try it out
    Thanks!
    /Peder
     

    Marcusb

    Retired Team Member
  • Premium Supporter
  • February 16, 2005
    1,995
    29
    Melbourne
    Peder, you are right about the batch file.
    It's basically a text file with a .bat extension.
    it then can run a series of commands via clicking or start up.

    Strange that the UNC paths didn't work. I have no issues with them.
    Good luck, hopefully that tool will solve your problems.
     

    Peder

    MP Donator
  • Premium Supporter
  • March 17, 2006
    14
    1
    Since NetworkDriveManager was a windows based alternativ i went for that. So far it seems to have solved that issue. :lol:
    /Peder
     

    Users who are viewing this thread

    Top Bottom