Jump to content

Emby Server API Swagger TvShowsService Shows/NextUp No longer working?


Indy1250
 Share

Recommended Posts

Indy1250

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

image.png.698db69e51e64de0cd5be9ec9bed8a66.png

Click Try It outimage.png.db7fb3f88362e91475136ce4e8194cd4.png

Fill in the UserID String (which can be found when you run the UserService Get /Users/Query) , scroll down and click image.png.aa0c2616fae5464f6b514de826e6154a.png

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.
image.thumb.png.71af0f48fbdae5f82e93911ce6dff62a.png

But now it's only give me this for output. See Response body. I'm showing the code that normally gives me the listing.
image.png.0a57285b90d4e2b3c7e4690cebff9322.png

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
image.png.dbef4f9bcad6f8b9c76f4d9802a46f36.png

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

Happy2Play

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

Correct. Going forward you would just use the continue watching api instead.

Link to comment
Share on other sites

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

Indy1250

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?
image.png.384ab522fb696bb0f4072ff663b38f88.png

I asked about it in my original message but it was missed in my sea of SPAM. LOL

Please let me know.

Thanks

Indy

image.png

Link to comment
Share on other sites

Happy2Play

Pretty sure it would be /Users/{UserId}/Items/Resume based on the query the log shows.

image.thumb.png.f8af089965214edee068f6e17fe80a28.png

Link to comment
Share on other sites

Indy1250

/Users/{UserID}/Items/Resume is the one I need!

Thank you Happy2Play for clarification. Much appreciated!

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...