Slow Opening of Video Files over LAN (1 Viewer)

malachii

MP Donator
  • Premium Supporter
  • May 26, 2008
    5
    0
    Home Country
    United States of America United States of America
    Absolutely agree with you. I came from an xbmc world as well and don't have this as an issue with anything else.

    Well at the bottom of it there's something wrong with the code somehwere, because a directory listing of a network drive with let's say 500 items takes way much longer than in for example Windows explorer.

    Even tried it with XBMC for Windows and the listings there are instant. It has been like this for as long as I can remember. Don't really know if it's being ignored or what (has been reported several times).

    TV-Server Version:
    MediaPortal Version: RC1 Revision:19158
    MediaPortal Skin: Default
    Windows Version: Xp SP3
    CPU Type: AMD Phenom 9600 Quad Core
    HDD: Seagte 400GB
    Memory: G.Skill PC2-6400 2 GB
    Motherboard: Gigabyte GA-MA78GM-S2H
    Video Card: ATI 3200 HD
    Video Card Driver: As of May 20
    Sound Card: Realtek HD Audio
    Sound Card AC3: SPDIF out
    Sound Card Driver: As of May 20th
    1. TV Card: NA
    1. TV Card Type: NA
    1. TV Card Driver: NA
    2. TV Card: NA
    2. TV Card Type: NA
    2. TV Card Driver: NA
    3. TV Card: NA
    3. TV Card Type: NA
    3. TV Card Driver: NA
    4. TV Card: NA
    4. TV Card Type: NA
    4. TV Card Driver: NA
    MPEG2 Video Codec: FFDShow
    MPEG2 Audio Codec: FFDShow
    h.264 Video Codec: CoreAVC
    Satelite/CableTV Provider: NA
    HTPC Case: Generic
    Cooling: 1 cpu, 2 system fans
    Power Supply: Generic
    Remote: ATI (X10)
    TV: Magnavox 50 DLP
    TV - HTPC Connection: HDMI
     

    jimmynail

    Portal Member
    July 6, 2008
    8
    0
    here it is listed below - - i ended up reloading everything into my movie db i dont know if its possible to edit the existing one to include the new DIR path.

    Copy and paste following code into notepad and save it with any name having .cmd extension.
    You need to set path (FilesPath variable) to the folder where all movies exist.

    @ECHO OFF
    SETLOCAL EnableDelayedExpansion
    SET FilesPath=C:\My Movies
    IF NOT EXIST !FilesPath! ECHO Invalid Path "!FilesPath!" &EXIT /B 0
    FOR /F "delims=" %%f IN ('DIR /A-D /B /ON "!FilesPath!"') DO (
    @ECHO Processing: %%f
    SET FolderName=
    SET FolderName=!FilesPath!\%%~nf
    IF NOT EXIST "!FolderName!" MD "!FolderName!"
    IF EXIST "!FilesPath!\%%f" MOVE /Y "!FilesPath!\%%f" "!FolderName!")

    EXIT /B 0

    test it on a small existing folder first make sure you dont screw your collection!
     

    Users who are viewing this thread

    Top Bottom