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

Fix kodiupdate URL and add better error reporting #2662

Merged
merged 3 commits into from
Aug 22, 2017

Conversation

natezb
Copy link
Contributor

@natezb natezb commented Aug 20, 2017

The most important aspect of this change is to correct the Kodi URL. The current URL, which has a trailing slash, produces a 404 error on my system (Kodi v17.1 on ArchLinux).

The existing error handling/logging missed this, so I added checks of the HTTP status code and the JSON response data for more detailed information.

@mention-bot
Copy link

@natezb, thanks for your PR! By analyzing the history of the files in this pull request, we identified @Pauligrinder to be a potential reviewer.

@sampsyo
Copy link
Member

sampsyo commented Aug 21, 2017

Thank you for noticing and fixing this! The URL change seems harmless enough, even for other setups where the old URL happened to work. And the new error handling is a very good idea.

Would you mind adding a changelog entry? Then this will be ready to merge.

@sampsyo
Copy link
Member

sampsyo commented Aug 22, 2017

Fantastic! ✨ Thank you again.

@sampsyo sampsyo merged commit 9d01ba0 into beetbox:master Aug 22, 2017
sampsyo added a commit that referenced this pull request Aug 22, 2017
Fix kodiupdate URL and add better error reporting
@natezb
Copy link
Contributor Author

natezb commented Aug 22, 2017

Man, that was quick! Thanks

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.

3 participants