added rate limiter on the downloader and updated comparison to only look for files from updated or missing series ids.

This commit is contained in:
2026-02-18 16:58:33 -05:00
parent b7e8295fa4
commit 1297723427
9 changed files with 731 additions and 751 deletions
+56
View File
@@ -0,0 +1,56 @@
{
"global": {
"loglevel": "info",
"MaxParallelDownloads": 5
},
"dbsettings": {
"sqlserver_driver": "ODBC Driver 13 for SQL Server",
"hostname": "192.168.129.248",
"mghostname": "192.168.128.24",
"dbname": "media_dbsync3",
"mgdbname": "tvdata",
"mysqlusername": "root",
"pgsqlusername": "postgres",
"mssqlusername": "sa",
"mysqlpassword": "Optimus0329",
"pgsqlpassword": "Optimus0329",
"mssqlpassword": "Optimus0329",
"pgsqlport": 5432,
"mysqlport": 3306,
"mssqlport": 1433,
"mgport": 27017
},
"api": {
"type": "tvmaze"
},
"json": {
// "seriesapi": "http://api.tvmaze.com/shows?page=<pagenum>",
"showapi": "http://api.tvmaze.com/shows/<tvmazeid>",
"episodeapi": "http://api.tvmaze.com/shows/<tvmazeid>/episodes",
"aliasapi": "http://api.tvmaze.com/shows/<tvmazeid>/akas",
"castapi": "http://api.tvmaze.com/shows/<tvmazeid>/cast",
"crewapi": "http://api.tvmaze.com/shows/<tvmazeid>/crew",
"creditsapi": "http://api.tvmaze.com/people/<actorid>/castcredits",
"guestcrewapi": "https://api.tvmaze.com/episodes/1/guestcrew",
"guestcastapi": "https://api.tvmaze.com/episodes/1/guestcast",
"updatesapi": "http://api.tvmaze.com/updates/shows"
},
"database": {
"dbtype": "pgsql",
"updateschema": "updates",
"initialize": 0,
"initload": 0
},
"updatetype": {
"type": "full",
"full": "full",
"monthly": 1219200,
"weekly": 604800,
"daily": 86400,
"12h": 23200,
"6h": 16600,
"custom": 4150,
"cacheskip": 1,
"refreshcache": 0
}
}