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

Track positions #510

Merged
merged 7 commits into from
Jan 11, 2024
Merged

Track positions #510

merged 7 commits into from
Jan 11, 2024

Conversation

jcbirdwell
Copy link
Contributor

Implementation of #509.

I refactored to relative imports so I could get proper module linking to track down the required functions.

All relevant tests passing + new tests added for the weird album.

  • I was unsure if the album's browseId should be made a fixture or just added inline for the individual test as there seems to be both.

I'm getting some weird behavior with the new ruff/mypy pipeline related to library stubs that I can't seem to get working at the moment, but I think the errors are irrelevant to the PR.

Copy link
Owner

@sigma67 sigma67 left a comment

Choose a reason for hiding this comment

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

Good change 👍 Just a few comments.

Also make sure to run pre-commit to fix the failing checks

ytmusicapi/__init__.py Outdated Show resolved Hide resolved
ytmusicapi/parsers/playlists.py Outdated Show resolved Hide resolved
ytmusicapi/parsers/playlists.py Outdated Show resolved Hide resolved
@sigma67 sigma67 merged commit ba71fc9 into sigma67:main Jan 11, 2024
3 of 4 checks passed
@sigma67 sigma67 linked an issue Jan 12, 2024 that may be closed by this pull request
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.

Return actual track positions
2 participants