From 5c735f226fb23500e782724749f244d4ebd26826 Mon Sep 17 00:00:00 2001 From: rustyinfinity <115462641+rustyinfinity@users.noreply.github.com> Date: Mon, 23 Feb 2026 02:56:37 +0530 Subject: [PATCH 1/2] fix: loop not running problem --- plugins/TPDBMarkers/tpdbMarkers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/TPDBMarkers/tpdbMarkers.py b/plugins/TPDBMarkers/tpdbMarkers.py index d9e688d5..3ca347ed 100644 --- a/plugins/TPDBMarkers/tpdbMarkers.py +++ b/plugins/TPDBMarkers/tpdbMarkers.py @@ -5,6 +5,7 @@ import requests import json import time +import math per_page = 100 @@ -99,7 +100,7 @@ def processAll(): )[0] log.info(str(count) + " scenes to submit.") i = 0 - for r in range(1, int(count / per_page) + 1): + for r in range(1, math.ceil(count / per_page) + 1): log.info( "fetching data: %s - %s %0.1f%%" % ( From 9fd45cb4bcae69a56316d289b60300e5bef0f713 Mon Sep 17 00:00:00 2001 From: rustyinfinity <115462641+rustyinfinity@users.noreply.github.com> Date: Thu, 26 Feb 2026 17:22:23 +0530 Subject: [PATCH 2/2] bump up the version --- plugins/TPDBMarkers/TPDBMarkers.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/TPDBMarkers/TPDBMarkers.yml b/plugins/TPDBMarkers/TPDBMarkers.yml index f6fcf52d..e0e51d13 100644 --- a/plugins/TPDBMarkers/TPDBMarkers.yml +++ b/plugins/TPDBMarkers/TPDBMarkers.yml @@ -1,6 +1,6 @@ name: The Porn DB Markers description: Sync Markers from The Porn DB aka theporndb.net -version: 0.4.3 +version: 0.4.4 url: https://discourse.stashapp.cc/t/the-porn-db-markers/1335 exec: - python