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

1478 Commits

Author SHA1 Message Date
echel0n
b0d550b3fb Fix for no attr success 2014-09-21 13:42:01 -07:00
echel0n
f15d5cff57 Revert "Fix for updating queue icon when DailySearchQueueItem is running." 2014-09-21 13:37:14 -07:00
KontiSR
69bb4d6373 Fix for updating queue icon when DailySearchQueueItem is running.
Did not had any impact on searching.. only unexpected behavior when updating the spinner or queue img.
2014-09-21 12:18:43 +02:00
adam
5ac3895600 Fixes daily search and speed improvements 2014-09-20 20:34:00 +08:00
echel0n
36bf98fcc5 Merge pull request #812 from sdbarker/pushbullet-fixes
Updates to Pushbullet functionality to address rejected keys / connections, provide "All Devices" functionality
2014-09-19 20:56:10 -07:00
echel0n
1adaf8b0d0 Merge pull request #813 from KontiSR/dev_fix_searchbacklog
Fixed typo in searchBacklog. Introduced with search from delta functiona...
2014-09-19 20:55:59 -07:00
echel0n
0a8e714b0e Merge pull request #814 from KontiSR/dev_failed_download_fixes
Fixed SearchFailedDownload when selecting multiple ep's as failed in dis...
2014-09-19 20:55:52 -07:00
echel0n
a20b9cb6ba Merge pull request #815 from KontiSR/dev_fix_tokyotosho_no_rows_returned
Dev fix tokyotosho no rows returned
2014-09-19 20:54:38 -07:00
echel0n
f54412fc3d Merge pull request #816 from KontiSR/fix_newznab_offset
Fix offset calculation. No more unnecessary (double) searches.
2014-09-19 20:54:29 -07:00
echel0n
2a8c00e774 Merge pull request #817 from KontiSR/dev_nyaatorrent_qualityparsing
Fixed the qualityparsing for nyaatorrent search results
2014-09-19 20:54:09 -07:00
echel0n
8a10b0ced5 Merge pull request #818 from KontiSR/dev_addsearchstring_newznab_no_ep_par
Made improvements for searching for anime on newznab providers, who have...
2014-09-19 20:53:58 -07:00
darkdragon2000
7ba97b6b01 Update kat.py
Fix search string for air-by-date to only return episodes for the date searched.
2014-09-19 16:45:59 -04:00
KontiSR
d0dac45315 Made improvements for searching for anime on newznab providers, who haven't straitened out there anime episode parsing.
Should provide more search result using for example: usenet-crawler, nZEDb, spotweb.

Newznab now also searches by q= querystring. Ommits the Ep.

Needed to cast ep (int) to str, for str concatenation

add searchstrings for searching newznab providers excluding the ep= paramater. I've added the episode to the q= param. querystring could look like: ?q=showname%2043
2014-09-19 16:17:49 +02:00
KontiSR
fd4e26795f Fix offset calculation. No more unnecessary (double) searches.
For anime shows: if no absolute numbering is available, use the default numbering.
2014-09-19 15:49:26 +02:00
KontiSR
7e3b9848bd Fixed the qualityparsing for nyaatorrent search results 2014-09-19 15:43:31 +02:00
KontiSR
c54e70e99b Fixed displaying of currently running searches 2014-09-19 13:56:49 +02:00
KontiSR
4b1b3c6488 When no absolute episode number retrieved, fall backto the scene_episode. Else search will be done for episode: 00 2014-09-19 12:06:59 +02:00
KontiSR
8b678445cc Fix exception for when no results returned. 2014-09-19 12:05:50 +02:00
KontiSR
a4c8c53c91 Fixed SearchFailedDownload when selecting multiple ep's as failed in displayShow
Searched for other occurrences for the search_queue.FailedQueueItem() call.
Changed segment to [segment]

The failedDownloadQueueItem always expects a single epObj in the segment. But when checking multiple episodes as "Failed" in displayShow, an array is provided. I've changed the queueItem to always iterate over it as an array. And i've made sure that when retry a single episode, it's also send to the queueItem as an array (with a single element).
I've had to adapt the queuing functionality in webserve for this.
2014-09-19 10:55:05 +02:00
KontiSR
47cd8b53f0 Fixed typo in searchBacklog. Introduced with search from delta functionality. 2014-09-19 10:49:37 +02:00
Scott D. Barker
50dc83892f - Update Pushbullet notifier to no longer base64 encode the API key which was causing Pushbullet to reject the key and connections
- Update Pushbullet notifier's authorization header to reflect their API
- Update the JS that populates the Pushbullet device list to provide an "All Devices" option
2014-09-17 20:24:27 -07:00
KontiSR
4c8b100be9 Shouldn't be copy() but update().
Tested now, and at least the exception is gone.
2014-09-17 13:43:10 +02:00
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