Jump to content


Photo

3.6 api breaking changes


  • Please log in to reply
110 replies to this topic

#101 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113292 posts
  • Local time: 01:32 AM

Posted 17 December 2018 - 05:21 PM

It is only true if it is a repeat.



#102 Vicpa OFFLINE  

Vicpa

    Advanced Member

  • Alpha Testers
  • 1368 posts
  • Local time: 01:32 AM
  • LocationWest Chester, Pa. USA

Posted 17 December 2018 - 05:51 PM

Thanks for bearing with me  :)

 

"It is only true if it is a repeat."  That I understand (I think)

 

The real question is what is the logic to flag a show as being new. 

 

in 3.5.3 it looks like if IsRepeat was null and IsSeries is true, Then the show was "New"

 

the 3.6.x logic is different.



#103 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113292 posts
  • Local time: 01:32 AM

Posted 17 December 2018 - 06:38 PM

In 3.5 and below, the server always automagically decided that something was a repeat if it wasn't New. However, i have since learned that these are two independent data fields, and so now in 3.6, a show is only a repeat if the guide data says that it is.



#104 Angelblue05 OFFLINE  

Angelblue05

    Post-your-log to the rescue!

  • Developers
  • 12244 posts
  • Local time: 12:32 AM

Posted 30 December 2018 - 06:54 PM

@Luke

 

What is the verdict for Mixed Libraries with 3.6? Are series no longer supported for it? If so, I need to change how Kodi treats that library.

 

OP

https://emby.media/c...ction/?hl=mixed



#105 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113292 posts
  • Local time: 01:32 AM

Posted 30 December 2018 - 09:20 PM

There shouldn't be any change. Hopefully we'll get to the bottom of that. Thanks.


  • Angelblue05 likes this

#106 null_pointer OFFLINE  

null_pointer

    Advanced Member

  • Developers
  • 5173 posts
  • Local time: 05:32 PM

Posted 31 December 2018 - 06:52 PM

Is GroupItems=true broken?

{server}/emby/Users/{userid}/Items/Latest?GroupItems=true&IncludeItemTypes=Episode

EDIT:
But i does look like it is working if I have a ?ParentId= in the query.

Edited by null_pointer, 31 December 2018 - 07:03 PM.


#107 Vicpa OFFLINE  

Vicpa

    Advanced Member

  • Alpha Testers
  • 1368 posts
  • Local time: 01:32 AM
  • LocationWest Chester, Pa. USA

Posted 11 January 2019 - 02:48 PM

In 3.5 and below, the server always automagically decided that something was a repeat if it wasn't New. However, i have since learned that these are two independent data fields, and so now in 3.6, a show is only a repeat if the guide data says that it is.

 

Hi @Luke

 

Still trying to wrap my head around this.

 

Bottom Line How do I determine  if a TV show is New?

 

the apiclient. has..

isRepeat

isLive

isPremiere

isSeries

 

 

Missing from that is an "isNew" 



#108 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113292 posts
  • Local time: 01:32 AM

Posted 11 January 2019 - 02:53 PM

Here is some javascript logic that will support both old and new servers:

 

https://github.com/M...de.js#L579-L581

Please note the c# apiclient is a bit out of date and doesn't yet have the IsNew property.


  • Vicpa likes this

#109 7illusions OFFLINE  

7illusions

    Advanced Member

  • Developers
  • 2070 posts
  • Local time: 07:32 AM
  • LocationGothenburg, Sweden

Posted 11 January 2019 - 05:49 PM

Thanks @Luke, I will be spending next week in the US and will have plenty of Jetlag-time and airport-time to spend on fixing the major issues in Ember. :)
From your point of view, what are the most important things that needs to be fixed in the c# apiclient for 3.6?
  • Vicpa likes this

#110 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 113292 posts
  • Local time: 01:32 AM

Posted 11 January 2019 - 05:51 PM

I'll have to dive into it before i can really answer that. I'll try to do that over the next few days. thanks.



#111 7illusions OFFLINE  

7illusions

    Advanced Member

  • Developers
  • 2070 posts
  • Local time: 07:32 AM
  • LocationGothenburg, Sweden

Posted 11 January 2019 - 06:14 PM

Thanks!
On another topic, is there anyone around here that is living/working in the Bay area? I'll be mostly in Mountain View and Sunnyvale during the week and if anyone would like to grab a burger and a beer.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users