{"action":"created","issue":{"url":"https://api.github.com/repos/jpd002/Play-/issues/254","labels_url":"https://api.github.com/repos/jpd002/Play-/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/jpd002/Play-/issues/254/comments","events_url":"https://api.github.com/repos/jpd002/Play-/issues/254/events","html_url":"https://github.com/jpd002/Play-/pull/254","id":96920008,"number":254,"title":"List filtering, Cover Saving, Serial ID identification, On Demand Description","user":{"login":"Thunder07","id":5013823,"avatar_url":"https://avatars.githubusercontent.com/u/5013823?v=3","gravatar_id":"","url":"https://api.github.com/users/Thunder07","html_url":"https://github.com/Thunder07","followers_url":"https://api.github.com/users/Thunder07/followers","following_url":"https://api.github.com/users/Thunder07/following{/other_user}","gists_url":"https://api.github.com/users/Thunder07/gists{/gist_id}","starred_url":"https://api.github.com/users/Thunder07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thunder07/subscriptions","organizations_url":"https://api.github.com/users/Thunder07/orgs","repos_url":"https://api.github.com/users/Thunder07/repos","events_url":"https://api.github.com/users/Thunder07/events{/privacy}","received_events_url":"https://api.github.com/users/Thunder07/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-07-23T22:42:25Z","updated_at":"2015-07-25T09:43:19Z","closed_at":"2015-07-24T06:30:23Z","pull_request":{"url":"https://api.github.com/repos/jpd002/Play-/pulls/254","html_url":"https://github.com/jpd002/Play-/pull/254","diff_url":"https://github.com/jpd002/Play-/pull/254.diff","patch_url":"https://github.com/jpd002/Play-/pull/254.patch"},"body":"hehe, I was hoping this would overwrite the other pull request.\r\n\r\nanyway, this contains all of my push with added list filtering (it won't list an image(elfs too), unless they're valid).\r\n\r\n1) Covers are saved (much faster loading on the next run and needs no connection)\r\n2) using the serial no, compared against db, I can find name and id (thegamedb ID)\r\nusing that ID I can request the cover from thegamedb, yielding more accurate results. (when serial is not matched, thus ID is missing, we'll still attempt to get cover using name)\r\n3) save game description too.(this is done the 1st time the image is loaded, or preview opened)\r\n4) parse thegamedb to sql and cross match for serials.\r\n5)Clean the code a bit more, there is alot of redundant functions, since I've used/recycled some of @LoungeKatt and also made my own, the re-adapted each to work together, I just pushed this to show progress\r\n6) filter invalid disk images.\r\n\r\n**Note**: this won't compile before you finish adding DiskUtils GetDisk**I**d, my implementation assumed the null method(can be changed if you decide with exception method, but if you look at it as it stands, it makes more sense returning null), I've also kept the I capital to match with function tryGetDiskId.\r\n\r\nAlso, you should return the serial as is without the ;1 (e.g SLES_XXX.XX), again all of that could be adjusted for, but since the db is this way, it's just more convenient (also milliseconds faster :P ).\r\n\r\n\r\nThere are still few things I'd like to do, but that would be for a future pull,\r\n0) restructure the code (it works perfectly as is, but definitely could be better)\r\n1) the current db will only match 1119 out of the 1600 (note each ID contains multiple serials for different rejions), I can match around an extra 250 with 90% accuracy, however, I'd like to them and the remaining manually, to make sure 100% of their accuracy.\r\n2) place a cross-matched db, instead doing it on the phone, @LoungeKatt has done that but his implimenation is different than mine.\r\n3) add cover clearing option. (@LoungeKatt has done that already)\r\n4) allow user to choose own cover. \r\n5) fuzzy search (won't really be needed once I'm done cross-matching the entire db)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jpd002/Play-/issues/comments/124826536","html_url":"https://github.com/jpd002/Play-/pull/254#issuecomment-124826536","issue_url":"https://api.github.com/repos/jpd002/Play-/issues/254","id":124826536,"user":{"login":"Thunder07","id":5013823,"avatar_url":"https://avatars.githubusercontent.com/u/5013823?v=3","gravatar_id":"","url":"https://api.github.com/users/Thunder07","html_url":"https://github.com/Thunder07","followers_url":"https://api.github.com/users/Thunder07/followers","following_url":"https://api.github.com/users/Thunder07/following{/other_user}","gists_url":"https://api.github.com/users/Thunder07/gists{/gist_id}","starred_url":"https://api.github.com/users/Thunder07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thunder07/subscriptions","organizations_url":"https://api.github.com/users/Thunder07/orgs","repos_url":"https://api.github.com/users/Thunder07/repos","events_url":"https://api.github.com/users/Thunder07/events{/privacy}","received_events_url":"https://api.github.com/users/Thunder07/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T09:43:19Z","updated_at":"2015-07-25T09:43:19Z","body":"As I mentioned, the list is not complete yet, just because it gets the serial, doesn't mean it's getting the  the id or cover. "}}