{"action":"created","issue":{"url":"https://api.github.com/repos/Diaoul/subliminal/issues/471","labels_url":"https://api.github.com/repos/Diaoul/subliminal/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/Diaoul/subliminal/issues/471/comments","events_url":"https://api.github.com/repos/Diaoul/subliminal/issues/471/events","html_url":"https://github.com/Diaoul/subliminal/issues/471","id":96609462,"number":471,"title":"Problem when using subliminal in api mode","user":{"login":"h3llrais3r","id":1945295,"avatar_url":"https://avatars.githubusercontent.com/u/1945295?v=3","gravatar_id":"","url":"https://api.github.com/users/h3llrais3r","html_url":"https://github.com/h3llrais3r","followers_url":"https://api.github.com/users/h3llrais3r/followers","following_url":"https://api.github.com/users/h3llrais3r/following{/other_user}","gists_url":"https://api.github.com/users/h3llrais3r/gists{/gist_id}","starred_url":"https://api.github.com/users/h3llrais3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3llrais3r/subscriptions","organizations_url":"https://api.github.com/users/h3llrais3r/orgs","repos_url":"https://api.github.com/users/h3llrais3r/repos","events_url":"https://api.github.com/users/h3llrais3r/events{/privacy}","received_events_url":"https://api.github.com/users/h3llrais3r/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-22T16:27:16Z","updated_at":"2015-07-24T15:07:02Z","closed_at":"2015-07-24T13:58:20Z","body":"When using subliminal in api mode (without an 'install' of subliminal) I have problems with the providers.\r\nI can register the providers as entry point myself, but they are always empty because the import of subliminal in my application always triggers the following code from 'api.py' before I can register them myself:\r\n```\r\nprovider_manager = ExtensionManager('subliminal.providers')\r\n```\r\nThe provider manager uses a cache, so they remain empty.\r\nAs workaround, I now pop the 'subliminal.providers' from the ExtensionManager CACHE so it will be read again.\r\nWhat's the proper way to re-initialize the provider_manager?"},"comment":{"url":"https://api.github.com/repos/Diaoul/subliminal/issues/comments/124552912","html_url":"https://github.com/Diaoul/subliminal/issues/471#issuecomment-124552912","issue_url":"https://api.github.com/repos/Diaoul/subliminal/issues/471","id":124552912,"user":{"login":"h3llrais3r","id":1945295,"avatar_url":"https://avatars.githubusercontent.com/u/1945295?v=3","gravatar_id":"","url":"https://api.github.com/users/h3llrais3r","html_url":"https://github.com/h3llrais3r","followers_url":"https://api.github.com/users/h3llrais3r/followers","following_url":"https://api.github.com/users/h3llrais3r/following{/other_user}","gists_url":"https://api.github.com/users/h3llrais3r/gists{/gist_id}","starred_url":"https://api.github.com/users/h3llrais3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3llrais3r/subscriptions","organizations_url":"https://api.github.com/users/h3llrais3r/orgs","repos_url":"https://api.github.com/users/h3llrais3r/repos","events_url":"https://api.github.com/users/h3llrais3r/events{/privacy}","received_events_url":"https://api.github.com/users/h3llrais3r/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T15:07:02Z","updated_at":"2015-07-24T15:07:02Z","body":"PS: I just saw that the readme.rst for the save_subtitles method is not up to date ;)\r\n\r\n# save them to disk, next to the video\r\nsave_subtitles(subtitles)\r\n"}}