{"action":"opened","issue":{"url":"https://api.github.com/repos/Sonarr/Sonarr/issues/895","labels_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/895/labels{/name}","comments_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/895/comments","events_url":"https://api.github.com/repos/Sonarr/Sonarr/issues/895/events","html_url":"https://github.com/Sonarr/Sonarr/issues/895","id":113223012,"number":895,"title":"Torrents with incorrect dictionaries","user":{"login":"Taloth","id":6383890,"avatar_url":"https://avatars.githubusercontent.com/u/6383890?v=3","gravatar_id":"","url":"https://api.github.com/users/Taloth","html_url":"https://github.com/Taloth","followers_url":"https://api.github.com/users/Taloth/followers","following_url":"https://api.github.com/users/Taloth/following{/other_user}","gists_url":"https://api.github.com/users/Taloth/gists{/gist_id}","starred_url":"https://api.github.com/users/Taloth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taloth/subscriptions","organizations_url":"https://api.github.com/users/Taloth/orgs","repos_url":"https://api.github.com/users/Taloth/repos","events_url":"https://api.github.com/users/Taloth/events{/privacy}","received_events_url":"https://api.github.com/users/Taloth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sonarr/Sonarr/labels/priority:medium","name":"priority:medium","color":"fad8c7"},{"url":"https://api.github.com/repos/Sonarr/Sonarr/labels/suboptimal","name":"suboptimal","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-25T12:25:07Z","updated_at":"2015-10-25T12:25:07Z","closed_at":null,"body":"Some torrents don't follow the standard when it comes to dictionary encoding.\r\n\r\nInternally monoTorrent has a flag, but it means we have to jump through a few hoops to load the torrent.\r\n\r\nhttps://github.com/Sonarr/Sonarr/blob/develop/src/MonoTorrent/Torrent.cs#L705-L707\r\n\r\nNeed to dupe that code and call `BEncodedDictionary.Decode(new RawReader(stream, false))` Ugly hacks."}}