Visualizations causes change to current dir (1 Viewer)

gloomyandy

MP Donator
  • Premium Supporter
  • September 15, 2006
    424
    14
    63
    Home Country
    United Kingdom United Kingdom
    MediaPortal Version: SVN Build 1ab1 (20.12.2006 / 13:51 CET)
    MediaPortal Skin: Blue Two
    Windows Version: XP Home SP2
    CPU Type: AMD 64X2 4200+
    HDD: Samsung 200Gb
    Memory: 1Gb DDR
    Motherboard: ASUS P1-AH1
    Motherboard Chipset: nVidia MCP 51
    Motherboard Bios:
    Video Card: nVidia GeForce 6150
    Video Card Driver: 91.47
    Sound Card: Realtek high def
    Sound Card AC3: no AC3
    Sound Card Driver: 5.10.0.5296
    1. TV Card: Hauppauge HVR-1300
    1. TV Card Type: DVB-T/Analogue hybrid with mpeg hw encoder
    1. TV Card Driver: 2.5e
    2. TV Card: Hauppauge Nova T-Stick
    2. TV Card Type: DVB-T
    2. TV Card Driver: 2.5e
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: Intervideo XPack 2.11.15
    MPEG2 Audio Codec: Intervideo XPack 2.11.15
    Satelite/CableTV Provider: NTL
    HTPC Case: ASUS Pundit P1
    Cooling:
    Power Supply:
    Remote: MS MCE
    TV: Hyundai Q320 32" LCD
    TV - HTPC Connection: DVI

    Some visualizations like this one:
    http://visuals.free.vovoid.com/view...29uaXF1ZSBwbHVnaW5z&name=c3RhcmxpZ2h0YXVyb3Jh
    when initialized change the current working directory to the one in which they are installed. This may cause problems for other parts of MP. The example I have seen is that the vmr9.log is not created (the code tries to create it using the relative path "log\vmr9.log" and there is no log directory in the visualizations directory). Not sure what other things this may impact.

    To reproduce:
    1. Set the MP logging level to Debug
    2. Start MP.
    3. Turn on TV
    4. In your log dir you should have a vmr9.log file.
    5. Exit MP
    6. Install the above visualization
    7. Select it in the MusicPlayer settings (using Bass player).
    8. Start MP
    9. Turn on TV
    10 In your log dir you will not have a vmr9.log file

    Let me know if you need more detail

    Andy
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    That was the reason to introduce the config provider half a year ago ;)

    If you spot areas where MP is still relying on relative pathes for criticial methods please report those.
     

    gloomyandy

    MP Donator
  • Premium Supporter
  • September 15, 2006
    424
    14
    63
    Home Country
    United Kingdom United Kingdom
    Well it's certainly not critical but the "log(...)" function in
    Core/DirectShowHelper/DirectShowHelper/dshowhelper.cpp
    certainly assumes that the media portal directory is current... I'd submit a patch but I don't have the capability to compile that code. Perhaps MrHipp could take a look, if he is passing that way again!

    Thanks

    Andy
     

    Users who are viewing this thread

    Top Bottom