Commit graph

545 commits

Author SHA1 Message Date
echel0n
736cb7c738 Fixes issues with ABD shows searching for complete seasons and returning zero results. 2014-05-22 22:02:49 -07:00
echel0n
80651447ae Update webserve.py 2014-05-22 10:01:03 -07:00
echel0n
13462fbb67 Added user settable interval for autoPost-Processing to post-processing config section. 2014-05-21 13:26:24 -07:00
echel0n
63207ba93b Added global indexer timeout for adding shows. 2014-05-21 11:17:52 -07:00
echel0n
d6a942698a Fixes errors caused by duplicate newznab providers 2014-05-20 13:51:54 -07:00
echel0n
fa11b4ef3a Removed some sleep timers to improve overall speed of sickrage. 2014-05-20 11:01:51 -07:00
echel0n
83d7e9fb69 Removed global seed ratio's 2014-05-20 09:27:52 -07:00
echel0n
9e1402057a Added in min seed and min leech options for torrent providers 2014-05-20 09:06:11 -07:00
echel0n
6a02edd7fc Added search options to NZB providers 2014-05-19 19:29:51 -07:00
echel0n
5f328eba5f Converted NZB providers to new dynamic config style format. 2014-05-19 19:14:06 -07:00
echel0n
ab8d9e6405 Fixed issues with queues.
Tweaked code to get more performance from it.
2014-05-19 18:04:23 -07:00
echel0n
a4c790eedc Fixes issues with skip removed files option.
Fixes issues with saving usenet providers.
2014-05-19 16:43:01 -07:00
echel0n
f0bd8e5e4a Fixes issues with processTV failed downloads and HDBits auth info 2014-05-19 13:06:32 -07:00
echel0n
854de69683 Fixed find propers.
Added ability to force a find propers search.
2014-05-19 10:40:25 -07:00
Björn Dahlgren
3da3121395 Fixed missing parameter skip_removed_files 2014-05-18 20:57:50 +02:00
echel0n
de20d13c61 Added per-provider option 'backlog only' which allows you to disclude any provider from the daily search but still use it for backlogs, currently working for torrents only and will add to nzb providers later on today.
Cleaned up details on search options for providers and made it look nicer
2014-05-18 09:39:30 -07:00
Nils Vogels
3a08af6661 Merge commit '8c449e2' into dev 2014-05-18 00:16:13 +02:00
Nils Vogels
8c449e27d2 Add option to skip detection of removed files
Adds config option in Config > Postprocessing
2014-05-18 00:14:31 +02:00
echel0n
32cf17c638 Fixed error when saving blank ratio's 2014-05-17 11:42:37 -07:00
echel0n
55f27c4f40 rss cache updates and daily search have been joined into one function.
fixed more issues of missing vars causing saving of config issues.
2014-05-17 11:14:48 -07:00
echel0n
0afdeb3c1f Added ability to disable daily search at startup.
Fixed search frequencies.
Changed HDBits to use requests json parser.
2014-05-17 09:18:50 -07:00
echel0n
22ec1a4418 Fixes issues with provider settings being loaded and unicode data when it should of been stripped off. 2014-05-17 06:10:52 -07:00
echel0n
a3e06b965f Added in CPU Throttling option under general config -> advanced.
Fixed issues with passwords and unicode chars.
Fixed issue with usenet_retention variable not being saved or set.
2014-05-17 04:40:26 -07:00
echel0n
58e0b58a0f Added a timezone display option so that you can either display the date/time via your local timezone or the show's network timezone. 2014-05-17 00:30:21 -07:00
echel0n
5453c8c6df Fix for TPB proxy issues.
Fix for save config issues.
2014-05-16 23:38:00 -07:00
echel0n
e96035ff4f Added per-provider options search mode and search fallback.
Search mode allows you to choose season packs only or episodes only which controls how backlogs search for data.

Search fallback if selected will attempt a 2nd search this time using the alternative search mode to see if it can get results if the previous attempt failed.

Provider settings are now read and stored dynamically instead of always having to retrieve them by there static names, this will allow for dropping in new provider modules easier to intergrate with existing options already present.

Fixed search code to not perform dupe searches by mistake.

Cache stores a list of shows we have rejected so that next time around we don't have to process them to know we don't like em.
2014-05-16 22:29:44 -07:00
echel0n
a6d30ac425 Fixed potential backlog issues.
Fixed potential failed download item issues.
Added in more detailed logging for backlogs.
2014-05-15 21:55:56 -07:00
echel0n
a39c881cb3 Complete re-write of backlog search.
Fixed air-by-date backlog searches.
2014-05-15 20:39:46 -07:00
echel0n
1aff31eaec Complete Backlog searches can now be forced from manage search menu. 2014-05-15 15:06:13 -07:00
echel0n
8ac8150eb3 Fixed issues with search results not being snatched when searching shows with custom quality settings.
Added option to force a RSS update under Manage searches.

Added status of rss updates and daily searches to be displayed at bottom of pages.
2014-05-15 14:43:57 -07:00
Nils
ca913d965b Merge pull request #567 from JackDandy/CheckPropersEvery
Add new feature, check propers interval.
2014-05-15 23:39:23 +02:00
echel0n
e20adcfab8 Added daily searcher to check for and snatch daily new releases for current active watched shows. User settable interval can be found in search config menu plus forcing a daily search can be done from Manage Searches menu.
Fixed issues with subliminal subtitle downloader.
2014-05-14 21:16:46 -07:00
JackDandy
fe74efbf23 Add new feature, check propers interval.
Allow user to select an interval between searches for propers.
2014-05-14 23:23:59 +01:00
Nils
e0558ea4cd Merge pull request #558 from Zwooosh/dev
Don't add portnumber when restarting with reverse proxy enabled
2014-05-14 17:08:00 +02:00
JackDandy
c33b92866d Add new feature, set file date to episode aired date. 2014-05-14 13:33:36 +01:00
Zwooosh
5dae4c86c9 Merge remote-tracking branch 'upstream/dev' into dev
Conflicts:
	SickBeard.py
2014-05-14 13:17:00 +02:00
echel0n
51ff041389 Fix for writing new NFO files for updating Indexer info, prevents constant writing on refreshes of shows 2014-05-13 21:14:54 -07:00
echel0n
fab8329e23 Fixed provider ratio issues, not can be set via .1 increments 2014-05-13 10:36:10 -07:00
Zwooosh
4f43349dee Don't add portnumber when restarting with reverse proxy enabled 2014-05-13 11:58:27 +02:00
echel0n
e353cd13c7 Added ability to turn RSS Cache updates on startup and let it start when its interval is reached and continue from there. This can be set from same place you set backlog startups. 2014-05-12 22:48:00 -07:00
echel0n
a77d8c1fcb Fixed for Backlog startup feature. 2014-05-12 06:12:15 -07:00
echel0n
8f2663da55 Added in seperate interval settings for backlog and rss updates 2014-05-12 03:34:18 -07:00
echel0n
7673cd5cc9 Fix for torrent ratio's, switched them from being stored as strings to integers. 2014-05-12 00:05:33 -07:00
Nils Vogels
91729bdab7 Adding in Mede8er metadata (backport from Midgetspy)
Original commit by itofzo midgetspy/Sick-Beard@34bf07d487
2014-05-12 01:15:24 +02:00
echel0n
448a45cf40 Fix for complete season snatches.
Removed multi-threading option from general config
2014-05-11 07:40:24 -07:00
echel0n
e977750702 Merge branch 'origin/master'
Conflicts:
	sickbeard/__init__.py
2014-05-11 05:55:12 -07:00
echel0n
1398c38275 Fix for manual and backlog download/search issues.
Removed multi-threading as it was more problems then usefull for now.

Added in match & snatch, any quality from initial quality settings gets downloaded first and does not continue searching, if archive qualities exist it'll stop once it hits max quality from said list.
2014-05-11 05:51:39 -07:00
tlex
d0105a2f6a Fixed a couple of bugs related to deluge 2014-05-11 10:31:38 +03:00
sammy2142
57737feb5c Adds Per Provider Seed Ratio 2014-05-10 12:50:07 +01:00
mythern
06f5f3a9ae Moved changes to dev 2014-05-09 03:51:58 +02:00
Peter Maciocia
77e9988980 Fix for #315, backport xbmc always on option
fix deleted line
2014-05-08 17:44:11 +01:00
Nils
0a14caa38e Merge pull request #469 from WebSpider/dev-home_manage_torrents
Adds Manage Torrents button to Home screen
2014-05-08 17:30:09 +02:00
Nils Vogels
514d477a32 Better detection when to show the button 2014-05-08 17:23:26 +02:00
Nils Vogels
e596b7370d Add "Manage Torrents" button to home screen 2014-05-08 17:09:12 +02:00
Nils
6dccea093d Merge pull request #450 from rpluto/dev
Add Boxcar2 Notifications
2014-05-08 17:02:14 +02:00
echel0n
2a4f8780e2 Fixed issues with multi-threading.
Fixed issues with snatching air-by-date shows.
Fixed issues with naming patterns.
Fixed issues with invalid literals.
Fixed issues with country codes missing and causing web errors.

Fixed so many issues I can't write them all done ... :)
2014-05-08 07:04:01 -07:00
rpluto
8ec7e69fac Add Boxcar2 Notifications 2014-05-07 15:23:06 +01:00
echel0n
fc94243546 Fixes backlog and manual searches.
Fixes season pack and single/multi episode searches.
Fixes multi-threading issues.
Fixes incorrect status being reported for manual searches.
Fixes quality being returned as N/A all the time for torrents.
2014-05-07 00:50:49 -07:00
Nils Vogels
d76c9d1c3b Implemention option to start/stop full backlog thread 2014-05-07 01:14:33 +02:00
echel0n
fb71c6139e Added in optional multi-threading for all search queues, can be set from General->Advanced config section.
Fixed issue #417 and #335
2014-05-06 04:29:38 -07:00
Nils Vogels
b177c1ade2 Merging changes from Prinz23, PR#156 2014-05-06 00:48:28 +02:00
Prinz23
3e16493802 Remove old obsolete code, that could course an error 2014-05-05 19:32:34 +02:00
Nils
42218d1d04 Merge pull request #384 from WebSpider/dev-namechange
Changing repo name to SickRage
2014-05-05 14:52:39 +02:00
Nils
7ebecc0f24 Merge pull request #360 from nightexcessive/feature/reverse-proxy
Add proper handling for reverse proxies
2014-05-05 12:41:44 +02:00
Nils Vogels
556139ea69 Changing repo name to SickRage
Updated incorrectly changed reference to Synology DS issue back to original
2014-05-05 11:06:15 +02:00
echel0n
afdbc44a47 Fixes issue #374 2014-05-04 23:34:59 -07:00
Michael Johnson
02382d2716 Add proper handling for reverse proxies
Basic configuration options and filter

Add configuration options to template

Woops, we can't use filters

Qualify the name 'Tool'

Remove leftover 'self' argument
2014-05-04 18:04:04 -04:00
Nils Vogels
84120ee00e Option to prefer single episode releases over season releases:
- Added option "prefer_episode_releases" to config.ini. If a complete season of a show is added to the backlog this option will make sickbeard prefer single episode releases for that season over a comlete season release.

Backport of 1ec7c61023 into dev branch
2014-05-04 15:58:20 +02:00
echel0n
b349bab569 Fixes more issues that were still present for season pack searches and air-by-date shows. 2014-05-03 22:36:54 -07:00
echel0n
bb4ef18fe3 Fixes issue #337 2014-05-03 20:52:47 -07:00
echel0n
cae11c0f06 Fixes for scene numbering in displayShows 2014-05-03 03:09:46 -07:00
echel0n
33be93288a Last set of fixes to correct this problem 2014-05-03 02:58:04 -07:00
echel0n
2a04c13b91 Another small typo 2014-05-03 02:31:40 -07:00
echel0n
d5f183c171 Major changes made to search code, tvcache code, and name parser 2014-05-03 02:23:26 -07:00
echel0n
3a60683327 Fixed issues with parsing release names and naming patterns including regex for sports is now more accurate then ever!
Added option under general settings to allow specifiying a default indexer to be used for adding newshows and existing shows (All, TVDB, TVRage)
2014-05-01 17:57:51 -07:00
Nils
45f2d72314 Merge pull request #283 from WebSpider/dev-email_notify_order
Changing sorting order for email notification lists, closes enhancement request in #271
2014-05-01 14:14:00 +02:00
Nils Vogels
71cd57927f Changing sorting order for email notification lists to alphabetical, ascending 2014-05-01 14:09:12 +02:00
echel0n
20bc92650b Fix for issues relating to adding existing shows and nothing happens. 2014-05-01 03:00:05 -07:00
echel0n
f354839efd Merge pull request #106 from joshjowen/indexerfix
Create an INDEXER_DEFAULT config variable and fix traktWatchListChecker.py
2014-04-30 18:51:05 -07:00
echel0n
880e923714 Fix for issue #255, metadata saving for xbmc12+ 2014-04-30 18:29:13 -07:00
Prinz23
9d61d1cab1 Bugfix for logic error in sql queue for ical (paused shows)
Fixes: https://github.com/echel0n/SickBeard-TVRage/issues/243
2014-04-30 15:03:56 +02:00
echel0n
87b752b4e5 Re-coded the Indexer cache, cache lookups are only performed for existing shows and we don't add any cache entries unless we are Indexing the show in our database so we don't waste cpu cycles and memory.
Manual and backlog searches both search the cache first before even attempting to send a search request to a provider.

More bugs have been worked out.
2014-04-29 06:14:19 -07:00
echel0n
e0f52e1045 Merge pull request #162 from sammy2142/master
Adds seed time and seed ratio to utorrent client
2014-04-28 14:58:59 -07:00
Prinz23
9221067b35 Fix NoneType exception in episode['description']
Change from All-Day Event to Time Event
2014-04-28 20:22:08 +02:00
sammy2142
fea4ef43b7 Adds seed time and seed ratio to utorrent client
Adds support for setting the seed ratio and seed duration for the
utorrent client.
2014-04-28 15:34:27 +01:00
echel0n
5e38813a73 Added sports feature, acts just like air_by_date except allows us to control the date pattern to match events that air_by_date could not.
Custome sports naming patterns can be set now as well.

Fixed issues with FINDPROPERS.

Fixed issues with session connections.

Cleaned up code.
2014-04-28 02:15:29 -07:00
echel0n
864af297c6 Fixes interval setting for auto updates and check version, will set the interval in realtime and take effect right away. 2014-04-27 08:02:34 -07:00
echel0n
fb0339a274 Fix for sql mass add issues.
Fix for KAT and TPB providers.
Fix for Newznab providers.
2014-04-27 06:46:08 -07:00
echel0n
2f0fa9a4ce Making frequency of version update checker (CHECKVERSION) configurable
Conflicts:
	sickbeard/__init__.py
2014-04-27 04:32:02 -07:00
echel0n
ceb3c6efbc Merge pull request #98 from WebSpider/fix_proxy_setting
Typo in PROXY_SETTING variable
2014-04-27 04:04:10 -07:00
echel0n
6967a8faef Code cleanup 2014-04-27 03:59:00 -07:00
echel0n
5772de9eec Complete re-code of season/episode search code.
Switched from using standard requests to using sessions.
Fixed bug in speedcd that was preventing config from saving.
2014-04-27 03:31:54 -07:00
joshjowen
57340651f4 Added INDEXER_DEFAULT to config for when a default indexer is needed 2014-04-27 18:17:28 +10:00
Nils Vogels
4970697904 Typo in PROXY_SETTING variable
Closes #91
2014-04-26 23:35:36 +02:00
Nils Vogels
a1d2c3bcb1 Making frequency of version update checker (CHECKVERSION) configurable
Adds an option in Config > General > Misc called "Update Frequency"

Closes #54
2014-04-26 23:24:29 +02:00
Nils Vogels
a5b85dcc1c Adding SpeedCD provider
Cherrypicking from mr-orange's fork
This is 30d8807d74

Closes #47
2014-04-26 15:48:37 +02:00
echel0n
2b57fce5e6 Resolves issues with saving notification settings and http(s) setting 2014-04-25 15:05:34 -07:00
echel0n
a71ed25b19 Fixes issues with searches and importing existing shows 2014-04-25 14:22:31 -07:00
echel0n
6d3f66aa4d Fixes issue with proxy setting and config not saving. 2014-04-25 04:11:52 -07:00
echel0n
08f67e09de Fixed bug in backlog search for wanted and failed statuses, was improperly loading our segment lists and dicts. 2014-04-25 01:17:32 -07:00
echel0n
d8428b515d Small fix in backlog UI message 2014-04-25 00:47:17 -07:00
Peter Maciocia
5007b806a5 fix indent 2014-04-24 18:41:44 +01:00
SickBeard Custom User
484dba0de8 proper settings for proxy 2014-04-24 17:01:20 +01:00
echel0n
f8ec897010 Lightning fast indexer searches now!
Version checks reverted back to every 12 hours.
2014-04-24 04:52:44 -07:00
echel0n
c945726f05 Fixed subliminal issues.
Added ignore/required words option to bet set individually for each show.
Fixed issue with global ignore words not properly matching against releases.
Fixed issue with
2014-04-23 22:18:16 -07:00
echel0n
8d9d62caf5 Updated sumbliminal.
Fixed issue #52
2014-04-23 20:22:21 -07:00
echel0n
3f67782f38 Added in auto-updater feature, this will allow you to optionally have SickBeard run a version check in the background constantly searching for a new version release on GIT and when found it will automatically download and install then restart. 2014-04-23 00:12:51 -07:00
echel0n
5b69783e86 Fixed scene numbering, was not being converted to a int before. 2014-04-22 18:58:35 -07:00
Jason Valdron
2af5b95a9d forgot to remove print 2014-04-22 20:00:30 -03:00
Jason Valdron
ac82e32b98 added indexer selectbox and timeout in search 2014-04-22 19:58:43 -03:00
echel0n
4c84351306 Fixed issue #37, ignore words 2014-04-22 13:24:55 -07:00
echel0n
3af9e2ce65 New show searches now try and return exact matches first then next best, search speed vastly improved as well. 2014-04-22 07:14:11 -07:00
echel0n
77696cad66 Fix for rss torrent feeds, resolves issue #32 2014-04-22 03:13:44 -07:00
echel0n
9ab143dde7 Testing fix for unique index error on xem_numbering table in cache database 2014-04-21 19:33:48 -07:00
echel0n
74a2f3dca7 Fixed bug in saveAddShowDefaults that was causing defaults not to save 2014-04-02 17:04:40 -07:00
echel0n
e171aa1c10 Conditional check bugfixes 2014-04-02 07:23:17 -07:00
echel0n
94c908b0c3 Remove our auto-dir feature as it was interfearing with nzbToMedia 2014-03-30 18:17:05 -07:00
echel0n
6a7906eeb1 Fixed bug in TVRage API that was not properly handling malformed airdates for shows.
Fixed bug in metadata function that was throwing attribute errors when checking for banner images for shows from TVRage

Converted some list comprehensions to generators to improve speed and lower memory usage of SB
2014-03-27 02:42:00 -07:00
echel0n
8742b5825f Bug found and fixed in New Show search related to improperly requesting list of indexers to search through 2014-03-26 19:18:15 -07:00
echel0n
dd58028ba6 Bugfix for indexerApi improperly returning list of indexers 2014-03-26 19:01:53 -07:00
echel0n
8004685d3f Re-wrote the indexerApi wrapper, was causing a bottlekneck
Fixed bug when show folder is deleted before being deleted from SB
New Show searches now confirm results have a valid firstaired date
2014-03-26 12:28:46 -07:00
echel0n
ab124158a4 Fixed up code for searching indexers for show id which fixes a bug that was present in our post processing code 2014-03-25 19:41:28 -07:00
echel0n
22a4a066d8 Post-processing now auto-detects the correct indexer for the show both on manual processing and script based processing 2014-03-25 18:42:36 -07:00
echel0n
872389d055 New show search code changed to optimize for quicker searches
Increased mainDB version to 28
2014-03-25 11:01:21 -07:00
echel0n
95d7d728e0 Re-write of Indexer API wrapper
Re-write of New Show seearch function
Re-write of Existing show search helper function for determining indexer/indexerid
Massive code cleanup and more bugs found and fixed
Indexer code fully modualized for future proofing
2014-03-24 22:57:24 -07:00
echel0n
e3a843a823 Bugfix for scene numbering and kickass searches 2014-03-21 01:34:00 -07:00
echel0n
a0d3a790dc Added auto-detection of directory paramater for external post-processing calls for 3rd-party utils such as nzbToMedia where you can specify what fork you are using to setup what paramaters are required to be used, this takes the headache out of it 2014-03-20 18:01:26 -07:00
echel0n
10637f8f29 Code Clean up and regex fix for "no repeats" error (reverted from commit 8ecd5a196d) 2014-03-20 11:03:22 -07:00
echel0n
8ecd5a196d Code cleanup and regex fix for "no repeats" error 2014-03-20 10:51:59 -07:00
echel0n
972833a7f6 Added Transaction for add/update/delete episodes and change episode status 2014-03-20 03:24:58 -07:00
echel0n
36643acf5e Added TVRage support to our scene numbering lookups.
Tweaked our API's HTTP Handlers for better performance.

Fixed a bug in metadata parser that was preventing TVRage shows from getting images.
2014-03-19 22:33:34 -07:00
echel0n
748ba6be71 Revamped the failed handler code to fix a few bugs and have everything failed sent directly to backlog 2014-03-19 07:59:34 -07:00
echel0n
dbaf9955cb Fixed issue with BTN provider.
Started to added in "archive on firstmatch" feature.
2014-03-18 06:50:13 -07:00
echel0n
a165b891e9 Failed processing backwards compatibility for original param name "dirName" that has been relabled to "dir" 2014-03-16 15:57:38 -07:00
echel0n
d0ac2936b0 New searches now search only the indexer specified when importing existing shows.
Fixed bug causing addshow's to display the id of the show instead of the name.
2014-03-15 23:28:11 -07:00
echel0n
e19e0e8d1c Fixed issue with new show searches not returning any data.
Fixed issue with show updater.
2014-03-15 18:46:47 -07:00
echel0n
36fd50fb9c Cleaned up code for TVDB/TVRage show searching. 2014-03-15 18:14:02 -07:00
echel0n
0fcd780c2f Improved TVRage API code to now include show/episode summaries and fanart.
Bugfix in metadata code for XBMC 12+ to display proper episodeguide urls.
Misc tweaks here and there.
2014-03-13 20:07:15 -07:00
echel0n
01eb8c0129 Added in TMDB lookups for metadata fanart and posters using there TV api, works good for TVRage shows that don't supply that content.
Few bugfixes to the code.
2014-03-13 05:20:45 -07:00
echel0n
f2bbe76271 Code improvements for the indexer API handler and a few code cleanups as well. 2014-03-11 22:28:30 -07:00
echel0n
bbf9491943 Code cleanup and bugfixes 2014-03-10 19:32:02 -07:00
echel0n
056b266613 Auto-detection of indexer code added in for adding existing shows along with TV Cache lookups, few bugfixes as well. 2014-03-10 16:59:22 -07:00
echel0n
6a4adceb26 Updates to auto post-processing code, additional code added to ensure indexer is always set to the correct value 2014-03-10 13:31:41 -07:00
echel0n
688888b17c Fixed more issues with post processing TVRage shows 2014-03-10 04:20:29 -07:00
echel0n
0d9fbc1ad7 Welcome to our SickBeard-TVRage Edition ...
This version of SickBeard uses both TVDB and TVRage to search and gather it's series data from allowing you to now have access to and download shows that you couldn't before because of being locked into only what TheTVDB had to offer.

Also this edition is based off the code we used in our XEM editon so it does come with scene numbering support as well as all the other features our XEM edition has to offer.

Please before using this with your existing database (sickbeard.db) please make a backup copy of it and delete any other database files such as cache.db and failed.db if present, we HIGHLY recommend starting out with no database files at all to make this a fresh start but the choice is at your own risk!

Enjoy!
2014-03-09 22:39:12 -07:00