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

Added gunzip support for good.json #2

Closed
wants to merge 1 commit into from
Closed

Added gunzip support for good.json #2

wants to merge 1 commit into from

Conversation

lausitzer
Copy link

Since some days plugin.video.mediathekdirekt doesn't start anymore (have a look at https://www.kodinerds.net/index.php/Thread/53682-RELEASE-Mediathek-Direkt/?pageNo=6). Logfile talks about an "NO JSON object could be decoded" when consuming good.json file. Having a look at this file shows me an gziped file so deserialisation must fail.
My commit changes addon to store download as good.json.gz and gunzip it to good.json in a second step. Maybe there is another way to do this with urllib during download, I'm not the python geek ;-)
To take changes affect, you have to manualy delete an existing good.json file in your profiles directory!

@dojomo
Copy link
Owner

dojomo commented Feb 15, 2019

I tested your merge and it seems that gunzip is not working within Kodi on AndroidTVs for example.

@lausitzer
Copy link
Author

Problem solved by c6ccb95.

@lausitzer lausitzer closed this Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants