
Like context menu, go to home / video or such screens / info .... the actions that are mappable in keymaps.
Tolriq
Member+ Joined: Jun 2009 Reputation: 52 Location: France |
2012-02-09 19:12
Post: #1681
With basic i mean a little more than arrows
![]() Like context menu, go to home / video or such screens / info .... the actions that are mappable in keymaps. Yatse 2 : Media Center Remote Control for Touch Screens Yatse, the Xbmc Remote and Widgets for Android |
| find quote |
doozer
Junior Member Posts: 32 Joined: Jun 2011 Reputation: 0 |
2012-02-10 04:10
Post: #1682
Any chance Eden can be updated to send an unsolicited message when the user changes the "Repeat" setting (off/one/all) ?
Noticed in Eden Beta 3, changing this setting doesn't result in a Player.Repeat update being broadcast. Thanks, Matt.
(This post was last modified: 2012-02-10 05:47 by doozer.)
|
| find quote |
doozer
Junior Member Posts: 32 Joined: Jun 2011 Reputation: 0 |
2012-02-10 08:53
Post: #1683
Hi All,
Hoping an expert can weigh in here and tell me if i'm doing something wrong.. I am listing all Genres: Code: {"jsonrpc": "2.0", "method": "AudioLibrary.GetGenres", "params": {"properties": ["title"], "limits": { "start" : 0, "end" : 20 }, "sort": { "method" : "label", "order" : "ascending" }}, "id": "AudioLibrary.GetGenres"}Which results in: Code: {"id":"AudioLibrary.GetGenres","jsonrpc":"2.0","result":{"genres":[{"genreid":6,"label":"Alternative","title":"Alternative"},{"genreid":2,"label":"Hip-Hop","title":"Hip-Hop"},{"genreid":5,"label":"Punk","title":"Punk"},{"genreid":4,"label":"Rock","title":"Rock"},{"genreid":3,"label":"Unknown","title":"Unknown"}],"limits":{"end":5,"start":0,"total":5}}}Note that the "Alternative" genre has an ID of 6. I then request all Albums that fit this genre: Code: {"jsonrpc": "2.0", "method": "AudioLibrary.GetAlbums", "params": {"genreid": 6,"properties": ["artist","artistid","albumlabel","year","thumbnail","genre"], "limits": { "start" : 0, "end" : 20 }, "sort": { "method" : "label", "order" : "ascending" }}, "id": "AudioLibrary.GetAlbumsByGenre"}And get: Code: {"id":"AudioLibrary.GetAlbumsByGenre","jsonrpc":"2.0","result":{"albums":[{"albumid":9,"albumlabel":"WEA","artist":"Green Day","artistid":7,"genre":"Punk","label":"Dookie","thumbnail":"special://masterprofile/Thumbnails/Music/d/daca1175.tbn","year":1994},{"albumid":12,"albumlabel":"Reprise","artist":"Green Day","artistid":7,"genre":"Alternative","label":"Warning","thumbnail":"special://masterprofile/Thumbnails/Music/2/29036724.tbn","year":2000}],"limits":{"end":2,"start":0,"total":2}}}Notice how I get one album of genre "Punk" and one of "Alternative". Why? |
| find quote |
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2012-02-10 11:06
Post: #1684
doozer Wrote:Any chance Eden can be updated to send an unsolicited message when the user changes the "Repeat" setting (off/one/all) ?Same goes for shuffle and other settings. But I'm not gonna add any new stuff to the JSON-RPC API for Eden at this point in the release cycle. Please create a feature request ticket for it on trac so I won't forget once Eden is out. doozer Wrote:Hi All, I was confused at first as well but in general XBMC always operates on songs when using the audiolibrary so what it does when you retrieve all albums of a certain genre is it actually returns all albums which contain at least one song with that genre. So in you're case there should be at least one song in Green Day's Dookie album which has "Alternative" as a genre. 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. ![]() |
| find quote |
doozer
Junior Member Posts: 32 Joined: Jun 2011 Reputation: 0 |
2012-02-11 09:04
Post: #1685
Montellese Wrote:Same goes for shuffle and other settings. But I'm not gonna add any new stuff to the JSON-RPC API for Eden at this point in the release cycle. Please create a feature request ticket for it on trac so I won't forget once Eden is out. Will do. Ah, I see, it's on a per song basis, not a per album. Makes sense. Thanks. |
| find quote |
mikebzh44
Posting Freak Posts: 1,068 Joined: Nov 2011 Reputation: 19 Location: Nantes - France |
2012-02-11 18:19
Post: #1686
I'm using Files.GetDirectory for getting movies of a playlist :
Code: xbmc.executeJSONRPC('{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "special://profile/playlists/video/cartoons.xsp", "media": "video", "properties": ["originaltitle"], "sort": { "order": "descending", "method": "date" }}, "id": 1}')Code: {u'jsonrpc': u'2.0',How can I get movies from a playlist sorted by date ? |
| find quote |
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2012-02-11 18:24
Post: #1687
The sort method "date" does not mean the date the movie was added to the database. Those sort methods are a mess and very confusing (sorry for that) :-S
There's currently no way to automatically sort by date added. It was added to XBMC before the feature freeze but I didn't know about it and therefore it didn't make it into the JSON-RPC API for Eden. I'm not gonna change the API at this time anymore for Eden. But it will be available after Eden. 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. ![]() |
| find quote |
mikebzh44
Posting Freak Posts: 1,068 Joined: Nov 2011 Reputation: 19 Location: Nantes - France |
2012-02-11 18:33
Post: #1688
I was confused because before today, request seems to bo OK but today, I have completly rebuild my video data so every movies was added today.
I will see tomorrow, when I will add some new movies, what the request will return. |
| find quote |
mikebzh44
Posting Freak Posts: 1,068 Joined: Nov 2011 Reputation: 19 Location: Nantes - France |
2012-02-11 21:24
Post: #1689
When I am using VideoLibrary.GetRecentlyAddedMovies, I get only 25 movies but if I use VideoLibrary.GetMovies, I get 187 movies.
GetRecentlyAddedMovies is limited ? |
| find quote |
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2012-02-11 21:55
Post: #1690
Yes as the name suggests by containing "Recently"
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. ![]() |
| find quote |