diff --git a/backend/src/tools/media/routes.js b/backend/src/tools/media/routes.js index 3fe701c..e4359e3 100644 --- a/backend/src/tools/media/routes.js +++ b/backend/src/tools/media/routes.js @@ -686,11 +686,16 @@ router.get('/streaming/:providerId', authenticate, async (req, res) => { const UNLIMITED_LANGS = new Set(['de', 'en']); const MAX_OTHER_LANGUAGE_TOTAL = 2; + // Manche Anbieter (z.B. HBO Max) nutzen bei TMDb DE nicht nur 'flatrate' + const monetizationType = ['max'].includes(provider.id) + ? 'flatrate|free|ads|rent|buy' + : 'flatrate'; + function buildParams(mediaKind, minVotes, dateFrom) { return { watch_region: 'DE', with_watch_providers: provider.tmdbId, - with_watch_monetization_types: 'flatrate', + with_watch_monetization_types: monetizationType, sort_by: 'popularity.desc', 'vote_count.gte': minVotes, ...(dateFrom