0.2.2.0 generates 13,000 thumbnails!!! (1 Viewer)

rtv

Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    It obviously copies all files inside the mediaportal dir.

    If you install svn for testing && want to use thumbs there && don't want them in backup then use the config provider to relocate your thumbs dir maybe to your documents dir.
     

    jdivic

    Portal Pro
    October 25, 2005
    64
    0
    52
    Croatia
    hi rtv,

    I don’t know should I start new thread… however, I took a sneak peek on code for generating thumbs from recorded shows... and I found that in a file
    GrabBitmaps.cpp; method GrabBitmaps:

    Log("grab:run.");
    // activate the threads
    CComQIPtr< IMediaControl, &IID_IMediaControl >
    pControl(pGraph);
    hr = pControl->Run( );
    // hr is EC_FAIL
    Log("grab:wait.");
    // wait for the graph to settle
    CComQIPtr< IMediaEvent, &IID_IMediaEvent > pEvent( pGraph );
    long EvCode = 0;
    HRESULT lParam1 = 0;
    long lParam2 = 0;
    hr = pEvent->GetEvent(&EvCode, &lParam1, &lParam2, -1);

    and GetEvent returns:
    EvCode: 0x32B (STREAMBUFFER_EC_READ_FAILURE)
    lParam1: 0x80004005 (E_FAIL)
    lParam2: 0

    so… do you have any idea about the source of error or where I should look… playing of those dvr-ms recorded shows works perfectly… thanks in advance.
     

    HappyTalk

    Portal Pro
    July 16, 2006
    307
    8
    UK
    use the config provider to relocate your thumbs
    Hmmm, OK I copied MediaPortalDirs.xml from MediaPortal folder to ..\MyDocuments\Team MediaPortal\ folder and edited it in TextPad, seems to work. I presume that's the correct way of of doing it?
     

    Users who are viewing this thread

    Top Bottom