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

New json api #3

Merged
merged 4 commits into from
Jun 11, 2017
Merged

New json api #3

merged 4 commits into from
Jun 11, 2017

Conversation

shuber2
Copy link
Contributor

@shuber2 shuber2 commented Jun 6, 2017

The following commits make the plugin work again with the new JSON API that is used by Ö1. Another commit improves performance significantly by not building the track URLs when listing the items, since this requires an HTTP request for each item.

Factor out OE1Client.get_item_url() and remove url from item dict. This
improves performance significantly since determining the url of each
item requires an HTTP request.
@shuber2
Copy link
Contributor Author

shuber2 commented Jun 6, 2017

Fixes Bug #2.

@tischlda tischlda merged commit 1e044b8 into tischlda:master Jun 11, 2017
@tischlda
Copy link
Owner

Thanks for the PR, sorry I had to let you wait for so long. I also noticed that the new API returns metadata of future broadcasts. Because time travel is still a bit complicated, those get filtered out for now.

@shuber2 shuber2 deleted the new-json-api branch June 11, 2017 10:52
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.

2 participants