Guest Koda Posted April 29, 2020 Posted April 29, 2020 Hi I try to change a plugin where use the emby API. In this I have @SerializedName("Name") private String name; @SerializedName("OriginalTitle") private String originalTitle; My episodes name: S01E01 - My Title and from the api name is only My Title. Givs a change to output the Session and episode? Best regards Koda
Luke 40082 Posted April 29, 2020 Posted April 29, 2020 Hi, what are your ultimately trying to accomplish?
Guest Koda Posted April 29, 2020 Posted April 29, 2020 I have change the binding https://github.com/volfan6415/openHAB-EMBY for me. In this binding it givs a variable showtitle My Episode File: S01E01 - My Title showtitle has this Output: My Title I wish to have the output: S01E01 - My Title Or a new variable with the episode and season. But I don't know where in the API I found this value
Luke 40082 Posted April 29, 2020 Posted April 29, 2020 These fields might help: IndexNumber = episode number ParentIndexNumber = season number SeasonName SeriesName Name = episode title
Guest Koda Posted April 30, 2020 Posted April 30, 2020 @Luke: Thank you. This work. GIvs a list with all this parameters in NowPlayingItem? And givs options to get information for the serie? So I think how many episodes exist on this season or how many seasons exists?
Guest Koda Posted May 1, 2020 Posted May 1, 2020 (edited) I inserted the binding and changed all the options I wanted. Your options above were perfect. My question was generally if there is an overview of the available options of the API, and if there is a way to find out how many seasons the whole series has, and how many episodes the current season has. Sorry for my bad confused english Edited May 1, 2020 by Koda
Guest Koda Posted May 2, 2020 Posted May 2, 2020 (edited) Yes. I have look at http://swagger.emby.media/?staticview=true @@chef But I dont find the part where NowPlayingItem or seasonname and ParentIndexNumber is. I search this, that I understand how the binding work But in Swagger I don't see a nowPlayingItemService or so EDIT: OK. I see it is SessionService Edited May 2, 2020 by Luke
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