Skip to content

Instantly share code, notes, and snippets.

@bdmorin
Created June 3, 2024 17:51
Show Gist options
  • Save bdmorin/57a23e1fbfc67f110037f61bafc415b9 to your computer and use it in GitHub Desktop.
Save bdmorin/57a23e1fbfc67f110037f61bafc415b9 to your computer and use it in GitHub Desktop.
troxide import tatulli tv shows.

#troxide user? You can import your tatulli information like this.

$ sqlite3 /opt/stacks/tautulli/tautulli.db 'SELECT
  json_extract(tvmaze_json, \'$.id\') AS show_id,
  json_extract(tvmaze_json, \'$.name\') AS show_name
  FROM tvmaze_lookup;' > tvm.export

$ echo '( version:1, series: [' > tatulli.import
$ awk -F\| '{print "(id:$1,name:\"$2\", is_tracked: true; seasons: {}),"}' >> tatulli.import
$ echo '])' >> tatulli.import

Then import tatulli.import in troxide.

https://docs.linuxserver.io/images/docker-series-troxide/

Honestly I didn't find troxide that useful, so I'm not going to continue to use it. YMMV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment