This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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;") |