Tmdb Url Builder
object TmdbUrlBuilder
Functions
Link copied to clipboard
fun buildMedia(mediaType: TmdbMediaType, parentId: Int, seasonNumber: Int? = null, episodeNumber: Int? = null): String
Build the media page URL depending on the media type.
Link copied to clipboard
Build person page URL. https://www.themoviedb.org/person/1456295
Link copied to clipboard
Example: https://www.themoviedb.org/review/63501e9ed363e5007a664110
Link copied to clipboard
Example: https://www.themoviedb.org/u/msbreviews
Link copied to clipboard
Build the video URL depending on the site the video is from
Link copied to clipboard
Example: https://www.themoviedb.org/tv/96677-lupin/watch?locale=AU