1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-05 17:05:03 -05:00
Commit Graph

1456 Commits

Author SHA1 Message Date
KontiSR
4bfb271e8d Can't += dicts. Need to dict.copy()
Bug in master while doing daily search: https://sickrage.tv/forums/forum/help-support/bug-issue-reports/8358-unsupported-operand-type-s-for-dict-and-dict
2014-09-17 10:18:47 +02:00
Adam
f0d8bcb62c Fix some of the unit tests 2014-09-16 18:25:59 +08:00
adam111316
9e20c33013 Merge pull request #804 from adam111316/calendar
Add first revision of calendar to coming episodes
2014-09-16 17:34:18 +08:00
Adam
9f92601262 Add first revision of calendar to coming episodes 2014-09-16 17:29:57 +08:00
echel0n
f5a6d45d8f Fixed unicode error 2014-09-15 12:13:16 -07:00
echel0n
1e8233d430 Merge pull request #803 from tresni/fixrsstorrent
Fix RssTorrent where there may be empty values in configuration
2014-09-15 12:12:22 -07:00
echel0n
9eec99cd14 Reverted backlog search nextrun changes 2014-09-15 06:42:24 -07:00
echel0n
41dbbbaa9b Fix backlog nextrun to return datetime instead of just date 2014-09-15 06:29:16 -07:00
KontiSR
bdac98db4b Implemented the queuing functionality also for Failed downloads.
ajaxEpSearch.js now also processes the clicks for Retries. SO merged those together and removed ajaxEpRetry.js.
2014-09-15 15:01:18 +02:00
KontiSR
419e35f300 sbRoot missing in some img url's
Added queued.png image.. for manual searching

Fixed issue where consecutive manual searches where not queued properly
Added first backend processing for retrieving all queued searches. This should fix the frondend blocking when doing manual searches for episodes, because the backend is free sooner. It now only queues the search.
Created a returning ajax call for getting a list of all searches in queue en running on the displayShow page.

For the getManualSearchStatus() function, only use curItem from the ManualSearchQueueItem or FailedQueueItem threads.

Conflicts:
	sickbeard/search_queue.py
2014-09-15 13:31:16 +02:00
echel0n
627debcf88 Building of name cache executed now at start of searches to prevent building cache for show more then once when not needed 2014-09-15 02:46:08 -07:00
echel0n
47eb4fd21a Fixed backlog frequency calculator code for realtime changes 2014-09-15 02:35:14 -07:00
echel0n
e78392f04a Backlog frequency determined by algo that takes into account daily search frequency to prevent overlap of searches, automatically calculates allowed minimum value that is user-settable 2014-09-15 02:23:11 -07:00
echel0n
417047f590 Added ability to set number of days to start backlog searches from, eg 7 days would search for episodes 7 days and older 2014-09-15 01:57:50 -07:00
echel0n
67bd1a9e98 Fix for daily searches and high cpu usage plus increases search speed 2014-09-15 01:28:11 -07:00
echel0n
442631105b Fix for TypeError: list indices must be integers, not str in Indexer API code 2014-09-14 18:24:08 -07:00
echel0n
f211a7eccf Added sleep timer for proper finder code to prevent high CPU usage 2014-09-14 18:03:21 -07:00
echel0n
4fe3a96051 Possible fix for high CPU usage when doing NZB searches 2014-09-14 17:59:37 -07:00
echel0n
22d7230b3f Fix for AttributeError: 'FailedQueueItem' object has no attribute 'ep_obj' 2014-09-14 17:40:59 -07:00
Brian Hartvigsen
93f06af300 Fix where there may be empty values (such as cookies) in older configurations 2014-09-14 13:11:57 -06:00
Adam
1d41a638ee Update .travis.yml, fix imports and tests 2014-09-13 13:20:47 +08:00
Adam
80a028d1a6 Add TokyoToshokanProvider logo 2014-09-12 20:41:16 +08:00
adam111316
2a5706c7fd Merge pull request #793 from adam111316/TT
Add TokyoToshokanProvider support
2014-09-12 20:00:42 +08:00
Adam
1790b3be7f Add TokyoToshokanProvider support 2014-09-12 19:54:49 +08:00
rleadbetter
927e98996e Leading zero fix for Anime. 2014-09-11 06:51:02 +10:00
Adam
b43248a644 Fixing more newznab issues sigh 2014-09-11 00:25:22 +08:00
adam111316
58cdb6ba5d Merge pull request #789 from adam111316/fix_newznab_backlog
Fixes backlog for newznab providers
2014-09-10 23:32:46 +08:00
Adam
5d1ae90565 Fixes backlog for newznab providers 2014-09-10 23:30:08 +08:00
KontiSR
3366108255 - Removed annoying alert message when failed to retrieve newsnab capabilities (categories)
- Added backend debug logging
2014-09-10 16:43:58 +02:00
adam111316
88479e7e1b Merge pull request #787 from djoole/t411
Fix proper search for t411
2014-09-10 10:22:24 +08:00
djoole
cef62afdcf Fix proper search for t411 2014-09-10 01:07:27 +02:00
Adam
981d6612b8 Fixing typo in last commit 2014-09-08 17:45:02 +08:00
Adam
f5d3f71c70 Add search queue info to ManageSearches page 2014-09-08 11:54:43 +08:00
Adam
7613bdc7ad Fix default post processing with sync files option 2014-09-07 18:57:48 +08:00
djoole
6a393cc755 Added an option in Post Processing options do activated/deactivate postponing postprocess if sync files are present in download TV dir (activated by default) 2014-09-07 12:45:19 +02:00
echel0n
8f6d014830 Fixed issues with cache results being used during searches 2014-09-07 02:41:21 -07:00
echel0n
2193a4bfd1 Fixed search issues regarding error about result attribute being referenced early 2014-09-07 02:08:24 -07:00
echel0n
991a93991e Fixed newznab to search no more then 1000 results 2014-09-07 00:56:23 -07:00
echel0n
ba4b408af3 Improved newznab offset code 2014-09-07 00:48:09 -07:00
echel0n
ab16430b1a Improved newznab offset code 2014-09-07 00:44:48 -07:00
echel0n
20c0b4ea72 Fixed global name season error during searches 2014-09-06 22:25:01 -07:00
echel0n
2fbae22f2f Fixed BacklogSearchQueueItem show attribute error during searches 2014-09-06 22:06:11 -07:00
echel0n
3efa9709af Fixed DailySearchQueueItem show attribute error during searches 2014-09-06 22:01:24 -07:00
echel0n
59675f27ac Fixed failed download handling.
Improved search queue code.
2014-09-06 21:36:23 -07:00
echel0n
6ce43c7782 Added exception catching for timeouts to notifiers 2014-09-06 17:51:44 -07:00
echel0n
65eda93b2b Fixed high CPU usage during searches, adding conditional check to prevent un-needed name parsing of search results when search result was previously already parsed and checked during filtering of bad releases 2014-09-06 17:25:07 -07:00
echel0n
4af28657af Fixed TypeError: list indices must be integers, not list that occured during searches 2014-09-06 16:55:39 -07:00
echel0n
a0ef748f3b Fixed saving general settings rootDir error 2014-09-06 16:35:10 -07:00
echel0n
e3781ece75 Merge pull request #780 from djoole/t411
Added the torrent provider for www.t411.me tracker
2014-09-05 19:17:32 -07:00
echel0n
a32de0d523 Merge pull request #769 from KontiSR/dev
Added gui for for choosing newznab (tv) categories
2014-09-05 19:16:46 -07:00
echel0n
857b6bacb2 Merge pull request #762 from dhellwich/patch-2
Do not log ERROR when show isn't in list. Log WARNING instead.
2014-09-05 19:16:17 -07:00
djoole
159e8ceb7c Added the torrent provider for www.t411.me tracker 2014-09-06 02:16:04 +02:00
Adam
f944604f79 Fix #3 for daily/backlog checkbox saving 2014-09-05 22:02:16 +08:00
Adam
1317848782 Fix infinite loop with dognzb 2014-09-05 18:40:37 +08:00
Adam
0daf226313 Test #2 to fix daily/backlog checkboxes with custom newznab server 2014-09-04 07:52:39 +08:00
Adam
281247a90f Fix for daily/backlog checkbox values not saving correctly on providers 2014-09-03 18:40:56 +08:00
Adam
20725c1da7 Testing fix for missing api key on newznab providers 2014-09-03 15:36:42 +08:00
Woodpaker
8b4bb3a5a5 Fixed some git conflicts 2014-09-01 18:29:52 +02:00
Woodpaker
000467cc73 * Added saving of changed newznab categories in backend.
Added gui for selecting categories from multiselect box.
Created some helper function in js, for dynamically modifying selects/options

Made results of function for retrieving newznab capabilities more generic. In that now always a valid json is returned with success,tv_categories,error

Added gui elements for retrieving and displaying newznab capabilities

Added backend functions for calling ajax /getNewznabCategories?name=yourNewznabProvider&url=https://newznabprovURL&key=YourApiKey
Returns json.dumps() with TV category capabilities of newznab provider. Is going to be used for new gui element in adding newsnab provider.
2014-09-01 17:57:52 +02:00
echel0n
90356544cd Sports regex updated 2014-09-01 00:04:41 -07:00
Adam
73cfb28234 Merge branch 'master' of https://github.com/jmelen/SickRage into dev 2014-09-01 10:31:26 +08:00
adam111316
3c88563813 Merge pull request #765 from aelveborn/kat-mirror-fix
Fixed missing slash on Kat mirror URL
2014-09-01 10:25:32 +08:00
echel0n
45fc163434 PEP8 changes for rss feed cache code 2014-08-31 12:56:45 -07:00
Julio Melendez
8cdf1ddbee Switch from urlencode to json
Per the Pushbullet API (https://docs.pushbullet.com/http/) the POST should use a JSON body, with content-type 'application/json'
2014-08-31 11:10:00 -05:00
Andreas Älveborn
ecab1c35f8 Fixed missing slash on Kat mirror URL
Changed http://www.kickmirror.com to http://www.kickmirror.com/
2014-08-31 15:16:13 +02:00
adam
2b9945e0df Add transmission seed for X hours option 2014-08-31 14:41:53 +08:00
dhellwich
b2941d6bc0 Do not log ERROR when show isn't in list. Log WARNING instead.
Prevents the error log in webinterface from filling up, if there are downloads in your watch folder, which aren't in SB list
2014-08-30 16:17:09 +02:00
echel0n
ee458bd211 Fixed AttributeError: 'NoneType' object has no attribute 'is_scene' in scene_numbering code.
Show root dirs can not be set from general config menu.
Mass editing shows now has the ability to delete root dirs as well as edit them.
Daily search no longer is restricted to just 1 week of results for searching from which now allows for replacing lower quality downloads with higher quality ones if available.
RSS Cache is updated for each provider on demand now when performing manual, failed, backlog, or daily searches.
2014-08-30 01:47:00 -07:00
echel0n
00a1ebfee3 Fixed TypeError: string indices must be integers error when mapping indexer id's
Added full delete feature to mass update, removes show from SR and deletes show folder from hard drive. Remove will just delete show from SR without deleting files from hard drive

Fixed XML errors for TVRage indexer api
2014-08-29 10:05:15 -07:00
echel0n
3cb1c573a3 Fix for newznab provider settings not saving properly
Added new show option, delete now removes show from showlist and deletes from hard drive, remove will just remove show from showlist but leave files on hard drive untouched
2014-08-29 03:29:56 -07:00
echel0n
ea66c2c41b Newznab providers now search by tvrage ID if available and show name incase tvrage ID doesnt return any results 2014-08-28 23:15:51 -07:00
echel0n
6fd19de7e2 Fix for migrating to new newznab and torrent provider config formats 2014-08-28 22:52:02 -07:00
echel0n
ae5644ba91 Fix for migrating to new newznab provider config format 2014-08-28 22:30:30 -07:00
echel0n
18efdb2370 Fixed TorrentSearchResult instance has no attribute 'content' errpr 2014-08-28 22:22:55 -07:00
echel0n
bcffc09589 Replaced provider backlog only search option with 2 new options that allow you to enable daily searches and backlog searches individually per provider, default is enabled for both. 2014-08-28 22:16:25 -07:00
whiethatguy
ce52dc8333 Update bitsoup.py - new table format
Table that lists torrents has changed, and the download link is on third column
2014-08-27 10:14:13 -03:00
Matthew Haughton
efd11a6c08 notifiers/libnotify: fix syntax error from #624
Prior to this got error 'too many values to unpack' when updating
and libnotify notifications were enabled.
2014-08-26 19:19:34 -04:00
echel0n
38c57f3a92 Merge pull request #755 from RoostayFish/dev
Added indexerid to CMD_Show(ApiCall)
2014-08-26 07:52:24 -07:00
RoostayFish
25f57b26fe Added indexerid to CMD_Show(ApiCall) 2014-08-26 15:44:15 +01:00
echel0n
b03ffa231d Possible fix for incorrect show matches 2014-08-26 07:31:57 -07:00
echel0n
4739ab12ae Added www.kickmirror.com to list of urls to try 2014-08-25 23:09:13 -07:00
echel0n
8f43c58c9e Merge pull request #752 from adam111316/torrentbytes_fix
Fix for torrentbytes provider where torrentid is <6 characters long
2014-08-25 22:59:39 -07:00
Adam
f43c214069 Fixes rejection of invalid torrent files 2014-08-26 12:57:40 +08:00
Adam
13bef2b92d Fix for torrentbytes provider where torrentid is <6 characters long 2014-08-25 17:36:14 +08:00
echel0n
c2360f7eb5 Merge pull request #751 from adam111316/backlog_freq
Change minimum backlog frequency to a more acceptable value
2014-08-25 02:30:51 -07:00
Adam
a38229d04f Change minimum backlog frequency to a more acceptable value 2014-08-25 15:39:21 +08:00
echel0n
20ef28f392 Merge pull request #749 from adam111316/abd_fixes
Fix ABD shows manual and backlog searches
2014-08-25 00:33:31 -07:00
Adam
6b8a22898b Fix ABD shows manual and backlog searches 2014-08-25 14:54:22 +08:00
echel0n
8bdb76764e Merge pull request #743 from garvinob/branch-fix_torrent_seasonpack_downloads
Fixed result content for Season Pack results
2014-08-24 23:49:28 -07:00
adam111316
905b41c46a Fixes issues with newznab providers 2014-08-25 12:41:36 +08:00
Adam
58ff85d030 Fix for utorrent label setting
Fix for transmission client
2014-08-25 12:15:08 +08:00
Adam
ba5e5478e0 Fixes typo in previous commit 2014-08-25 11:32:41 +08:00
sammy2142
fc6fe9e777 Should fix some utorrent, rtorrent and deluge
problems.
This commit essentially undoes 54afca0472

The utorrent, rtorrent and deluge methods were still using result.hash to set label, seed ratio and priority etc (instead of torrent_hash which the commit referenced above changed it to).
I've changed it back to result.hash in this commit.

Reference problem posts:
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/7493-utorrent-unable-to-send-torrent
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/7533-sickrage-not-sending-tv-label-to-utorrent
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/7541-bug-rtorrent-unable-to-send-torrent
2014-08-24 19:46:26 +01:00
garvinob
dce55b3dac Renamed bestSeasonNZB to bestSeasonResult
bestSeasonNZB is confusing in this context
we are dealing with results which can be
NZBs or Torrents
2014-08-24 18:47:06 +01:00
garvinob
94063db43e Fixed result content for Season Pack results
Added an extra check into the snatchEpisode method
so that the result.content data for a required
torrent is always downloaded if needed
2014-08-24 00:19:17 +01:00
echel0n
4b6602797f Fix for newznab provider searches unicode issues 2014-08-23 14:40:13 -07:00
echel0n
5a027fdbe0 Merge pull request #741 from adam111316/fix_anime_exceptions
Fixes anime exceptions being cleared when editing the exceptions on edit...
2014-08-23 14:15:02 -07:00
echel0n
f65262e0e9 Fix for newznab provider searches 2014-08-22 23:22:46 -07:00
echel0n
dbb3b75d6e Updated sports regex pattern for more accurate matches and to filter out pre-event episodes 2014-08-22 23:11:21 -07:00
Adam
fea4116174 Fixes anime exceptions being cleared when editing the exceptions on editShow page 2014-08-23 11:55:00 +08:00
adam111316
7de9d96340 Merge pull request #740 from cptjhmiller/patch-1
Update trakt.py
2014-08-23 11:30:37 +08:00
adam111316
024cf79348 Merge pull request #736 from adam111316/usenet_offset
Support for newznab offset parameter - https://newznab.readthedocs.org/e...
2014-08-23 11:30:00 +08:00
Jamie
768cdffb42 Update trakt.py 2014-08-22 23:20:36 +01:00
echel0n
94ec9e6e6b Adds additional scoring for series number and series event name parser matches to help determine valid show info 2014-08-22 08:43:38 -07:00
echel0n
0fddbac1c4 Fix for No episode number found error for air-by-date/sports shows 2014-08-22 08:26:41 -07:00
echel0n
ca4fe51b97 Added scene_sports_format regex pattern to help match sports shows 2014-08-22 01:06:37 -07:00
echel0n
be17ed122b Fix for air-by-date and sports shows issues with parsing results. 2014-08-22 00:21:37 -07:00
echel0n
328597411e Fix for TorrentSearchResult instance has no attribute 'hash' 2014-08-21 23:32:09 -07:00
echel0n
27189d0406 Fix for files being deleted from show folder during post-processing runs 2014-08-21 23:19:42 -07:00
adam111316
acf4462a94 Merge pull request #738 from cptjhmiller/dev
Set blank variable
2014-08-20 18:51:57 +08:00
Jamie
e02490ee26 varable 2014-08-20 11:31:52 +01:00
adam111316
b249efd3d4 Merge pull request #737 from adam111316/torrent_rss
Fix for torrent rss feeds not validating on add
2014-08-20 16:38:58 +08:00
Adam
6179c8dfad Fix for torrent rss feeds not validating on add 2014-08-20 16:34:42 +08:00
Adam
4b964b77e2 Support for newznab offset parameter - https://newznab.readthedocs.org/en/latest/misc/api/ 2014-08-20 16:02:55 +08:00
Jamie
fea49167c5 Use correct item name 2014-08-19 23:47:16 +01:00
Jamie
f880f9c340 Fix series remove and add all episodes remove 2014-08-19 00:53:10 +01:00
echel0n
e44747ab49 Testing fix for s00e00 issue #2 2014-08-18 05:48:23 -07:00
echel0n
c0329159a0 Testing fix for s00e00 issues 2014-08-18 05:40:29 -07:00
adam
3bf102d160 Fixes speedcd provider issues 2014-08-18 16:49:14 +08:00
echel0n
6c15943363 Possible fix for failed to send torrent errors 2014-08-17 22:52:19 -07:00
echel0n
8415b32fc6 Possible fix for failed to send torrent errors 2014-08-17 22:51:45 -07:00
echel0n
11150efab0 Filter out possible torrent links that would return a 404 http error 2014-08-17 22:21:37 -07:00
echel0n
f3073174ed Possible fix for failed to send torrent errors 2014-08-17 22:02:29 -07:00
echel0n
88d68cfe11 Possible fix for failed to send torrent errors 2014-08-17 21:40:18 -07:00
echel0n
54afca0472 Possible fix for failed to send torrent errors 2014-08-17 21:38:45 -07:00
echel0n
4752e07733 Possible fix for failed to send torrent errors 2014-08-17 19:14:07 -07:00
echel0n
e2d1178515 Fix for season pack searches 2014-08-17 18:36:21 -07:00
echel0n
0a936ea1ef Changed log message to be less confusing for torrents 2014-08-17 18:32:47 -07:00
echel0n
4fdbb24587 Fix for version attribute error 2014-08-17 18:19:58 -07:00
echel0n
c019ffef97 Merge pull request #729 from adam111316/fix_zip_3
Third fix for zip updating and checkouts
2014-08-17 18:00:05 -07:00
echel0n
69b5b3a251 Merge pull request #728 from rogierhelmer/dev
Scene exception list not updated, Double show names in scene excep list after manual scan
2014-08-17 17:59:31 -07:00
Adam
ef4782ccf2 Third fix for zip updating and checkouts... 2014-08-18 08:17:23 +08:00
Woodpaker
6c28013586 webserve.py: small typo that prevented the absolute "scene absolute" numbering to update in the displayShow page.
scene_exceptions.py: scene exceptions were not saved. the exceptionCache variable used to cache the scene exceptions. The list with exceptions is updated in db, but when reopening your series edit page, the scene exception list is retrieved from the cache instead the db. I've created a small patch that updates the cache after updating the scene exceptions in db.
show_name_helpers.py: After each manual search the showName was added to the scene exceptions list. This was only added to the cache, but was anoying because up until a restart the list with scene exception names kept growing. Fixed this by refering to the function by value instead of by reference.
2014-08-17 21:17:20 +02:00
echel0n
251172cf7e Merge pull request #727 from balogg/dev
fix for multi ep format setting load
2014-08-17 06:15:08 -07:00
balogg
b884f85212 fix for multi ep format setting load 2014-08-17 19:30:03 +10:00
Adam
3f4f2e37b8 Second attempt to fix zip updating 2014-08-17 17:04:19 +08:00
echel0n
0242e421cc Merge pull request #723 from adam111316/fix_ABD
Fix for ABD shows
2014-08-17 00:18:28 -07:00
echel0n
2d2d47ce02 Merge pull request #722 from dkboy/dev
Update bitsoup.py
2014-08-17 00:17:19 -07:00
Adam
49a8df0cac Fix for ABD shows 2014-08-17 12:28:55 +08:00
Adam
48b79937b8 Possible fix for updating when using zips from github 2014-08-17 12:14:21 +08:00
dkboy
63dbe9e522 Update bitsoup.py
they've reorganized columns
2014-08-17 14:42:07 +12:00
Adam
96f918742a Fix for omgwtfnzb skipping: release error 2014-08-15 11:43:11 +08:00
echel0n
872dd2b9fc Delete files after it performs copy/movie/link instead 2014-08-14 04:56:01 -07:00
adam
41931b33a9 Fixes Torrent Leech daily search URL
Fixes TV torrents daily search no results
2014-08-13 17:15:25 +08:00
echel0n
e6149513c8 Merge pull request #714 from adam111316/more_cache_fixes
Consolidate more provider code
2014-08-12 18:34:17 -07:00
echel0n
27ac36cde9 Merge pull request #713 from piejanssens/dev
Add priority option for daily snatches (inc force)
2014-08-12 18:33:53 -07:00
echel0n
f43e4ef9dd Merge pull request #712 from tresni/normalize_lf
Return to linux line feeds
2014-08-12 18:33:15 -07:00
echel0n
1fbecf5ebd Merge pull request #710 from adam111316/fix_versionspropers
Fix non-anime propers being skipped for not having a version
2014-08-12 18:32:36 -07:00
echel0n
d22f326737 Merge pull request #709 from adam111316/fix_branches
Fixes listing branches for when using source code
2014-08-12 18:32:10 -07:00
echel0n
a602d213a5 Merge pull request #708 from adam111316/fix_trakt_config
Fixes for trakt settings not saving
2014-08-12 18:31:28 -07:00