Powerbasic Museum 2020-B

IT-Consultant: Patrice Terrier => Discussion => Topic started by: Stefan Midegaal on April 16, 2018, 03:41:45 PM

Title: MBox64
Post by: Stefan Midegaal on April 16, 2018, 03:41:45 PM
QuoteMBox64 (Media Foundation version) has been updated.

The TMDB API doesn't provide anymore wallpaper in full HD mode (they switched to 720p) thus forcing me to change the query that was using w1920 to w1280, sorry for the inconvenience...


Note:
The link to the standalone Windows 10 binary version has also been updated.

your should use Original instead of w1280 if your want back.. 1920 Resolution

Title: Re: MBox64
Post by: Patrice Terrier on April 16, 2018, 04:23:50 PM
Original is too big.

Now I am using this
// Get wallpaper
long TMD_GetBackdrop(IN WCHAR* UsePath) {
    long nRet = 0;
    WCHAR zURL[MAX_PATH]; ClearMemory(zURL, sizeof(zURL));
    //Path_Combine(zURL,  L"https://image.tmdb.org/t/p/w1920/", gM.backdrop_path);
    Path_Combine(zURL,  L"https://image.tmdb.org/t/p/w1280/", gM.backdrop_path); // 03-29-2018 the HD mode has been removed (but i can also use {original} rather than wxxxx)

    Path_Combine(gTMD.backdrop, UsePath, L"TMD_backdrop.jpg");
    if (URLDownloadToFile(NULL, zURL, gTMD.backdrop, 0, NULL) == S_OK) {
        nRet = -1;
    } else {
        ClearMemory(gTMD.backdrop, sizeof(gTMD.backdrop));
    }
    return nRet;
}


More options there
https://www.themoviedb.org/talk/5abcef779251411e97025408
Title: Re: MBox64
Post by: Stefan Midegaal on April 16, 2018, 06:51:44 PM
QuoteOriginal is too big.
Ok ;)

it is always by me 1920x1080 the same as before.
but, yes you can do what your want. i use Original.

greets
Title: Re: MBox64
Post by: Patrice Terrier on April 16, 2018, 07:57:59 PM
With "original", some can be as width as 3600 pixels, i do not need such a huge resolution, and i prefer to save the disk space.
This makes sense only for the purpose of printing posters.
Title: Re: MBox64
Post by: Stefan Midegaal on April 16, 2018, 08:39:41 PM
Quote from: Patrice Terrier on April 16, 2018, 07:57:59 PM
With "original", some can be as width as 3600 pixels, i do not need such a huge resolution, and i prefer to save the disk space.
This makes sense only for the purpose of printing posters.

yes that is bad..
i have never see that i have load a Resolution more then 1920x

greets