blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.71k stars 304 forks source link

limiterr.py applied for specific shows? #156

Closed nebbles closed 5 years ago

nebbles commented 5 years ago

Currently unsure how I could set the limiterr.py script to only allow one episode of a particular show to be viewed per day. So far:

--jbop limit --username {username} --sessionId {session_id} --grandparent_rating_key {grandparent_rating_key} --limit plays=1 --today --killMessage "only one episode a day!"

But unsure of how to apply this to only one show (I have gathered the necessary grandparent_rating_key from the logs for the desired show). Is the possible in its current form or would this be a feature request?

nebbles commented 5 years ago

I foolishly momentarily forgot about conditions...

blacktwin commented 5 years ago

Remember you can use the condition logic to group users with shows. Or just duplicate the agent and change the conditions, once you have one setup.