get_album: track positions (#510)
* get_album (via parse_playlist_items): add track_position key + tests for the badly indexed album * get_album & parse_playlist_items: nav changes * parse_playlist_items: only add track_position for albums * parse_playlist_items & related test_browsing: track_position > track_number --------- Co-authored-by: sigma67 <sigma67.github@gmail.com>
This commit is contained in:
parent
b60bcd7675
commit
ba71fc998d
4 changed files with 18 additions and 3 deletions
|
|
@ -24,6 +24,12 @@ def fixture_sample_album() -> str:
|
|||
return "MPREb_4pL8gzRtw1p"
|
||||
|
||||
|
||||
@pytest.fixture(name="badly_indexed_album")
|
||||
def fixture_badly_indexed_album() -> str:
|
||||
"""Sean Paul - Dutty Classics Collection"""
|
||||
return "MPREb_TPH4WqN5pUo"
|
||||
|
||||
|
||||
@pytest.fixture(name="sample_video")
|
||||
def fixture_sample_video() -> str:
|
||||
"""Oasis - Wonderwall"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue