JSON-RPC (JSON Remote Procedure Call) interface protocol in development for XBMC

  Thread Rating:
  • 7 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Mizaki Offline
Fan
Posts: 662
Joined: Apr 2011
Reputation: 12
Post: #1861
I see there are some PRs which look good. I didn't see anything about playlists. Is that still on your radar?

The other thing (which I'll make a feature request for if you think it's doable) is getting the library in small chunks (5, 10 etc. items). As I've mentioned before people with low(er) powered PCs with large libraries can take a long (I'm guessing 15 seconds +) time to retrieve. I guess the DB query is the thing that takes the time so the only way to grab small chunks would be without sorting. Without sorting though it does limit how useful it would be.

I'm wondering if you think it's even possible atm?

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
find quote
joethefox Offline
Team-XBMC Member
Posts: 930
Joined: Nov 2010
Reputation: 15
Post: #1862
Hi all,
there a remote procedure call to obtain what user has chosen for the "Ignore article when sorting"?

Settings>Appearance>File Lists>Ignore article when sorting (e.g. "the") : ON/OFF
find quote
grywnn Offline
Donor
Posts: 379
Joined: Mar 2010
Reputation: 0
Location: Germany
Post: #1863
Hi there,
is it by design that VideoLibrary.getEpisodes prepends season and episode number in the label?
For example, GoTs awesome first episode of season two is labeled "The North Remembers", but using JSON i get "label": "2x01. The North Remembers".
Which looks pretty odd in listings because my application does its own numbering.
I've check my databse: This isn't a scraper issue. Episode names in the database are clear.

Nearly forgot:
git20120402 PVR build
(This post was last modified: 2012-04-07 09:17 by grywnn.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #1864
Yes, that's by design. Use the title field if you don't want it. The label field is an aggregate field that XBMC sets to a sensible default.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
N3MIS15 Offline
Fan
Posts: 460
Joined: Jul 2010
Reputation: 12
Location: Melbourne, VIC
Post: #1865
Montellese, are you planning on including thumbnail/fanart params to your FooLibrary.Set pull request? If so, are you also planning on making the remote images stored in the database available thru jsonrpc?

Also, while on the subject. I have been unable to change a movie set. I can only append, is there a way to replace or remove? Its quite possible im just doing something wrong, im fairly new to coding.
(This post was last modified: 2012-04-08 08:40 by N3MIS15.)
find quote
doozer Offline
Junior Member
Posts: 32
Joined: Jun 2011
Reputation: 0
Post: #1866
Hi All,

I'm using Playlist.GetItems to pull down the currently queued songs. This is working fine. I just tried doing a similar thing to get a list of queued movies. This also works, but I don't seem to be able to include the "movieid" value in the list. Is there a way to obtain a list of queued movies and their corresponding Library id?

Thanks,
Matt.
find quote
joethefox Offline
Team-XBMC Member
Posts: 930
Joined: Nov 2010
Reputation: 15
Post: #1867
Hi,
As well as MusicLibrary.GetAlbums where you can filter by artistid or genreid, there is a way to filter by genreid or actorid (castid?) when calling VideoLibrary.GetMovies or VideoLibrary.GetTVShows? Thank you for any answer.
(This post was last modified: 2012-04-09 09:31 by joethefox.)
find quote
Mizaki Offline
Fan
Posts: 662
Joined: Apr 2011
Reputation: 12
Post: #1868
(2012-04-09 09:15)joethefox Wrote:  Hi,
As well as MusicLibrary.GetAlbums where you can filter by artistid or genreid, there is a way to filter by genreid or actorid (castid?) when calling VideoLibrary.GetMovies or VideoLibrary.GetTVShows? Thank you for any answer.

http://trac.xbmc.org/ticket/12147 for genreid. castid and castid

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
(This post was last modified: 2012-04-09 15:19 by Mizaki.)
find quote
joethefox Offline
Team-XBMC Member
Posts: 930
Joined: Nov 2010
Reputation: 15
Post: #1869
thanks for the link, so we just have patience
(This post was last modified: 2012-04-09 17:38 by joethefox.)
find quote
Mizaki Offline
Fan
Posts: 662
Joined: Apr 2011
Reputation: 12
Post: #1870
Yep. I was going to try and do it manually for movies but I did other things instead Smile

[Image: watched-clearlogo.jpg]
AWXi - Ajax web interface. Wiki
find quote
Post Reply