The Movie Database Support Forum

Hello,

it would be nice to return media_type in any case.

This would make the code a lot easier because we can determine if we receive a 'tv', 'movie', 'season', 'episode', 'person'....

Depending on the media_type we can cast the received JSON object to the desired object.

kind regards Andreas

1 Antwort (Seite 1 von 1)

Jump to last post

Hi @whvneo,

Sorry for the late reply. I only return the media_type when it can't be inferred by the request you're making (ie. a mixed list).

Not sure if I will add the extra field but thanks for the recommendation.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden