{"action":"created","issue":{"url":"https://api.github.com/repos/mmmmmtasty/SportScanner/issues/7","labels_url":"https://api.github.com/repos/mmmmmtasty/SportScanner/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/mmmmmtasty/SportScanner/issues/7/comments","events_url":"https://api.github.com/repos/mmmmmtasty/SportScanner/issues/7/events","html_url":"https://github.com/mmmmmtasty/SportScanner/issues/7","id":117219393,"number":7,"title":"Missing Match: Line 279: UnboundLocalError: local variable 'valid_names' referenced before assignment","user":{"login":"rickjtaylor","id":2989492,"avatar_url":"https://avatars.githubusercontent.com/u/2989492?v=3","gravatar_id":"","url":"https://api.github.com/users/rickjtaylor","html_url":"https://github.com/rickjtaylor","followers_url":"https://api.github.com/users/rickjtaylor/followers","following_url":"https://api.github.com/users/rickjtaylor/following{/other_user}","gists_url":"https://api.github.com/users/rickjtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/rickjtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rickjtaylor/subscriptions","organizations_url":"https://api.github.com/users/rickjtaylor/orgs","repos_url":"https://api.github.com/users/rickjtaylor/repos","events_url":"https://api.github.com/users/rickjtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/rickjtaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-16T21:13:18Z","updated_at":"2015-11-17T15:18:29Z","closed_at":null,"body":"Getting close! Of the 10 files in there, this time, only 1 did not process.\r\n\r\nFilename: NBA_2010-11-06_Utah_Jazz_vs_Los_Angeles_Clippers.m4v\r\nAgain, http://www.thesportsdb.com/api/v1/json/1/searchfilename.php?e=NBA_2010-11-06_Utah_Jazz_vs_Los_Angeles_Clippers, finds it properly.\r\n\r\nError in console:\r\n2015-11-16 13:06:29,078 (700002dbb000) :  CRITICAL (runtime:298) - Exception in task thread (most recent call last):\r\n  File \"bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/components/runtime.py\", line 296, in _start\r\n  File \"bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/components/runtime.py\", line 243, in _exec\r\n  File \"/Users/Plex/Library/Application Support/Plex Media Server/Plug-ins/SportScanner.bundle/Contents/Code/__init__.py\", line 279, in UpdateEpisode\r\n    episode.thumbs.validate_keys(valid_names)\r\nUnboundLocalError: local variable 'valid_names' referenced before assignment\r\n\r\n\r\nA very quick aside: This could be my expectations of how Plex functions, not an issue. But each time you've tweaked things, I've first tried to \"Refresh\" the offending non-match (after updating the scanner and restarting PMS). It never works. I have to kill the library altogether and re-create and reprocess. Again, is that a mis-expectation on my part, or another potential issue?"},"comment":{"url":"https://api.github.com/repos/mmmmmtasty/SportScanner/issues/comments/157400634","html_url":"https://github.com/mmmmmtasty/SportScanner/issues/7#issuecomment-157400634","issue_url":"https://api.github.com/repos/mmmmmtasty/SportScanner/issues/7","id":157400634,"user":{"login":"mmmmmtasty","id":14114638,"avatar_url":"https://avatars.githubusercontent.com/u/14114638?v=3","gravatar_id":"","url":"https://api.github.com/users/mmmmmtasty","html_url":"https://github.com/mmmmmtasty","followers_url":"https://api.github.com/users/mmmmmtasty/followers","following_url":"https://api.github.com/users/mmmmmtasty/following{/other_user}","gists_url":"https://api.github.com/users/mmmmmtasty/gists{/gist_id}","starred_url":"https://api.github.com/users/mmmmmtasty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmmmmtasty/subscriptions","organizations_url":"https://api.github.com/users/mmmmmtasty/orgs","repos_url":"https://api.github.com/users/mmmmmtasty/repos","events_url":"https://api.github.com/users/mmmmmtasty/events{/privacy}","received_events_url":"https://api.github.com/users/mmmmmtasty/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T15:18:29Z","updated_at":"2015-11-17T15:18:29Z","body":"Don't be so sure ;)\r\n\r\nI'll take a look.\r\n"}}