The video Library Scan tool only scanned 'all' — but movies and TV are independent libraries (unlike music's single library). The scanner backend already supported media_type='movie'|'show'|'all'; this just wires it up: - /api/video/scan/request now reads media_type and threads it to request_scan - the Tools card gains a target selector (All / Movies Only / TV Shows Only) alongside the existing mode dropdown, matching the music scan's UX - the live status detail reflects the target (no confusing '0 shows' on a movies-only scan) Seam test: the endpoint passes both mode and media_type through (default all/full, explicit movie/deep, TV-only). Existing scanner media-type/scope tests unchanged. |
||
|---|---|---|
| .. | ||
| 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 | ||