Adapter: MDBList

MDBList adapter lets CrossWatch sync with MDBList. It supports watchlist and ratings. It prefers external IDs for matching.

circle-exclamation

What it supports

  • Direction: source or target in a pair (one-way or two-way)

  • Features:

    • Watchlist (movie/show)

    • Ratings (movies, shows, seasons, episodes)

    • History (not supported)

    • Playlists (not supported)

  • Rating scale: 1–10

  • Indexing: present-state snapshot (reads “what exists now”)

circle-info

Connect MDBList first. Use: MDBList (Authentication provider).

circle-check

How matching works

CrossWatch keys items by external IDs whenever possible:

  • imdb, tmdb, tvdb

  • mdblist when returned by the API

circle-exclamation

Watchlist behavior

  • Reads the current watchlist and normalizes to {type, ids, title, year}.

  • Writes add/remove operations for movies and shows.

Ratings behavior

  • Reads ratings via a paginated endpoint.

  • Normalizes ratings for movies, shows, seasons, and episodes.

  • Writes support upsert and “unrate”.

Settings (advanced)

The UI mirrors these under Settings → Synchronization Providers → Pairs (with MDBList).

chevron-rightEndpoints usedhashtag

Watchlist:

  • GET /watchlist/items (supports limit, offset, unified=1)

  • POST /watchlist/items/add

  • POST /watchlist/items/remove

Ratings:

  • GET /sync/ratings (paginated)

  • POST /sync/ratings

  • POST /sync/ratings/remove

chevron-rightImportant config keyshashtag

Watchlist:

  • watchlist_limit, watchlist_offset

Ratings:

  • ratings_per_page (default 200)

  • ratings_chunk_size

  • ratings_write_delay_ms

  • ratings_max_backoff_ms

Diagnostics

chevron-rightLogging and retrieshashtag
  • Logs are prefixed with [MDBLIST:watchlist] and [MDBLIST:ratings].

  • Requests use retries with exponential backoff.

  • Rate-limit headers and Retry-After are honored.

chevron-rightState and cache fileshashtag

Watchlist:

  • Shadow cache: /config/.cw_state/mdblist_watchlist.shadow.json

  • Unresolved: /config/.cw_state/mdblist_watchlist.unresolved.json

Ratings:

  • Ratings index cache: /config/.cw_state/mdblist_ratings.index.json

Notes and limitations

  • Missing external IDs reduces match quality.

  • Ratings are de-duplicated by keeping the newest rated_at per key.

  • History and playlists are not implemented for MDBList.

Last updated