Hummingbird v1

חינם
על ידי vikhyat | מְעוּדכָּן 1ヶ月前 | Entertainment
פּוֹפּוּלָרִיוּת

5.3 / 10

חֶבִיוֹן

109ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

Episodes watched count is always one ahead.

Rapid account: Richardr
richardr
10年前

If I set the episodes watched count via the API, it is always one ahead on the site.

So if I set it to 1 then on the site it shows 2, if I set it to 0 it shows 1 and -1 shows 0.

Working around it at an application level right now but it would be nice if what we set would be what shows up.

Rapid account: Inket
inket Commented 10年前

Yep. I just tested it. Seems the value of the parameter ‘increment_episodes’ isn’t taken into account. As long as the parameter exists it’ll increment episodes_watched’s value. Considering it’s an optional parameter, it’s not a big issue… but it’s still broken.

I tested with the values: 0, 1, “0”, “1,”, true, false, “true”, “false”, “”, nil.

Rapid account: Kbkarma
kbkarma Commented 10年前

+1

Rapid account: Inket
inket Commented 10年前

+1

Rapid account: Vikhyat
vikhyat Commented 10年前

I have fixed the behavior of increment_episodes, which should fix this issue. Let me know if it is fine now.

Rapid account: Richardr
richardr Commented 10年前

Very sure, even tested it using the form on the documentation tab and it is definitely set to false.

Rapid account: Inket
inket Commented 10年前

Are you sure you’re not setting ‘increment_episodes’ parameter to true ?

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות