{"action":"created","issue":{"url":"https://api.github.com/repos/Diaoul/subliminal/issues/479","labels_url":"https://api.github.com/repos/Diaoul/subliminal/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/Diaoul/subliminal/issues/479/comments","events_url":"https://api.github.com/repos/Diaoul/subliminal/issues/479/events","html_url":"https://github.com/Diaoul/subliminal/issues/479","id":97604404,"number":479,"title":"is there a little bit easier way to drop-in provider when hash is needed?","user":{"login":"TimLuo","id":520667,"avatar_url":"https://avatars.githubusercontent.com/u/520667?v=3","gravatar_id":"","url":"https://api.github.com/users/TimLuo","html_url":"https://github.com/TimLuo","followers_url":"https://api.github.com/users/TimLuo/followers","following_url":"https://api.github.com/users/TimLuo/following{/other_user}","gists_url":"https://api.github.com/users/TimLuo/gists{/gist_id}","starred_url":"https://api.github.com/users/TimLuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimLuo/subscriptions","organizations_url":"https://api.github.com/users/TimLuo/orgs","repos_url":"https://api.github.com/users/TimLuo/repos","events_url":"https://api.github.com/users/TimLuo/events{/privacy}","received_events_url":"https://api.github.com/users/TimLuo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-28T03:14:03Z","updated_at":"2015-07-28T09:24:08Z","closed_at":null,"body":"when I'm writing an extra provider, involved with hash, I had to modify at least three files: entry_points.txt, video.py, and new provider in providers folder. Upon subliminal upgrade, the first two gets upgraded and overridden. I used a script to change back, but video.py isn't that safe to modify because of python indentation. \r\n\r\nSo I am wondering if there could be an easier way to write a drop-in provider when hash is required."},"comment":{"url":"https://api.github.com/repos/Diaoul/subliminal/issues/comments/125518030","html_url":"https://github.com/Diaoul/subliminal/issues/479#issuecomment-125518030","issue_url":"https://api.github.com/repos/Diaoul/subliminal/issues/479","id":125518030,"user":{"login":"Diaoul","id":319220,"avatar_url":"https://avatars.githubusercontent.com/u/319220?v=3","gravatar_id":"","url":"https://api.github.com/users/Diaoul","html_url":"https://github.com/Diaoul","followers_url":"https://api.github.com/users/Diaoul/followers","following_url":"https://api.github.com/users/Diaoul/following{/other_user}","gists_url":"https://api.github.com/users/Diaoul/gists{/gist_id}","starred_url":"https://api.github.com/users/Diaoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diaoul/subscriptions","organizations_url":"https://api.github.com/users/Diaoul/orgs","repos_url":"https://api.github.com/users/Diaoul/repos","events_url":"https://api.github.com/users/Diaoul/events{/privacy}","received_events_url":"https://api.github.com/users/Diaoul/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T09:24:08Z","updated_at":"2015-07-28T09:24:08Z","body":"What's wrong with modifying video.py? You can fork subliminal, make your changes and submit a pull request. This way everyone could benefit the provider you're adding.\r\n\r\nIf you want to extend subliminal with some private provider, you can do so by registering your provider using an entry point in your application's setup.py. This is what subliminal uses to register converters to babelfish (see [here](https://github.com/Diaoul/subliminal/blob/master/setup.py#L88-L91)).\r\nThere is plenty documentation on the topic on internet."}}