bug: the wishlist badge read /wishlist/counts 'total', which was movies+episodes only — YouTube videos (kind='video') are counted by a separate method and were left out. so a wishlist of only youtube videos showed NO number; it only lit up once tv episodes were added. fix: the /wishlist/counts endpoint now folds youtube_wishlist_counts().video into the total (+ exposes video/channel counts). the badge already live-refreshes on wishlist-changed events (which youtube add/remove fire), so it now updates for youtube too. db methods unchanged (their byte-identical contract is intact). regression tests: mixed + youtube-only. |
||
|---|---|---|
| .. | ||
| video | ||
| __init__.py | ||
| auth.py | ||
| cache.py | ||
| discover.py | ||
| downloads.py | ||
| helpers.py | ||
| library.py | ||
| listenbrainz.py | ||
| playlists.py | ||
| profiles.py | ||
| request.py | ||
| retag.py | ||
| search.py | ||
| serializers.py | ||
| settings.py | ||
| system.py | ||
| watchlist.py | ||
| wishlist.py | ||