jasondove 0 Posted April 22, 2022 Share Posted April 22, 2022 I'm working on synchronizing collections from Emby to another system, and while additions to a collection correctly change the collection's etag, removing an item from the collection does not. For example: Check the etag for an existing collection (e.g. AAA) Add an item to the collection Check the etag on the collection; now BBB Remove the item from the collection Check the etag on the collection; still BBB Ideally, the etag would be updated whenever the collection is modified. Link to comment Share on other sites More sharing options...
Abobader 2934 Posted April 22, 2022 Share Posted April 22, 2022 Hello jasondove, ** This is an auto reply ** Please wait for someone from staff support or our members to reply to you. It's recommended to provide more info, as it explain in this thread: Thank you. Emby Team Link to comment Share on other sites More sharing options...
Happy2Play 8144 Posted April 22, 2022 Share Posted April 22, 2022 Not sure I follow as I don't see any item tags in Collection. I am guessing you are referring to Genres as the additional genre of an item is not automatically remove from the Collection when item is removed, unlike when item it is added. Requiring the Collection to be Refreshed to remove Genre. @Luke Doing a Refresh all or Search for missing on the Collection will remove the rogue genre. Link to comment Share on other sites More sharing options...
jasondove 0 Posted April 22, 2022 Author Share Posted April 22, 2022 To clarify, I am using the API and `Etag` is an additional field that can be returned from the `/Items` endpoint. My understanding is that an Etag is supposed to change whenever the resource (in this case the collection) changes. Unfortunately it only appears to be changing when adding items to a collection and not when removing them. Link to comment Share on other sites More sharing options...
jasondove 0 Posted April 29, 2022 Author Share Posted April 29, 2022 Perhaps this would be better suited to the Developer API section? Link to comment Share on other sites More sharing options...
Luke 36886 Posted May 20, 2022 Share Posted May 20, 2022 It's here. It's on my to do list for review. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now