2019-04-01, 21:23
Hi
I try to wipe/clear sets like "art","uniqueid" or "ratings" via JSON, e.g. ratings for an episode. If I sync a bunch of ratings like
I have not found a way to delete existing rating entries. For uniqueid it works if I send a "null" value like
IMO existing entires should be removed automatically with each new "SetXYDetails" JSON command if a set has an entry. Also it should be possible to clean a whole set without reading existing entries.
I try to wipe/clear sets like "art","uniqueid" or "ratings" via JSON, e.g. ratings for an episode. If I sync a bunch of ratings like
new ratings will be added and already existing will be overwritten, but all the others who not are in the "new" list will not be removed.json:{"episodeid":37,"ratings":{"imdb":{"rating":8.5,"votes":44444},"themoviedb":{"rating":7.7,"votes":20}}}
I have not found a way to delete existing rating entries. For uniqueid it works if I send a "null" value like
but for that first I've to get a list of all existing entries via "GetEpisodeDetails", then I've to add the not in new list existing entries with a "null" value only to clean no longer valid IDs from that list. Same for "art" entries.json:{"episodeid":37,"uniqueid":{"imdb":null,"themoviedb":"45578"}}
IMO existing entires should be removed automatically with each new "SetXYDetails" JSON command if a set has an entry. Also it should be possible to clean a whole set without reading existing entries.