Losing network connection crashes MPTail

Discussion in 'MP-Tail' started by tourettes, April 19, 2008.

    • Team MediaPortal

    tourettes Development Group

    When MPTail is run on a different PC than the log files are located rebooting the networked PC causes MPTail to crash. Not a big bug but a bug still :)
    • Premium Supporter

    KevinM MP Donator

    I have videos on a NAS drive. MP seems unable to detect that it is connected sometimes - possibly due to the drive being in low power mode. It appears that MP times out too quickly when trying to access the external drive.

    This did not happen in RC1 and may be related to the issue you have here.
    • Team MediaPortal

    davidf Development Group

    System Specs
    That is a windows issue to some extent, I'm assuming you are also using a wireless connection as, for wireless, the network cannot be brought up before the user has logged in which causes drives to appear as disconnected and Mp not to recognise them.

    Use this cmd file to get around the issue replacing <nas address> and <Gateway address> to your ip addresses just place in startup and set MP not to automatically start

    @echo off
    :waitloop
    echo Waiting for wireless....
    Ping 127.0.0.1 -n 2 > nul
    ipconfig | find /i "<Gateway address>" >nul
    if errorlevel 1 goto waitloop
    :waitloop2
    echo Waiting for nas....
    ping <nas address> | find /i "TTL" >nul
    if errorlevel 1 goto waitloop2
    :connected
    net use z: \\<nas address>\hdd_1_1_1 /persistent:no
    net use y: \\<nas address>\hdd2 /persistent:no
    echo starting....
    "C:\Program Files\Team MediaPortal\MediaPortal\MediaPortal.exe"
    • Team MediaPortal

    tourettes Thread Starter Development Group

    MPTail is not related to MediaPortal, its an external utility for watching logs :D So these two posts are in a wrong forum area.

Share This Page

Users Viewing Thread (Users: 0, Guests: 0)

Running the latest version?

V1.3.0 FINAL - released March 2013
Releasenews | Download
Changelog
 | Requirements
HTPC
Team-MediaPortal
 
About
Contact |  Press
Partners