Jump to content

Filter IsResumable vs Resume


Recommended Posts

quickmic
Posted (edited)

Hello

Can somebody explain the difference between using:

/Users/{UserId}/Items

with filter parameter IsResumable

and using:

/Users/{UserId}/Items/Resume

They return different results in my testcase. (e.g. for episodes).

Thanks

Edited by quickmic
Posted

Hi.  Items/Resume is the "Continue Watching" end point so it is only going to return the next up episode for each series (which probably doesn't even have a resume point itself).

Your other call will return anything with a resume point.

So, yes, very different usage.

  • Thanks 1
quickmic
Posted (edited)
10 minutes ago, ebr said:

Hi.  Items/Resume is the "Continue Watching" end point so it is only going to return the next up episode for each series (which probably doesn't even have a resume point itself).

Your other call will return anything with a resume point.

So, yes, very different usage.

So, theoretically Items/Resume vs IsResumable is only different for TVShows/episodes. Movies etc. should return the same (or none) results for both. I'll check that.

EDIT:

Yes, identical for movies.

Edited by quickmic
Posted

Another difference is that the first is a raw filter. the second is a dedicated api that emby apps use to ensure that every app is displaying the same thing. It also incorporates any user or server settings that might affect the results, whereas the raw filter does not.

So use the second method ideally if you want to match Emby apps. Use the first if you want more control.

  • Like 1

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...