-
Notifications
You must be signed in to change notification settings - Fork 337
Explore, charts and mood models #989
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv2-modelspydantic response models effort (#307)pydantic response models effort (#307)
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededv2-modelspydantic response models effort (#307)pydantic response models effort (#307)
Part of #307. Base branch:
ytmusicapi-2. Read the contributor guide from #982 before starting.Scope
get_exploreandget_charts(mixins/explore.py,mixins/charts.py,parsers/explore.py)get_mood_categoriesandget_mood_playlistsWatch out for
Charts are heavily A/B tested server-side and the carousel contents vary by country —
is_playlist_carouselandis_artist_carouselinmixins/charts.pyexist precisely because of that (see #970). The models need to tolerate that variation rather than assume one layout.get_charts(country=...)returns different sections per country. Test with at leastZZand one specific country.Definition of done
mypy --strictclean.