Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gui/include/cloudcatalogbackend.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private slots:

// Helper methods
// PSCloud entitlement → productId library lookup (used by getGameLandscapeImageFromCache
// and createCloudSteamShortcut). Returns productId from ps5_cloud_library cache, or
// and createCloudSteamShortcut). Returns productId from ps5_cloud_library_v2 cache, or
// entitlementId if not found.
QString findProductIdForEntitlement(const QString &entitlementId);
void setCachedData(const QString &key, const QJsonDocument &data);
Expand Down
3 changes: 1 addition & 2 deletions gui/src/cloudcatalogbackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ QJsonObject CloudCatalogBackend::extractGameImages(const QJsonObject &gameData)

QString CloudCatalogBackend::findProductIdForEntitlement(const QString &entitlementId)
{
QString libraryCached = getCachedData("ps5_cloud_library", INT_MAX);
QString libraryCached = getCachedData("ps5_cloud_library_v2", INT_MAX);
if (libraryCached.isEmpty())
return entitlementId;
QJsonDocument libraryDoc = QJsonDocument::fromJson(libraryCached.toUtf8());
Expand Down Expand Up @@ -1177,4 +1177,3 @@ void CloudCatalogBackend::createCloudSteamShortcut(const QString &gameIdentifier
#endif // CHIAKI_GUI_ENABLE_STEAM_SHORTCUT
}


2 changes: 1 addition & 1 deletion gui/src/qmlbackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ QmlBackend::QmlBackend(Settings *settings, QmlMainWindow *window, SteamworksWrap
cloud_catalog_backend = new CloudCatalogBackend(settings, this);
connect(settings_qml, &QmlSettings::cloudStoreLocaleChanged, this, [this]() {
// Full wipe (not just the v6 PS5 intermediates): the unified catalog is locale-specific,
// so a language change must also drop unified_catalog_v3 or a stale-locale list is served.
// so a language change must also drop unified_catalog_v4 or a stale-locale list is served.
cloud_catalog_backend->invalidateCache();
});
// Account/profile change (login, logout, token re-entry) must drop the cached catalog so
Expand Down
2 changes: 1 addition & 1 deletion lib/include/chiaki/cloudcatalog.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ extern "C" {
* v3: adds "resolvedStoreLang" (server store language for the step0_5d container URL);
* bumped so existing caches refetch and clients get the field immediately rather
* than after the 24h TTL. */
#define CHIAKI_CLOUDCATALOG_SCHEMA_VERSION 3
#define CHIAKI_CLOUDCATALOG_SCHEMA_VERSION 4

typedef struct chiaki_cloudcatalog_config_t
{
Expand Down
Loading