Skip to content

Instantly share code, notes, and snippets.

@EnorMOZ
EnorMOZ / fixradarr.sh
Last active March 22, 2020 18:36
Radarr Script
#!/bin/sh -e
ApiKey=12345
DBP="/opt/radarr4k/app/radarr.db"
RUL="http://localhost:17878"
DEBUG="True"
SQL="/usr/bin/sqlite3"
#IF it fails you can start it where it left off by using the Id where it failed
#MID=$($SQL $DBP "select Id from Movies where MovieFileID > 0 and Id > 2375 ORDER BY Id;")
MID=$($SQL $DBP "select Id from Movies where MovieFileID > 0 ORDER BY Id;")