Skip to content

Added example that shows how to sync subscriptions #85

Draft
pSpitzner wants to merge 1 commit intomainfrom
spotify_subscription_example
Draft

Added example that shows how to sync subscriptions #85
pSpitzner wants to merge 1 commit intomainfrom
spotify_subscription_example

Conversation

@pSpitzner
Copy link
Copy Markdown
Contributor

I follow some playlists that are updated regularly on spotify via tidal.
This might be a cool example and good use-case to show.

I was tweaking this a bit more, and after the refactor it works quite well.
If we fix some of the open issues (retry logic) the code should also be much shorter.

@pSpitzner pSpitzner temporarily deployed to integration_tests April 8, 2026 18:30 — with GitHub Actions Inactive
@pSpitzner pSpitzner temporarily deployed to integration_tests April 8, 2026 18:30 — with GitHub Actions Inactive
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Thank you for the PR! The changelog has not been updated, so here is a friendly reminder to check if you need to add an entry.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!


for i in range(0, len(ops.ops), batch_size):
batch = ops.ops[i : i + batch_size]
# PS@SM: ops.ops is needed, itering ops gives steps and instance checks fail
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use two type ignores for this if you check playlist.py:393. We might want to move this logic somehow into the core layer I guess. I wouldn't want users to use the ops if it is not entirely necessary.

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