Posts: 444
Joined: Apr 2011
Reputation:
3
I noticed that when items are removed from the library there is a VideoLibrary.OnRemove but when they are added there is a more generic VideoLibrary.OnUpdate, is there any reason why there isn't a VideoLibrary.OnAdd notification for this case?
Posts: 444
Joined: Apr 2011
Reputation:
3
Also, when I receive a VideoLibrary.OnRemove I can't really do anything as the id that it points to has already been removed and as such I can't get any info about what was removed.
Posts: 578
Joined: Sep 2007
Reputation:
6
Hi,
Just to validate, VideoLibrary.GetMovieSets will return only the sets that have at least 2 movies assigned. Right ?
I believe it's a an XBMC standard behavior.
Can anyone confirm ?
Thanks
/
Posts: 63
Joined: Oct 2010
Reputation:
0
I noticed a difference between the AudioLibrary and VideoLibrary namespaces with a fresh XBMC instance without any database for video or audio. VideoLibrary.GetTVShows as well as GetSeasons and GetEpisodes nicely return a result object flagging there are no TV shows. However, AudioLibrary.GetArtists or GetAlbums, GetSongs return a result object being "null".
Is this deliberate? Maybe nobody noticed it, so I just wanted to share my experience. It's of course easy to guard against, but I thought maybe XBMC's JSON-RPC interface would or should always return a non-null result object for valid requests.
Thanks
Posts: 7
Joined: Mar 2011
Reputation:
0
I developed a heads-up version of control for XBMC (HTTP) within the AMX world sometime ago and have been using it with multiple clients for well over a year now. Lately I've been messing around with the JSON protocol in an attempt to create a head-less version of the module, and so far I like what I see however I do have some concerns/requests.
For instance when doing a GetDirectories it would be great to have a parameter that allows to request only directories, only files, or both. Currently the response is rather clunky.
I can also offer insight to what a typical AV client/server solution would include in terms of protocol (queries, system calls, etc).
I feel that the XBMC environment is nothing short of amazing, however from a high-end AV integration stand point it appears a bit stunted. My connections within this forum are none existant as I've only recently posted much of anything, however moving forward I would love to make a larger contribution. That said if there are any persons working within the development environment who would like to team up in this effort please let me know.