• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

MBox64

Started by Stefan Midegaal, April 16, 2018, 03:41:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stefan Midegaal

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


Patrice Terrier

#1
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
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Stefan Midegaal

#2
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

Patrice Terrier

#3
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.
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Stefan Midegaal

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