CollinHeist / TitleCardMaker

Automated title card maker for Plex, Jellyfin, and Emby
https://titlecardmaker.com/
GNU General Public License v3.0
421 stars 19 forks source link

HELP - Tautulli integration - Error reading update list, skipping and deleting #453

Closed kvalle22 closed 3 months ago

kvalle22 commented 3 months ago

Installation

GitHub - develop branch

Describe your Problem

TCM is not creating cards with Tautulli integrations

Screenshots

image This is the directory where update_card.cmd is located

image

This is my config on Tautulli image

I don't use the watched feature image image image

Preference File

tautulli:
  url: http://localhost:8181/          # Your Tautulli URL
  api_key: ######################              # Your API key
  update_script: 'C:\Users\PMS\AppData\Local\Tautulli\config\update_card.cmd'
  verify_ssl: true
  username: kazeee
  agent_name: Update TitleCardMaker      # Your Username
  script_timeout: 120

Series YAML

No response

Debug Log

[INFO] [03-23-24 12:53:54.444] Sleeping until 12:54:54 2024-03-23
[DEBUG] [03-23-24 12:54:54.449] Update list does not exist
[INFO] [03-23-24 12:54:54.449] Sleeping until 12:55:54 2024-03-23
[DEBUG] [03-23-24 12:55:54.462] Update list does not exist
[INFO] [03-23-24 12:55:54.462] Sleeping until 12:56:54 2024-03-23
[DEBUG] [03-23-24 12:56:54.473] Update list does not exist
[INFO] [03-23-24 12:56:54.473] Sleeping until 12:57:54 2024-03-23
[INFO] [03-23-24 12:57:54.489] Read preference file "C:\Games\Plex\TitleCardMaker-develop-language2\preferences.yml"
[DEBUG] [03-23-24 12:57:54.652] Using "magick " ImageMagick command prefix
[ERROR] [03-23-24 12:57:54.652] Error reading update list, skipping and deleting
[INFO] [03-23-24 12:57:54.654] Sleeping until 12:58:54 2024-03-23
[DEBUG] [03-23-24 12:58:54.656] Update list does not exist
[INFO] [03-23-24 12:58:54.656] Sleeping until 12:59:54 2024-03-23
[DEBUG] [03-23-24 12:59:54.659] Update list does not exist
[INFO] [03-23-24 12:59:54.659] Sleeping until 13:00:54 2024-03-23
[DEBUG] [03-23-24 13:00:54.666] Update list does not exist
[INFO] [03-23-24 13:00:54.666] Sleeping until 13:01:54 2024-03-23
[DEBUG] [03-23-24 13:01:54.680] Update list does not exist
[INFO] [03-23-24 13:01:54.680] Sleeping until 13:02:54 2024-03-23
[DEBUG] [03-23-24 13:02:54.689] Update list does not exist
[INFO] [03-23-24 13:02:54.689] Sleeping until 13:03:54 2024-03-23
[DEBUG] [03-23-24 13:03:54.695] Update list does not exist
[INFO] [03-23-24 13:03:54.695] Sleeping until 13:04:54 2024-03-23
[DEBUG] [03-23-24 13:04:54.704] Update list does not exist
[INFO] [03-23-24 13:04:54.704] Sleeping until 13:05:54 2024-03-23
[DEBUG] [03-23-24 13:05:54.713] Update list does not exist
[INFO] [03-23-24 13:05:54.713] Sleeping until 13:06:54 2024-03-23
[DEBUG] [03-23-24 13:06:54.715] Update list does not exist
[INFO] [03-23-24 13:06:54.715] Sleeping until 13:07:54 2024-03-23
[DEBUG] [03-23-24 13:07:54.728] Update list does not exist
[INFO] [03-23-24 13:07:54.728] Sleeping until 13:08:54 2024-03-23
[DEBUG] [03-23-24 13:08:54.738] Update list does not exist
[INFO] [03-23-24 13:08:54.738] Sleeping until 13:09:54 2024-03-23
[DEBUG] [03-23-24 13:09:54.743] Update list does not exist
[INFO] [03-23-24 13:09:54.743] Sleeping until 13:10:54 2024-03-23
[DEBUG] [03-23-24 13:10:54.747] Update list does not exist
[INFO] [03-23-24 13:10:54.747] Sleeping until 13:11:54 2024-03-23
[DEBUG] [03-23-24 13:11:54.753] Update list does not exist
[INFO] [03-23-24 13:11:54.753] Sleeping until 13:12:54 2024-03-23
[INFO] [03-23-24 13:12:54.764] Read preference file "C:\Games\Plex\TitleCardMaker-develop-language2\preferences.yml"
[DEBUG] [03-23-24 13:12:54.795] Using "magick " ImageMagick command prefix
[ERROR] [03-23-24 13:12:54.795] Error reading update list, skipping and deleting
[INFO] [03-23-24 13:12:54.796] Sleeping until 13:13:54 2024-03-23
kvalle22 commented 3 months ago

@CollinHeist This is what I'm putting inside the script update_card.cmd echo "$@" >> update.txt According to image

kvalle22 commented 3 months ago

image and the resulting file looks like this image

CollinHeist commented 3 months ago

@kvalle22 You will need to rewrite the script for Windows. Try

@echo off
echo %* >> update.txt

This is from a search, I don't use Windows so I can't test this

kvalle22 commented 3 months ago

oh yeah I was about to try that haha image

kvalle22 commented 3 months ago

@CollinHeist what is {rating_key} or where can I find it for every show? I'll create it manually to test the script

CollinHeist commented 3 months ago

Did changing that work? Tautulli replaces {rating_key} with a number when it runs the script, so doing what you did before with update_card.cmd 123 is equivalent

kvalle22 commented 3 months ago

Yes the script now passes the info. But what I'm asking is what is rating key? is it the identifier for a show on TMDB? image Or maybe TVDB? image

kvalle22 commented 3 months ago

image FOUND!

CollinHeist commented 3 months ago

Oh sorry, yeah they are essentially the "Plex ID" for how you can identify some content

CollinHeist commented 3 months ago

Do you have any more issues or questions? If not, feel free to close the issue šŸ‘šŸ»

kvalle22 commented 3 months ago

Oh yeah I completely forgot about it, thanks!!!!