JBOPS icon indicating copy to clipboard operation
JBOPS copied to clipboard

How to for sync_watch_status ?

Open Ltek opened this issue 2 years ago • 3 comments

I have read the script but its not very clear on the setup hoping someone can help...

Set Conditions: [{username} | {is} | {user_to_sync_from} ] Seems this argument cannot be put directly into "Condition Logic" as the instructions seem to imply. So, are we supposted to create a condition that selects from the drop-down menus 'Username' 'is' and enter {user_to_sync_from} in the 3rd box (which is text entry)?

Script Arguments:
 Select: Notify on Watched
 Arguments: --ratingKey {rating_key} --userFrom Tautulli=Tautulli --userTo "Username2=Server1" "Username3=Server1"

Which are the variables we need to change?

For instance, I have four users (MediaRoom, LivingRoom, Office, PlayRoom) and one server (Plex @ 192.168.2.60). Is this correct ...

--ratingKey {rating_key} --userFrom Tautulli=Tautulli --userTo "MediaRoom=Plex" "LivingRoom=Plex" "PlayRoom=Plex" "Office=Plex"

Ltek avatar Mar 29 '22 04:03 Ltek

image

If you Ltek watch something this script will execute, thus using your user's watch status to update the --userTo users.

--ratingKey {rating_key} --userFrom Tautulli=Tautulli --userTo "MediaRoom=Plex" "LivingRoom=Plex" "PlayRoom=Plex" "Office=Plex"

If Plex is the name of your server, then yes.

blacktwin avatar Apr 01 '22 04:04 blacktwin

@blacktwin thx for the help. I got past my errors using this...

Condition == Username is MediaRoom

Script Settings -> 'Watched' Script Arguments == --ratingKey {rating_key} --userFrom Tautulli=Tautulli --userTo "LivingRoom=Plex" "PlayRoom=Plex" "Office=Plex"

Wish there was a single Notification that could simply sync all Users 'watched status' :-(

Ltek avatar Apr 04 '22 01:04 Ltek

Just add more usernames to your condition.

blacktwin avatar Apr 08 '22 14:04 blacktwin