Jump to content

Problem with setting "Played" using the ApiClient


VicMoore

Recommended Posts

VicMoore

I am using the following Api call to set  "Played"  true in an Emby object.

ApiClient.markPlayed( currentUserId, obj.Id )

The "currentUserId and obj.Id are both correct.  I keep getting the error message below.

image.png.16ea8a8d7a688818d39bb03c497724f1.png

I am sure it's something stupit that I am doing, but I can't figure out what it is.

Vic

Link to comment
Share on other sites

hi, this is expecting multiple ids, so make your obj.Id [obj.Id]

Link to comment
Share on other sites

VicMoore

Thank you so much...  

Vic

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...