mirror of
https://github.com/sigma67/ytmusicapi.git
synced 2026-04-25 15:26:01 +03:00
[PR #510] [MERGED] Track positions #631
Labels
No labels
a/b
bug
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
yt-error
yt-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ytmusicapi#631
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigma67/ytmusicapi/pull/510
Author: @jcbirdwell
Created: 1/9/2024
Status: ✅ Merged
Merged: 1/11/2024
Merged by: @sigma67
Base:
main← Head:track_positions📝 Commits (7)
9753528ytmusicapi: relative module imports8e2ab98get_album (via parse_playlist_items): add track_position key + tests for the badly indexed album046134frelative imports: uno_reverse3aa5227get_album & parse_playlist_items: nav changes9d65913parse_playlist_items: only add track_position for albums0aff162parse_playlist_items & related test_browsing: track_position > track_numberec82396Merge remote-tracking branch 'origin/main' into jcbirdwell-track_positions📊 Changes
4 files changed (+18 additions, -3 deletions)
View changed files
📝
tests/conftest.py(+6 -0)📝
tests/mixins/test_browsing.py(+5 -1)📝
ytmusicapi/mixins/browsing.py(+1 -1)📝
ytmusicapi/parsers/playlists.py(+6 -1)📄 Description
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'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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.