talentless 2 Posted February 4, 2018 Posted February 4, 2018 (edited) Hello I have a setup where I use the emby endpoints /Library/[series,Movies]/Updated to notify emby about new media updates. After POSTING to these endpoints, the appropriate new media would appear in my emby library, This is not happening any longer. It's difficult for me to say since when, because unless I am paying attention, the periodic library scan would take care of it before I notice. Looking at the debug logs, I see of example: 2018-02-04 18:48:42.025 Info HttpServer: HTTP POST http://10.8.1.12:8096/mediabrowser/Library/Series/Updated?tvdbid=332331. UserAgent: Sonarr/2.0.0.5085 (osmc 2017.12-1) 2018-02-04 18:48:42.071 Info HttpServer: HTTP Response 204 to 10.8.1.12. Time: 47ms. http://10.8.1.12:8096/mediabrowser/Library/Series/Updated?tvdbid=332331 with no additional logging related to that event as if it were nothing to do. In this specific case, the endpoint was called after a new episode of a new series was added to the library path. I would expect that that new tvshow with that episode would appear in my library. Looking at Library/LibraryService.cs, it looks as if those endpoints purpose were to update existing items, but not to add new ones. So now I start to doubt the behavior that I described on the first paragraph, maybe that was never the case. So my question would be what is the proper endpoint to use to notify emby about new media? As in, a new movie or the first episode of a new tvshow added to the library path? Should I use the one that triggers a full library scan? Thanks. Edited February 4, 2018 by talentless
Luke 42085 Posted February 4, 2018 Posted February 4, 2018 Hi, switch to this: https://github.com/MediaBrowser/Emby/issues/3079
talentless 2 Posted February 4, 2018 Author Posted February 4, 2018 (edited) Trying to figure out what should be the payload format for that. Sorry, didn't read the complete thing. Edited February 4, 2018 by talentless
Luke 42085 Posted January 18, 2019 Posted January 18, 2019 We have submitted pull requests to both Sonarr and Radarr to help them update to the new library update API in Emby 4.0. Have fun !
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