Author Topic: MBox64  (Read 679 times)

0 Members and 1 Guest are viewing this topic.

Offline Stefan Midegaal

  • Newbie
  • *
  • Posts: 26
MBox64
« on: April 16, 2018, 03:41:45 PM »
Quote
MBox64 (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


Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1998
    • www.zapsolution.com
Re: MBox64
« Reply #1 on: April 16, 2018, 04:23:50 PM »
Original is too big.

Now I am using this
Code: [Select]
// 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
« Last Edit: April 16, 2018, 04:26:31 PM by Patrice Terrier »
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Stefan Midegaal

  • Newbie
  • *
  • Posts: 26
Re: MBox64
« Reply #2 on: April 16, 2018, 06:51:44 PM »
Quote
Original 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
« Last Edit: April 16, 2018, 07:34:45 PM by Stefan Midegaal »

Offline Patrice Terrier

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1998
    • www.zapsolution.com
Re: MBox64
« Reply #3 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.
« Last Edit: April 16, 2018, 08:01:03 PM by Patrice Terrier »
Patrice Terrier
GDImage (advanced graphic addon)
http://www.zapsolution.com

Offline Stefan Midegaal

  • Newbie
  • *
  • Posts: 26
Re: MBox64
« Reply #4 on: April 16, 2018, 08:39:41 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