Commit graph

1906 commits

Author SHA1 Message Date
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
adam111316
3f10a9e34f Merge pull request #811 from sdbarker/master
Update comingEpisodes.tmpl to prevent a 'NotFound' error for...
2014-09-18 08:37:26 +08:00
adam111316
ca2e2d4dcf Merge pull request #810 from KontiSR/dev_copy_dict_master_issue
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-18 07:33:10 +08: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
Scott D. Barker
f3c1fa6b61 Update comingEpisodes.tmpl to prevent a 'NotFound' error for cur_ep_enddate 2014-09-16 22:11:21 -07:00
adam111316
c65385da96 Merge pull request #805 from adam111316/unittest_fixes
Fix some of the unit tests
2014-09-16 19:07:18 +08: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
echel0n
4a03885956 Bottom of page backlog nextrun shows time as well as date now 2014-09-15 06:23:15 -07:00
echel0n
68bd6d87e2 Merge pull request #802 from KontiSR/dev_manual_search2
Implemented the queuing functionality also for Failed downloads (Retries).
2014-09-15 06:09:29 -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
echel0n
fc23454a1e Renamed filename for wgn america network logo 2014-09-15 05:59:11 -07:00
echel0n
e3db9b8c93 Renamed filename for donate button 2014-09-15 05:55:53 -07:00
echel0n
00879835a3 Added Pay-per-view, TruTV and WGN American network logos 2014-09-15 05:29:10 -07:00
adam111316
026c456e0d Merge pull request #801 from KontiSR/dev_manual_search2
Enhancement to Manual searching and Gui queuing of manual searches
2014-09-15 19:44:04 +08: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
640b840cde PEP8 correction for search web html template 2014-09-15 02:30:01 -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
adam111316
8a35355d49 Merge pull request #795 from adam111316/travis
Update .travis.yml, fix imports and tests
2014-09-13 13:23:32 +08:00
Adam
1d41a638ee Update .travis.yml, fix imports and tests 2014-09-13 13:20:47 +08:00
adam111316
3814d833ad Merge pull request #794 from echel0n/dev
Dev
2014-09-13 00:04:53 +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
adam111316
b4375dfee5 Merge pull request #792 from KontiSR/dev-improvements-newznab-capabilities
changed technique retrieving of newznab capabilities from sync ajax call...
2014-09-11 16:59:19 +08:00
adam111316
e2791ed1ad Merge pull request #790 from rleadbetter/leading_zero_anime
Leading zero fix for Anime.
2014-09-11 16:58:40 +08:00