ソースを参照

New unwatched URL for Plex 0.9.9.13 and later (and a few earlier releases -- sorry for the version dependency. I have already complained to the mgmt.)

Zachary Kotlarek 12 年 前
親
コミット
2c7e87ad4d
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      pms/PMSCheck.sh

+ 1 - 1
pms/PMSCheck.sh

@@ -49,7 +49,7 @@ while [ $LOOP -ne 0 ]; do
 	# Ask Plex for a list of unwatched TV series
 	# Ask Plex for a list of unwatched TV series
 	UNWATCHED_TIMEOUT=$(( $CURL_TIMEOUT ))
 	UNWATCHED_TIMEOUT=$(( $CURL_TIMEOUT ))
 	if [ -z "${FAILED}" ]; then
 	if [ -z "${FAILED}" ]; then
-		UNWATCHED_URL="${PMS_URL}library/sections/${UNWATCHED_SECTION}/all?unwatchedLeaves=1"
+		UNWATCHED_URL="${PMS_URL}library/sections/${UNWATCHED_SECTION}/all?type=2&unwatched=1&sort=titleSort:asc&X-Plex-Container-Start=0&X-Plex-Container-Size=10000"
 		TRY=1
 		TRY=1
 		FAILED="Too few unwatched series"
 		FAILED="Too few unwatched series"
 		while [ $TRY -le $UNWATCHED_RETRIES ] && [ -n "${FAILED}" ]; do
 		while [ $TRY -le $UNWATCHED_RETRIES ] && [ -n "${FAILED}" ]; do