rechigo 364 Posted March 26, 2020 Posted March 26, 2020 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
rechigo 364 Posted March 27, 2020 Author Posted March 27, 2020 @@Luke one more thing - where would I be able to find the ServerId?
chef 3810 Posted March 27, 2020 Posted March 27, 2020 (edited) System/Info has ID in it Which might be the same as "IServerApplicationHost" systemId Edited March 27, 2020 by chef 1
rechigo 364 Posted March 27, 2020 Author Posted March 27, 2020 (edited) 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 March 27, 2020 by rechigo 1
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