Indy1250 0 Posted March 7, 2022 Share Posted March 7, 2022 Hello. I been running some custom scripts to pull a listing of nextup episodes via the Emby Server API and it seem to no longer be working. In the Emby Dashboard on the server I go to the bottom of the screen and click "Api" This bring up the Swagger UI Go to TvShowsService the click Get on the /Shows/NextUp Click Try It out Fill in the UserID String (which can be found when you run the UserService Get /Users/Query) , scroll down and click This used to give me a listing of all the next up episodes that are shown in the Next up in emby. I noticed Next up was missing and I had to turn it back on in Emby. But now it's only give me this for output. See Response body. I'm showing the code that normally gives me the listing. Notice the TotalRecordCount : 0 Normally it spits out all the next up showings. I tried the /Shows/Upcoming command and it seems to work. As shown below Is anyone else having this issue with the Nextup command? Is there a new ContinueWatching Command but it's not listing in the Emby API/Swagger UI? More information I'm running Emby server on Unraid and have been for a few years now. I'm not entirely sure when this stopped working for me. I haven't installed any new plugins lately except for the Addicted.com and Open Subtitles. Please let me know if your having this issue as well or have a solution for me. Thank you so much Best regards Indy Link to comment Share on other sites More sharing options...
Happy2Play 8139 Posted March 7, 2022 Share Posted March 7, 2022 My guess it the change for LegacyNextUp, not seeing it in the api but if you add it to your script it should work. Pulled the query from my log with debug logging. (LegacyNextUp=true) Quote http://localhos:8096/emby/Shows/NextUp?LegacyNextUp=true&Fields=BasicSyncInfo,CanDelete,Container,PrimaryImageAspectRatio,SeriesInfo,DateCreated&UserId={userid}&ImageTypeLimit=1&EnableImageTypes=Primary,Backdrop,Banner,Thumb&Limit=200 Link to comment Share on other sites More sharing options...
Luke 36879 Posted March 7, 2022 Share Posted March 7, 2022 Correct. Going forward you would just use the continue watching api instead. Link to comment Share on other sites More sharing options...
chef 3744 Posted March 7, 2022 Share Posted March 7, 2022 3 hours ago, Luke said: Correct. Going forward you would just use the continue watching api instead. Ah, so that is what happened in my Alexa plugin. Good to know! Link to comment Share on other sites More sharing options...
Indy1250 0 Posted March 7, 2022 Author Share Posted March 7, 2022 Added that LegacyNextUp=True as Happy2Play said and it works again!! Thank you. Question. Where can I find the syntax for the Continue watching api in Swagger? It's not under TVShowsService or anywhere else that I can find? I asked about it in my original message but it was missed in my sea of SPAM. LOL Please let me know. Thanks Indy Link to comment Share on other sites More sharing options...
Happy2Play 8139 Posted March 8, 2022 Share Posted March 8, 2022 Pretty sure it would be /Users/{UserId}/Items/Resume based on the query the log shows. Link to comment Share on other sites More sharing options...
Indy1250 0 Posted March 9, 2022 Author Share Posted March 9, 2022 /Users/{UserID}/Items/Resume is the one I need! Thank you Happy2Play for clarification. Much appreciated! 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