Jump to content

Checking Show Status in C#


roaku

Recommended Posts

roaku

I wanted to check the show status (Continuing/Ended in the medatdata editor) for a BaseItem and expected to see an actual Status field.

I couldn't find a Status field or any service that seemed able to provide it, but I did find BaseItem.EndDate.

In a very small sample set, EndDate appears to be null for continuing shows and has a value for ended shows.

Is this a reliable check for the Continuing/Ended status of a TV show?

Thanks

Link to comment
Share on other sites

Hi, if you cast the BaseItem to a Series, that will have a Status property. It won't be on the episode though.

  • Thanks 1
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
×
×
  • Create New...