{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/6875","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/6875/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/6875/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/6875/events","html_url":"https://github.com/xbmc/xbmc/pull/6875","id":66304000,"number":6875,"title":"[videodb] cleanup files from removed media sources","user":{"login":"mkortstiege","id":475281,"avatar_url":"https://avatars.githubusercontent.com/u/475281?v=3","gravatar_id":"","url":"https://api.github.com/users/mkortstiege","html_url":"https://github.com/mkortstiege","followers_url":"https://api.github.com/users/mkortstiege/followers","following_url":"https://api.github.com/users/mkortstiege/following{/other_user}","gists_url":"https://api.github.com/users/mkortstiege/gists{/gist_id}","starred_url":"https://api.github.com/users/mkortstiege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkortstiege/subscriptions","organizations_url":"https://api.github.com/users/mkortstiege/orgs","repos_url":"https://api.github.com/users/mkortstiege/repos","events_url":"https://api.github.com/users/mkortstiege/events{/privacy}","received_events_url":"https://api.github.com/users/mkortstiege/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Fix","name":"Fix","color":"02e10c"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Improvement","name":"Improvement","color":"0b02e1"},{"url":"https://api.github.com/repos/xbmc/xbmc/labels/Isengard","name":"Isengard","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-04T10:36:19Z","updated_at":"2015-04-06T07:57:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/6875","html_url":"https://github.com/xbmc/xbmc/pull/6875","diff_url":"https://github.com/xbmc/xbmc/pull/6875.diff","patch_url":"https://github.com/xbmc/xbmc/pull/6875.patch"},"body":"In case the media source was removed without cleaning up the paths contents, there's no easy way to remove these files from the video library. Due to the fact the files still exist, the current cleanup logic will not remove them and you end up with old/unwanted entries.\r\n\r\nThis commit alters the video database cleanup logic to check whether or not the files belong to a valid and existing media source and prompts the user to decide how to proceed.\r\n\r\n@Montellese for review please."},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/89964689","html_url":"https://github.com/xbmc/xbmc/pull/6875#issuecomment-89964689","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/6875","id":89964689,"user":{"login":"mkortstiege","id":475281,"avatar_url":"https://avatars.githubusercontent.com/u/475281?v=3","gravatar_id":"","url":"https://api.github.com/users/mkortstiege","html_url":"https://github.com/mkortstiege","followers_url":"https://api.github.com/users/mkortstiege/followers","following_url":"https://api.github.com/users/mkortstiege/following{/other_user}","gists_url":"https://api.github.com/users/mkortstiege/gists{/gist_id}","starred_url":"https://api.github.com/users/mkortstiege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkortstiege/subscriptions","organizations_url":"https://api.github.com/users/mkortstiege/orgs","repos_url":"https://api.github.com/users/mkortstiege/repos","events_url":"https://api.github.com/users/mkortstiege/events{/privacy}","received_events_url":"https://api.github.com/users/mkortstiege/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T07:57:30Z","updated_at":"2015-04-06T07:57:30Z","body":"Any objections?"}}