Hi, it is a very needed feature especially when you fall asleep leaving the thing running for hours, so I am very glad you started a solution.
However the current parameters are a bit tricky. Currently they seem to focus too much on the count of episodes and this can be difficult to have consistency especially when some series have episodes lasting 20 minutes and some others have them lasting for around an hour.
My personal suggestion would be to shift the entire method similarly to Netflix, which is solely based on time instead of episode count. It will follow the logic something like this:
MOVIES_ONLY = False
EPISODES_ONLY = True
MAXIMUM_PLAYTIME_ALLOWED = 120 (minutes)
-
Playback Started, IF 120 minutes passed and no webhook Playback Stop is recorded within the stipulated 120 minutes, media will be stopped at the end of the current episode.
-
Playback Started, IF within 120 minutes webhook Playback Stop is recorded, timer will reset back to value of 120 minutes.
Let me know what do you think.
Hi, it is a very needed feature especially when you fall asleep leaving the thing running for hours, so I am very glad you started a solution.
However the current parameters are a bit tricky. Currently they seem to focus too much on the count of episodes and this can be difficult to have consistency especially when some series have episodes lasting 20 minutes and some others have them lasting for around an hour.
My personal suggestion would be to shift the entire method similarly to Netflix, which is solely based on time instead of episode count. It will follow the logic something like this:
MOVIES_ONLY = False
EPISODES_ONLY = True
MAXIMUM_PLAYTIME_ALLOWED = 120 (minutes)
Playback Started, IF 120 minutes passed and no webhook Playback Stop is recorded within the stipulated 120 minutes, media will be stopped at the end of the current episode.
Playback Started, IF within 120 minutes webhook Playback Stop is recorded, timer will reset back to value of 120 minutes.
Let me know what do you think.