Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tmdb information #69

Open
bucanero opened this issue Jul 25, 2022 · 0 comments
Open

tmdb information #69

bucanero opened this issue Jul 25, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@bucanero
Copy link
Owner

bucanero commented Jul 25, 2022

For the record, if you want to access the PS4 TMDB, you can use the same hmac key as the one for the PS3
hmac-sha1 key:

F5DE66D2680E255B2DF79E74F890EBF349262F618BCAE2A9ACCDEE5156CE8DF2CDF2D48C71173CDC2594465B87405D197CF1AED3B7E9671EEB56CA6753C2E6B0

the seed is TITLEID_00 -> for example CUSA00001_00
then you can build the tmdb URL

openssl dgst -mac hmac -macopt hexkey:F5DE66D2680E255B2...E6B0 -sha1 seed.bin

HMAC-SHA1(seed.bin)= c32a667a087a40c2ad1889435907aa4b0d9dba1f

then the URL will be:

  • tmdb.np.dl.playstation.net/tmdb2/TITLEID_00_{hmac-sha1-uppercase}/TITLEID_00.json
    the json has information about the title, like name, icon, category, etc

http://tmdb.np.dl.playstation.net/tmdb2/CUSA00001_00_C32A667A087A40C2AD1889435907AA4B0D9DBA1F/CUSA00001_00.json

{
  "revision": 1,
  "patchRevision": 9,
  "formatVersion": 4,
  "npTitleId": "CUSA00001_00",
  "console": "PS4",
  "names": [
    {
      "name": "THE PLAYROOM"
    },
    {
      "name": "プレイルーム",
      "lang": "ja"
    }
  ],
  "icons": [
    {
      "icon": "http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/icon0.png",
      "type": "512x512"
    }
  ],
  "parentalLevel": 3,
  "pronunciation": "http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/pronunciation.xml",
  "contentId": "IP9100-CUSA00001_00-PLAYROOM00000000",
  "backgroundImage": "http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/pic0.png",
  "bgm": "http://gs2-sec.ww.prod.dl.playstation.net/gs2-sec/appkgo/prod/CUSA00001_00/1/i_f10c33e5f30e3b3900a201af324a2a0e3912e843c1090d66e13f378151c1afa1/i/snd0.at9",
  "category": "gd",
  "psVr": 0,
  "neoEnable": 0
}
@bucanero bucanero added the documentation Improvements or additions to documentation label Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant