blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.69k stars 307 forks source link

[Request] Limiter to work on playlists. #390

Closed XenoKie closed 10 months ago

XenoKie commented 1 year ago

For limiter, it doesn't seem to work on a playlist with multiple shows. Every new show that plays, it would count as 0 watched unless the same show plays multiple times. It would be nice if it would be possible to somehow register the episodes played to count towards the limit in a playlist by using the session ID. In the attachments you can see that the episode count goes back to 0 when it plays a different show. Untitled1 Untitled

blacktwin commented 10 months ago

Sounds like this example should work.

XenoKie commented 9 months ago

I am using this for the script, not sure what I am doing wrong. If their Playlist has multiple shows, it doesn't stop after 3 plays. Do I use --jbop watch instead?

--jbop limit --username {username} --sessionId {session_id} --grandparent_rating_key {grandparent_rating_key} --limit plays=3 --delay 3 --killMessage "Are you still there?"