2010-11-19, 15:41
Hi all,
I have a couple of questions about the best method of getting information of what's in a user's library.
Right now, I can get a list of all movies in a library with the title and year through the JSON interface. This works as an addon, but the downside I see is that the user has to enable their web interface so I can query it.
1) Is there a way to get a list of media contents without having to enable the web interface?
Also, I'm looking to resend data when the library's contents have changed.
2) Is there a way to see when a library update has been triggered?
I suppose the easiest way would be to regularly query the count of items in the library and then resend if there was a change, but there is the case that the user removed 3 old movies, added 3 new ones, and the update wouldn't trigger then.
Thanks for any help!
I have a couple of questions about the best method of getting information of what's in a user's library.
Right now, I can get a list of all movies in a library with the title and year through the JSON interface. This works as an addon, but the downside I see is that the user has to enable their web interface so I can query it.
1) Is there a way to get a list of media contents without having to enable the web interface?
Also, I'm looking to resend data when the library's contents have changed.
2) Is there a way to see when a library update has been triggered?
I suppose the easiest way would be to regularly query the count of items in the library and then resend if there was a change, but there is the case that the user removed 3 old movies, added 3 new ones, and the update wouldn't trigger then.
Thanks for any help!