Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature / Help] Support for base64 encoded urls in players #1234

Open
2 tasks done
MrOrange9-JCT opened this issue Jul 29, 2024 · 0 comments
Open
2 tasks done

[Feature / Help] Support for base64 encoded urls in players #1234

MrOrange9-JCT opened this issue Jul 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MrOrange9-JCT
Copy link

Describe the feature that you'd like

I’m trying to create a player for an addon that uses base64 encoded urls. These urls are not obduscated, just encoded in b64. When decoding the urls, they give this a JSON similar to this:

{
        "action": "channel_search",
        "channel": "search",
        "fanart": "{fanart}",
        "infoLabels": {
            "adult": null,
            "backdrop_path": null,
            "fanart": "{fanart}",
            "genre": null,
            "genre_ids": null,
            "id": "{id}",
            "mediatype": "movie",
            "original_language": null,
            "original_title": "{originaltitle}",
            "originaltitle": "{originaltitle}",
            "overview": "{plot}",
            "plot": "{plot}",
            "popularity": null,
            "poster_path": "{poster}",
            "rating": null,
            "release_date": "{released}",
            "thumbnail": "{thumbnail}",
            "title": "{title}",
            "tmdb_id": "{tmdb}",
            "video": false,
            "vote_average": null,
            "vote_count": null,
            "votes": null,
            "year": "{year}"
        },
        "mode": "movie",
        "text": "{title}",
        "thumbnail": "{thumbnail}",
        "title": "{title}"
    }
}

I’ve replaced all keys with their respective TMDBh keys, and left all the other ones to null or false (I didn’t know their meaning).

The part I’m struggling to make is so that all of this gets encoded to base64 and then sent to Kodi to go there. This afaik is not a feature, so I wanted to edit the code and maybe create a fork but my experience creating Kodi add-ons is near to none.

Why is this feature needed? What problem does it solve?

Some players use base64 encoded json that they then parse as the agruments in the url. I guess this works well for the addons but it does not work to create a player for TMDBh.

Steps to reproduce.

No response

Screenshots and Additional Info

No response

Checklist

  • I have searched the issues and this feature has not been requested.
  • I have updated TMDbHelper to the most recent version.
@MrOrange9-JCT MrOrange9-JCT added the enhancement New feature or request label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant