Skip to content

Commit fccc449

Browse files
committed
debug: probe raw api response for date calculation fix
1 parent 921ce4b commit fccc449

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

main.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,14 @@ def sync_collections():
188188
logging.info(f"▶️ Verarbeite {len(media_list)} Items aus Kollektion '{coll_title}'...")
189189

190190
sortable_items = []
191+
# --- DEBUG SONDE START ---
192+
if media_list:
193+
test_item = media_list[0]
194+
logging.info("🔬 DEBUG-SONDE: Erster Gegenstand der Liste:")
195+
import json
196+
logging.info(json.dumps(test_item, indent=2))
197+
# --- DEBUG SONDE ENDE ---
198+
191199
for item in media_list:
192200
# Wir klappern alle möglichen Key-Namen ab, die Maintainerr nutzt
193201
plex_id = item.get("mediaServerId") or item.get("ratingKey") or item.get("id")

0 commit comments

Comments
 (0)