# 090 — Search and other skin touchpoints that read the Kodi library

Decision: nothing in skin.milionar reads Kodi library data any more.

| Place (skin plan ref) | Today | New |
|-----------------------|-------|-----|
| Search window 1120 rows 4–5 (`070-search` §2) | `videodb://…?xsp=` "V mé knihovně: Filmy / Seriály" | rows "V Moje filmy", "V Moje seriály": `widget_row&row=search_my_movies|search_my_series&q=<query>` matching title / original title (accent- and case-insensitive, `unidecode`) in the store; items as in 060 §1 with state and the 080 menu |
| Search rows Filmy / Seriály / Osoby (TMDb) | addon items | unchanged rows, items get state + the 080 menu; movie / episode play through `mplay` |
| Continue (`widget_in_progress`, `lib_resume`) | addon + Kodi library in-progress | replaced by the Pokračovat slots (070 §3); `lib_resume` stays only for other skins' library items |
| Game topic picker 1122 (`050-home` §4a) | Film z knihovny / Seriál z knihovny (JSON-RPC library) | "Film z Moje filmy" / "Seriál z Moje seriály" / "Náhodně" (random from both lists; falls back to recently played when the lists are empty) |
| Row "Hrát o…" (`widget_game_topics`) | recently played + random library titles | recently played (`play_log`) + random list titles |
| Info dialog "Milionář" button id 4500, icon `icons/infodialogs/launch.png` (`080-library-actions` §4 as built) | visible for library DBType + DBID; its `onclick`s store `milionar.dbtype` / `milionar.dbid` as Home properties because window 1121 cannot see the dialog's ListItem | also visible for addon items (`!String.IsEmpty(ListItem.Property(milionar.tmdb))`); additional `onclick`s store `milionar.tmdb`, `milionar.type`, `milionar.s`, `milionar.e` the same way; window 1121 shows the 080 §2 items when `milionar.tmdb` is set, the old `lib_*` items for library items |
| Skin settings "Milionář" widget switches (`HomeWidgetNoMil…`) | per-row bools | replaced by the slot editor (070 §5); the bools are no longer read |

Search history and the TMDb call stay as built (`070-search` §4).

## Result (L5, 2026-10-01)

- Search window rows 4-5 are "V Moje filmy" / "V Moje seriály": `widget_row&row=search_my_movies|search_my_series&q=`
  (accent- and case-insensitive match of title / original title in the lists, `rows.fold`); the TMDb rows carry the 080 menu.
- Game picker 1122 and the row "Hrát o…": "Film z Moje filmy" / "Seriál z Moje seriály" / "Náhodně" from the lists
  (`skin.actions._library_titles`); the empty message is "Seznam je prázdný". No JSON-RPC library read remains in the skin
  paths (`widget_in_progress` / `lib_resume` stay for other skins).
- "Přidat do knihovny Kodi" is dropped when `skin.milionar` is active: the details dialog button
  (`WCS.Details.SkinMilionar`), the select dialogs of similar movies / series, actor, director, collection and the AI chat
  (`wcs/library2/compat.py`), and the context menus (they return the 080 menu).
- Info dialog button for addon items: see 080 §4 (a select dialog instead of window 1121, same menu).
