{"action":"created","issue":{"url":"https://api.github.com/repos/ampache/ampache/issues/943","labels_url":"https://api.github.com/repos/ampache/ampache/issues/943/labels{/name}","comments_url":"https://api.github.com/repos/ampache/ampache/issues/943/comments","events_url":"https://api.github.com/repos/ampache/ampache/issues/943/events","html_url":"https://github.com/ampache/ampache/pull/943","id":104627256,"number":943,"title":"Modified Tvdb and Tmdb plugins to correctly parse filenames.","user":{"login":"wagnered","id":6115438,"avatar_url":"https://avatars.githubusercontent.com/u/6115438?v=3","gravatar_id":"","url":"https://api.github.com/users/wagnered","html_url":"https://github.com/wagnered","followers_url":"https://api.github.com/users/wagnered/followers","following_url":"https://api.github.com/users/wagnered/following{/other_user}","gists_url":"https://api.github.com/users/wagnered/gists{/gist_id}","starred_url":"https://api.github.com/users/wagnered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagnered/subscriptions","organizations_url":"https://api.github.com/users/wagnered/orgs","repos_url":"https://api.github.com/users/wagnered/repos","events_url":"https://api.github.com/users/wagnered/events{/privacy}","received_events_url":"https://api.github.com/users/wagnered/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-03T05:54:02Z","updated_at":"2015-09-03T11:21:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ampache/ampache/pulls/943","html_url":"https://github.com/ampache/ampache/pull/943","diff_url":"https://github.com/ampache/ampache/pull/943.diff","patch_url":"https://github.com/ampache/ampache/pull/943.patch"},"body":"Also increased version number of both Tmdb and Tvdb plugins."},"comment":{"url":"https://api.github.com/repos/ampache/ampache/issues/comments/137411376","html_url":"https://github.com/ampache/ampache/pull/943#issuecomment-137411376","issue_url":"https://api.github.com/repos/ampache/ampache/issues/943","id":137411376,"user":{"login":"Afterster","id":2251352,"avatar_url":"https://avatars.githubusercontent.com/u/2251352?v=3","gravatar_id":"","url":"https://api.github.com/users/Afterster","html_url":"https://github.com/Afterster","followers_url":"https://api.github.com/users/Afterster/followers","following_url":"https://api.github.com/users/Afterster/following{/other_user}","gists_url":"https://api.github.com/users/Afterster/gists{/gist_id}","starred_url":"https://api.github.com/users/Afterster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Afterster/subscriptions","organizations_url":"https://api.github.com/users/Afterster/orgs","repos_url":"https://api.github.com/users/Afterster/repos","events_url":"https://api.github.com/users/Afterster/events{/privacy}","received_events_url":"https://api.github.com/users/Afterster/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T11:21:48Z","updated_at":"2015-09-03T11:21:48Z","body":"Thanks for this new PR @wagnered ;)\r\nTravis error is coming from one of my previous commits yeah, you shouldn't care about it this time.\r\nI have an unique remarks on your change: *Vainfo::parseFileName* is an improved duplicate of video parsing done inside *Vainfo::_parse_filename* and shouldn't be done on the plugins. Why not replacing the parsing inside *_parse_filename* by your one and using this values on plugins with *$media_info* array? Normally if *metadata_order_video* is set in correct order like *getID3,filename,Tmdb*, this should work and avoid code duplication / keep the plugin ordering logic."}}