Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/TPDBMarkers/TPDBMarkers.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: The Porn DB Markers
description: Sync Markers from The Porn DB aka theporndb.net
version: 0.4.4
version: 0.4.5
url: https://discourse.stashapp.cc/t/the-porn-db-markers/1335
exec:
- python
Expand Down
4 changes: 4 additions & 0 deletions plugins/TPDBMarkers/tpdbMarkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ def getTag(name):


def processScene(scene):
if scene is None:
# The hook queues a task by scene id; the scene may be deleted before it runs.
log.debug("Scene not found, it may have been deleted; skipping")
return
getTag("[TPDBMarker]")
for sid in scene["stash_ids"]:
if sid["endpoint"] == TPDB_ENDPOINT:
Expand Down
Loading