Losing network connection crashes MPTail (1 Viewer)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    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 :)
     

    KevinM

    MP Donator
  • Premium Supporter
  • April 27, 2007
    86
    3
    United Kingdom United Kingdom
    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.
     

    davidf

    Retired Team Member
  • Premium Supporter
  • April 3, 2006
    796
    348
    Scotland
    Scotland Scotland
    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"
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    MPTail is not related to MediaPortal, its an external utility for watching logs :D So these two posts are in a wrong forum area.
     

    Users who are viewing this thread

    Similar threads

    Top Bottom