I am trying to get a list of all photos (actually their aspect ratio) in my Photo library- using Python and the API. I can get the info I need, in a browser, by using: localhost:32400/library/sections/2/year/2015 and the resulting xml shows various tags, including aspectRatio.
But how can I duplicate this using the API? I don’t think year is an attribute of the Photo section as
photos = plex.library.section(‘Photos’).year fails.
Or can I just use urllib.request and do a request/read?