SeriesGuide HTML Export

Transform TV-show and movie lists from SeriesGuide backups into a self-contained HTML page (including TMDB cover images) that is suitable for sharing.

The SeriesGuide App allows manual and automatic JSON-based backups and exports. However, neither such files nor app screenshots are convenient for inspecting or sharing full personal curated lists externally.

This project parses and filters SeriesGuide exports, emitting a single self-contained and responsive HTML file with embedded images.

As covers are not included in the export, these are re-downloaded from TMDB, using a local cache directory. Note that an account is needed for obtaining an API-key – several leaked or “free” keys can be found online, though.

Example HTML export screenshot

Usage

Usage: seriesguide-export [OPTIONS] -c <CACHE_DIR> -a <API_KEY> -o <OUT_FILE> [FILE_PATH]...

Arguments:
  [FILE_PATH]...  List of .json files to process

Options:
  -c <CACHE_DIR>                             Cover image cache directory
  -a <API_KEY>                               TMDB API key
  -o <OUT_FILE>                              HTML output
      --is-check-or                          Whether checks should be treated as OR instead of AND
      --is-in-collection <IS_IN_COLLECTION>  [possible values: true, false]
      --is-in-watchlist <IS_IN_WATCHLIST>    [possible values: true, false]
      --is-watched <IS_WATCHED>              [possible values: true, false]
      --is-hidden <IS_HIDDEN>                [possible values: true, false]
      --is-favorite <IS_FAVORITE>            [possible values: true, false]
  -h, --help                                 Print help

Per default layout, the usual cargo commands such as build, test, or run apply:

cargo run -- -c cache -a d41d8cd98f00b204e9800998ecf8427e -o out.html \
    --is-check-or --is-favorite true --is-in-collection true \
    seriesguide-movies-backup.json seriesguide-shows-backup.json

Processed entries can be filtered using the --is-* flags, with the given matches interpreted either as AND (default) or OR chain.

Code & Download