Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Guide: Create TMDB Helper Player

Arv.Void edited this page Feb 10, 2020 · 1 revision

Create a player file hbogoeu.json in userdata/addon_data/plugin.video.themoviedb.helper/players/ https://github.com/jurialmunkey/plugin.video.themoviedb.helper/wiki/Player-Function

If Tmdb Helper retrieves content in English use this player:

{
    "name"              : "Hbo GO EU",
    "plugin"            : "plugin.video.hbogoeu",
    "priority"          : 500,
    "play_movie"        : [
                            "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH_FORCE_ENG&query={title}",
                            {"title": "{title}", "year": "{year}"}
                          ],
    "play_episode"      : [
                            "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH_FORCE_ENG&query={showname}",
                            {"title": "{showname}"},
                            {"position": "{season}"},
                            {"season": "{season}", "episode": "{episode}"}
                          ],
    "search_movie"      : "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={title}",
    "search_episode"    : "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={showname}"
}

If Tmdb Helper retrieves content in another language use this player but Hgo Eu have to retrieve content in the same language:

{
    "name"              : "Hbo GO EU",
    "plugin"            : "plugin.video.hbogoeu",
    "priority"          : 500,
    "play_movie"        : [
                            "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={title}",
                            {"title": "{title}", "year": "{year}"}
                          ],
    "play_episode"      : [
                            "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={showname}",
                            {"title": "{showname}"},
                            {"position": "{season}"},
                            {"season": "{season}", "episode": "{episode}"}
                          ],
    "search_movie"      : "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={title}",
    "search_episode"    : "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={showname}"
}

Modify priority according to preference

If you are using Spain/Nordic region modify player this way:

{
    "name"              : "Hbo GO EU",
    "plugin"            : "plugin.video.hbogoeu",
    "priority"          : 500,
    "play_movie"        : [
                            "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH_FORCE_ENG&query={title}",
                            {"title": "{title}"}
                          ],
    "play_episode"      : [
                            "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH_FORCE_ENG&query={showname}",
                            {"title": "{showname}"},
                            {"position": "{season}"},
                            {"season": "{season}", "episode": "{episode}"}
                          ],
    "search_movie"      : "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={title}",
    "search_episode"    : "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={showname}"
}

If Tmdb Helper retrieves content in another language use this player but Hgo Eu have to retrieve content in the same language:

{
    "name"              : "Hbo GO EU",
    "plugin"            : "plugin.video.hbogoeu",
    "priority"          : 500,
    "play_movie"        : [
                            "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={title}",
                            {"title": "{title}"}
                          ],
    "play_episode"      : [
                            "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={showname}",
                            {"title": "{showname}"},
                            {"position": "{season}"},
                            {"season": "{season}", "episode": "{episode}"}
                          ],
    "search_movie"      : "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={title}",
    "search_episode"    : "plugin://plugin.video.hbogoeu/?mode=4&url=EXTERNAL_SEARCH&query={showname}"
}