{"comment":{"url":"https://api.github.com/repos/FernetMenta/xbmc/comments/16048042","html_url":"https://github.com/FernetMenta/xbmc/commit/b6ab100793f395c51e26129e240a9296ece5a089#commitcomment-16048042","id":16048042,"user":{"login":"mapfau","id":12764616,"avatar_url":"https://avatars.githubusercontent.com/u/12764616?v=3","gravatar_id":"","url":"https://api.github.com/users/mapfau","html_url":"https://github.com/mapfau","followers_url":"https://api.github.com/users/mapfau/followers","following_url":"https://api.github.com/users/mapfau/following{/other_user}","gists_url":"https://api.github.com/users/mapfau/gists{/gist_id}","starred_url":"https://api.github.com/users/mapfau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mapfau/subscriptions","organizations_url":"https://api.github.com/users/mapfau/orgs","repos_url":"https://api.github.com/users/mapfau/repos","events_url":"https://api.github.com/users/mapfau/events{/privacy}","received_events_url":"https://api.github.com/users/mapfau/received_events","type":"User","site_admin":false},"position":47,"line":87,"path":"xbmc/addons/InputStream.cpp","commit_id":"b6ab100793f395c51e26129e240a9296ece5a089","created_at":"2016-02-11T23:03:33Z","updated_at":"2016-02-11T23:03:33Z","body":"an examle:\r\n1.) Somebody builds a video addon for playing dash videos which are not encrypted and need no license keys at all). His addon doesn't pass any license keys and the inputstream.mpd knows from absense of the keys that no decrypting should be done. inputstream.mpd simply reads the dash file and passes packets.\r\n\r\n2.) Sombody else writes an video addon for mpd files with a known key. He passes the license key through ListItem and inputstream.mpd addon knows that the data comes encrypted and has to be decrypted using the key passed. inputstream.mpd does the same as on 1.), but decrypts the packets befor sending to kodi.\r\n\r\nThere are plenty of different decrypting mechanism available, because of this I need a licensetype and a license key.\r\n\r\nNo keys / no type given means: do not decrypt at all."}}