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

feat: refactor ShowClient to LibreTime v2 live-info API #127

Merged
merged 1 commit into from
Dec 25, 2021

Conversation

hairmare
Copy link
Member

@hairmare hairmare commented Dec 19, 2021

Description

Refactor ShowClient to target the LibreTime v2 live-info JSON API directly instead of using the wrapper described in #12.

Introduces requests to make handling web requests easier with more abstraction.

With this, test-coverage of the nowplaying/show/client.py:update function is now up to 100%.

Issues

@hairmare hairmare force-pushed the feat/direct-libretime-integration branch 4 times, most recently from 7586952 to 8ad5920 Compare December 19, 2021 20:46
@hairmare hairmare force-pushed the feat/direct-libretime-integration branch from 8ad5920 to 42d7e04 Compare December 19, 2021 20:48
@hairmare hairmare merged commit 1a68a2e into radiorabe:main Dec 25, 2021
@hairmare hairmare deleted the feat/direct-libretime-integration branch December 25, 2021 13:55
@hairmare hairmare mentioned this pull request Dec 27, 2021
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.

Should use show data from LibreTime directly
1 participant