Jump to content

Get library type of BaseItem


rechigo
Go to solution Solved by Luke,

Recommended Posts

rechigo

ok i have a baseitem and i need to get the type of library it is in (movies, tv, music)

 

there is a mediatype property but that gives me the type of media that it is (video, audio, etc) which isnt relevant because i need to discern between tv shows and movies

 

 

 

thanks

Link to comment
Share on other sites

chef

System/Info

 

has ID in it

 

Which might be the same as "IServerApplicationHost" systemId

Edited by chef
  • Like 1
Link to comment
Share on other sites

rechigo

System/Info

 

has ID in it

 

Which might be the same as "IServerApplicationHost" systemId

 

Got it, thanks. Had to use PublicSystemInfo which not only gives me the ID but a formatted wan address as well (less work for me)

Edited by rechigo
  • Like 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...