{"issue":{"created_at":"2011-07-05T19:08:53Z","state":"open","updated_at":"2011-11-24T15:09:39Z","user":{"gravatar_id":"7ca379141d13a8f5f17b50de3607ef16","id":319220,"url":"https://api.github.com/users/Diaoul","login":"Diaoul","avatar_url":"https://secure.gravatar.com/avatar/7ca379141d13a8f5f17b50de3607ef16?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":143,"body":"Subtitles download:\r\n----------------------------\r\n* At post processing\r\n* In the show page (\"Download subtitles\" button)\r\n* In the manage page (multiple checkboxes)\r\n* Per episode with a dedicated ajax button in the show page\r\n* Periodically in background\r\n  * wait 24h after the first search (which is at postprocessing) for old episodes (> 7 days) then give up\r\n  * wait 4h, 8h, 16h, 24h, 24h and 24h between each search for new episodes (<= 7 days) then give up\r\n* Can scan for subtitles on the show dir using \"Re-scan files\" button in show page\r\n* Created files (subtitles) receive permissions of their parent folder\r\n\r\nOptions:\r\n------------\r\n* Multiple languages support\r\n* Signe file download in order of set languages (.srt) or multiple files (.en.srt, .fr.srt)\r\n* Plugins selection and ordering\r\n\r\n\r\nLimitations:\r\n----------------\r\n* Python 2.6+ (subtitles support will be disabled if this condition isn't met, everything else will still work fine)\r\n\r\n\r\nMisc:\r\n---------\r\n* [This line](https://github.com/Diaoul/Sick-Beard/commit/bb3d074da93479f2e09f4939284989cd5fbb22ec#L0R21): `sys.path.append('lib')` can be changed to `sys.path.insert(0,\"lib\")` to avoid conflict with installed libraries. You can even tweak all added libraries to add \"lib.\" before every import. Bad hack IMO but if this is the only solution for some users...\r\n\r\n\r\nTry it!\r\n--------\r\n    cd ~\r\n    git clone http://github.com/SickBeard-Team/SickBeard.git SickBeard-Diaoul\r\n    cd SickBeard-Diaoul\r\n    git checkout subliminal\r\n    ./SickBeard.py\r\n\r\nBug report\r\n---------------\r\nPlease help me improving this feature, if you encounter a bug, do the following:\r\n\r\n1. Edit sickbeard/logger.py to have the following: https://gist.github.com/1256331 (you can even comment every lines that references logger 'sickbeard' in the gist so the log is more readable)\r\n2. Run Sick-Beard in console and reproduce the error\r\n3. Paste the logs somewhere on the web (not here!) like pastebin and report the bug here\r\n4. Also provide python version (`python -V`)\r\n\r\nFor encoding issues, add the following informations:\r\n\r\n* OS (Linux: `uname -a`)\r\n* `sys.getdefaultencoding()`\r\n* `sys.getfilesystemencoding()`\r\n* `locale.getpreferredencoding()`","assignee":null,"pull_request":{"patch_url":"https://github.com/midgetspy/Sick-Beard/pull/185.patch","html_url":"https://github.com/midgetspy/Sick-Beard/pull/185","diff_url":"https://github.com/midgetspy/Sick-Beard/pull/185.diff"},"id":1169368,"labels":[],"number":185,"title":"Add subtitles support with Subliminal","closed_at":null,"html_url":"https://github.com/midgetspy/Sick-Beard/issues/185","milestone":null,"url":"https://api.github.com/repos/midgetspy/Sick-Beard/issues/185"},"action":"created","comment":{"created_at":"2011-11-24T15:09:39Z","updated_at":"2011-11-24T15:09:39Z","user":{"gravatar_id":"513778e0e418985aaa15eb14e0b073d3","id":672760,"url":"https://api.github.com/users/rowdynl","login":"rowdynl","avatar_url":"https://secure.gravatar.com/avatar/513778e0e418985aaa15eb14e0b073d3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Did go to config > Subtitles, enabled all plugins (language = nl) and hit a few 'CC' buttons (last 4 episodes of BBT) and also the 'Download subtitles' link on top. The 'CC' buttons only gave a 'No subtitles downloaded' notification.\r\n\r\nIn the log: \r\n    Nov-24 15:48:17 INFO     SHOWQUEUE-SUBTITLE :: Downloading subtitles for The Big Bang Theory\r\n        AANov-24 15:48:12 DEBUG    Thread Thread-23 terminated\r\n        AANov-24 15:48:12 DEBUG    Poison pill received in thread Thread-23","id":2865373,"url":"https://api.github.com/repos/midgetspy/Sick-Beard/issues/comments/2865373"}}