{"action":"created","issue":{"url":"https://api.github.com/repos/Arn-O/py-kodi-remote-controller/issues/35","labels_url":"https://api.github.com/repos/Arn-O/py-kodi-remote-controller/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/Arn-O/py-kodi-remote-controller/issues/35/comments","events_url":"https://api.github.com/repos/Arn-O/py-kodi-remote-controller/issues/35/events","html_url":"https://github.com/Arn-O/py-kodi-remote-controller/issues/35","id":72836967,"number":35,"title":"play_album went wrong","user":{"login":"kavod","id":5834316,"avatar_url":"https://avatars.githubusercontent.com/u/5834316?v=3","gravatar_id":"","url":"https://api.github.com/users/kavod","html_url":"https://github.com/kavod","followers_url":"https://api.github.com/users/kavod/followers","following_url":"https://api.github.com/users/kavod/following{/other_user}","gists_url":"https://api.github.com/users/kavod/gists{/gist_id}","starred_url":"https://api.github.com/users/kavod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kavod/subscriptions","organizations_url":"https://api.github.com/users/kavod/orgs","repos_url":"https://api.github.com/users/kavod/repos","events_url":"https://api.github.com/users/kavod/events{/privacy}","received_events_url":"https://api.github.com/users/kavod/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-03T17:26:29Z","updated_at":"2015-05-03T19:50:36Z","closed_at":null,"body":"````\r\n(Kodi (OpenELEC)) play_album\r\nDEBUG:root:call function do_play_album\r\nDEBUG:root:call function parse_single_int\r\nINFO:root:no album id provided\r\nAlbum 934 will be played\r\nDEBUG:root:call function playlist_clear\r\nDEBUG:root:call call_api_http\r\nDEBUG:root:command: {'params': {'playlistid': 0}, 'jsonrpc': '2.0', 'method': 'Playlist.Clear', 'id': 1}\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.10\r\nDEBUG:requests.packages.urllib3.connectionpool:\"POST /jsonrpc HTTP/1.1\" 200 38\r\nDEBUG:root:url: http://192.168.0.10:8080/jsonrpc\r\nDEBUG:root:status code: 200\r\nDEBUG:root:text: {\"id\":1,\"jsonrpc\":\"2.0\",\"result\":\"OK\"}\r\nDEBUG:root:call display_result\r\nINFO:root:command processed successfully\r\nDEBUG:root:call function playlist_add\r\nDEBUG:root:call call_api_http\r\nDEBUG:root:command: {'params': {'item': {'albumid': 934}, 'playlistid': 0}, 'jsonrpc': '2.0', 'method': 'Playlist.Add', 'id': 1}\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.10\r\nDEBUG:requests.packages.urllib3.connectionpool:\"POST /jsonrpc HTTP/1.1\" 200 76\r\nDEBUG:root:url: http://192.168.0.10:8080/jsonrpc\r\nDEBUG:root:status code: 200\r\nDEBUG:root:text: {\"error\":{\"code\":-32602,\"message\":\"Invalid params.\"},\"id\":1,\"jsonrpc\":\"2.0\"}\r\nDEBUG:root:call display_result\r\nERROR:root:too bad, something went wrong\r\nDEBUG:root:call function player_open\r\nDEBUG:root:call call_api_http\r\nDEBUG:root:command: {'params': {'item': {'playlistid': 0}}, 'jsonrpc': '2.0', 'method': 'Player.Open', 'id': 1}\r\nINFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 192.168.0.10\r\nDEBUG:requests.packages.urllib3.connectionpool:\"POST /jsonrpc HTTP/1.1\" 200 38\r\nDEBUG:root:url: http://192.168.0.10:8080/jsonrpc\r\nDEBUG:root:status code: 200\r\nDEBUG:root:text: {\"id\":1,\"jsonrpc\":\"2.0\",\"result\":\"OK\"}\r\nDEBUG:root:call display_result\r\nINFO:root:command processed successfully\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/Arn-O/py-kodi-remote-controller/issues/comments/98530732","html_url":"https://github.com/Arn-O/py-kodi-remote-controller/issues/35#issuecomment-98530732","issue_url":"https://api.github.com/repos/Arn-O/py-kodi-remote-controller/issues/35","id":98530732,"user":{"login":"Arn-O","id":3259119,"avatar_url":"https://avatars.githubusercontent.com/u/3259119?v=3","gravatar_id":"","url":"https://api.github.com/users/Arn-O","html_url":"https://github.com/Arn-O","followers_url":"https://api.github.com/users/Arn-O/followers","following_url":"https://api.github.com/users/Arn-O/following{/other_user}","gists_url":"https://api.github.com/users/Arn-O/gists{/gist_id}","starred_url":"https://api.github.com/users/Arn-O/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arn-O/subscriptions","organizations_url":"https://api.github.com/users/Arn-O/orgs","repos_url":"https://api.github.com/users/Arn-O/repos","events_url":"https://api.github.com/users/Arn-O/events{/privacy}","received_events_url":"https://api.github.com/users/Arn-O/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T19:50:35Z","updated_at":"2015-05-03T19:50:35Z","body":"The id 934 does not exist:\r\n\r\n```\r\n(Kodi (OpenELEC)) albums_page 18\r\n\r\n01. The Legendary Edith Piaf by Edith Piaf (0) [914]\r\n02. Tostaky by Noir Désir (1992) [915]\r\n03. Jacques Brel - De 24 Grootste by Jacques Brel (2001) [919]\r\n04. Enfantillages by Aldebert (2008) [929]\r\n05. 1970 à 1978 by Claude Francois (1977) [936]\r\n06. LE TEMPS DES COPAINS by FRANCE GALL_CLAUDE FRANCOIS (0) [937]\r\n07. Unis Vers L'Uni by Michel Jonasz (1985) [971]\r\n08. Pirate Live 2002 by Jean-Jacques Goldman (2002) [1091]\r\n09. Un tour ensemble by Jean-Jacques Goldman (2003) [1092]\r\n10. Douze fois par an by Jeanne Cherhal (2004) [1093]\r\n\r\nTotal number of albums: 1127\r\n```\r\n\r\nSo for this library, the ``album_id`` is not the index in the albums array.\r\n"}}