1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 19:12:26 -05:00
Commit Graph

1661 Commits

Author SHA1 Message Date
Tab Bennedum
40d6c0abab Merge branch 'api-fixes' 2014-11-26 08:59:37 -05:00
echel0n
360c3afa08 Removed FTFY, python 2.6 compatibility issues.
Re-coded encodingKludge encode/decode for unicode <-> utf-8
2014-11-25 17:22:31 -08:00
Tab Bennedum
c449ca97e3 Added correct Content-Type header to showPoster calls. 2014-11-25 14:48:53 -05:00
Tab Bennedum
1e8c0abac4 Added backlog API. 2014-11-25 14:31:44 -05:00
Tab Bennedum
924dc04a07 Added failed download API. 2014-11-25 13:33:33 -05:00
Tab Bennedum
a3c733d686 Removed redundant call to helpers.mapIndexersToShow. 2014-11-25 13:19:39 -05:00
echel0n
468af14dfd Fix for SCC provider, resolves NoneType issues 2014-11-24 22:25:06 -08:00
echel0n
ded1e5d8a0 Fixed a issue with the encodingKludge and decoding of unicode data 2014-11-24 19:37:43 -08:00
echel0n
9a33ddf85c Fix for issue #946 - Adding of shows via webAPI was failing.
Improvements made to Indexer's API modules, better error handling for missing or incomplete shows, shows that don't have actor or banner info are now properly error handled as well.
2014-11-24 18:47:14 -08:00
echel0n
a9b44a156d Fixed issues importing encodingKludge module. 2014-11-24 14:31:50 -08:00
echel0n
6a140aa907 Added FTFY module to help with any encoding/decoding issues 2014-11-24 13:42:30 -08:00
echel0n
f73aee78cc Fix for issue #939 - utf8 decoding issues 2014-11-24 12:17:32 -08:00
echel0n
1003e342ca Improved WebAPI interface:
sb.searchindexers searches ALL indexers
sb.searchtvrage searches TVRage indexer
sb.searchtvdb searches TVDB indexer
2014-11-24 11:31:22 -08:00
echel0n
1cd91e6cc5 Fix for issue #942 - Previous code update borked webapi code for show's cmd 2014-11-24 09:53:31 -08:00
echel0n
31a9d96f6c Fix for issue #891 - Trakt was failing when trying to update watchlist.
Trakt watchlist now tvdb and tvrage compatible.
Added 'trakt_id' constant to IndexerAPI configs module.
2014-11-24 02:59:39 -08:00
echel0n
67dc6d9194 Merge remote-tracking branch 'origin/develop' into develop 2014-11-23 08:42:47 -08:00
echel0n
3c70ef6f04 WebAPI now supports tvrageid, tvdbid, and indexerid options for passing in the indexer id when trying to add shows 2014-11-23 08:42:34 -08:00
echel0n
06d14d3450 Merge pull request #937 from miigotu/develop
Strip year from show title when adding existing shows, so show is found ...
2014-11-23 05:28:22 -08:00
echel0n
6f833286b7 Fixed issue with default_ep_status when loading from DB.
Updated tv_tests to reflect new default_ep_status show option.
2014-11-23 05:18:03 -08:00
echel0n
47ef5bf2b2 Fixed backlog webapi issue 2014-11-23 04:53:31 -08:00
echel0n
a18c72f2ea Small code fix for trakt.tv trending shows func
Fixes for Indexer API's
2014-11-23 04:51:10 -08:00
echel0n
29d22b8a8f Trakt.tv recommend shows and trending shows now work with both TVDB and TVRAGE Indexer's 2014-11-23 04:08:37 -08:00
echel0n
cf35e9778c Added per-show option that allows you to set the default status that gets applied to new and missing show episodes, default is SKIPPED
Fixed issues for failed/manual snatches always failing to complete
2014-11-23 01:17:37 -08:00
Dustyn Gibson
ed00cbc053 Strip year from show title when adding existing shows, so show is found on TVDB. Fix processing of NFO. 2014-11-22 18:39:29 -08:00
echel0n
de23635e28 Fix for issue #933, resolves Commit object attribute issues 2014-11-22 10:52:15 -08:00
echel0n
8deb7485ab Merge remote-tracking branch 'origin/develop' into develop 2014-11-22 10:47:09 -08:00
echel0n
e0f78603cb Fix for issue #933, resolves github comparison errors during update checks 2014-11-22 10:46:33 -08:00
echel0n
30f659584f Merge pull request #909 from fernandog/patch-2
Add provider name to notifiers
2014-11-22 09:06:18 -08:00
echel0n
607a91ce50 Merge pull request #932 from Hellowlol/addmoretoapi
Add location, filesize, subtitles and releasename
2014-11-22 09:04:00 -08:00
echel0n
345a167ac9 Merge pull request #934 from fernandog/patch-6
Fix invalid continuation byte for webapi
2014-11-22 09:00:10 -08:00
echel0n
04a83ac3fb Fix for anime processing issues 2014-11-22 07:13:48 -08:00
Fernando
6002722c7e Fix invalid continuation byte for webapi
I get this error when using API:
{"result":"error", "message": "error while composing output: "utf8 : terça 9:00  : error 3 : error 4 : invalid continuation byte"}

There's a special char "TERÇA"

Don't know why this happens. I had a special date style and even after change it to "yyyy-mm-dd" this error still happens. Don't know why the api builder is still using the translated week day. Also timezone is set to "network"

This error only happens when missing/future has "terça" - Tuesday and "sábado" - saturday weekdays. The other week days there's no special char.
2014-11-22 11:49:19 -02:00
John
13ecfd027a Add location, filesize, subtitles and releasename
to Show.Seasons
2014-11-21 22:10:19 +01:00
echel0n
8320672669 Instead of checking for NULL when trying to update trakt.tv library or watchlists we now check length 2014-11-20 04:47:36 -08:00
echel0n
461b1d89d3 Fix for bug #911, escapes regex for ignored words 2014-11-18 20:25:27 -08:00
echel0n
e57fa4d585 Merge pull request #917 from Hellowlol/apifasterplx
Respect cache.
2014-11-18 19:45:00 -08:00
John
4f773ec4ea Respect cache.
Tries to fix https://github.com/SiCKRAGETV/SickRage/issues/903
2014-11-19 00:41:50 +01:00
Fernando
dce40c487f Add provider name to notifiers
when snatch an episode
2014-11-16 12:32:46 -02:00
echel0n
d96597bf27 Fix for missing github modules, forgot to add folder to git repo 2014-11-16 04:15:40 -08:00
echel0n
5e8cdbfb9a Fix #4 for github module not found issue 2014-11-16 04:01:15 -08:00
echel0n
50dd3a531d Fix #3 for github module not found issue 2014-11-16 03:50:58 -08:00
echel0n
5d46d267b6 Fix #2 for github module not found issue 2014-11-16 03:20:14 -08:00
echel0n
4d41d881eb Fix for pyGitHub module not found issue.
Added in bugtracker class
2014-11-16 02:58:20 -08:00
echel0n
9abe5ea859 Updated libs to include new pyGitHub modules.
Updated versionChecker code to reflect new pyGitHub module.
2014-11-15 23:58:37 -08:00
echel0n
b8295024be Fixed bug #897, switched message to be classified as a warning instead of a error 2014-11-15 20:59:55 -08:00
echel0n
aa76734f56 Fix for bug #898, fixes issues with show image overlay when using small poster layout 2014-11-15 20:57:39 -08:00
echel0n
238df07c1d Fix for bug #903, Fixes issues relating to proper and repack provider searches 2014-11-15 20:17:47 -08:00
echel0n
b1d7cdc1ad Fixed bug #895, automatic post-processing not being enabled when setting enabled from config. 2014-11-14 19:59:22 -08:00
echel0n
1c46813e89 Fixed adding of trending shows.
Fixed adding root directory issues.
2014-11-14 16:35:10 -08:00
echel0n
297e69094a Fixed regex issue 2014-11-12 22:38:51 -08:00
echel0n
88e1f2e65a Added function to auto-update remote origin url, can be manually set in config as well. 2014-11-12 16:00:45 -08:00
echel0n
78b9bb2c8d Changed repo org url to reflect new org SiCKRAGETV 2014-11-12 14:02:25 -08:00
tehspede
a1ce52df8f Fix missing HTML in notifications resulting in incorrect formatting. 2014-11-12 09:24:34 +02:00
Prinz23
732009fd98 Change how the "local/network" setting is handled to address some issues.
Move local/network setting datetime convert into it's own function.
Function parse_date_time() now returns when possible a correct timezone aware datetime.
Change webapi to use new converter.
Fix Daily Searcher.
Fix saving old DateTime setting.
Add safety check if network_dict is already loaded.
2014-11-11 18:15:25 +00:00
JackDandy
477b0806b0 Fix API response header for JSON content type and the return of JSONP data.
The API should return application/json Content-Type for JSON data instead of application/html. Tornado expects a dict in order to JSON encode and send header "Content-Type:application/json". SR already encodes data plus it supports JSONP. So, the encoded string data is wrapped into a dict, and a test is added at Tornado def write() to unwrap and skip encoding, in order to set the correct content-header and also use JSONP.

Added file HACKS.txt to serve as a reminder for anyone updating the library.
2014-11-11 13:22:03 +00:00
JackDandy
afce91f79d Change reporting failed network_timezones.txt updates from an error to a warning.
Tone down the language used and error to a warning for this common temporary server side fault.
2014-11-10 04:45:26 +00:00
JackDandy
0607b912d8 Add an anonymous redirect builder for external links.
Add anonymous redirect to external links on pages... Add Trending Show, Add Existing Shows, Add New Shows, Coming Episodes, Display Show, Config Notifications, Config Anime, Subtitle Providers, ASCII chart on General Config Advanced, links of newly created Usenet and Torrent providers.
Update xbmc link to Kodi at Config Notifications.
Fix irc protocol link to not use http protocol linkage on Config/Help and align lower right side column to the upper right side text.
2014-11-10 04:01:53 +00:00
Adam
687d2b96ab Fix post processing when using tvrage indexer and mediabrowser metadata generation 2014-11-09 13:44:47 +08:00
Supremicus
c0d6641f04 Fix missing kat url in config_providers 2014-11-09 13:45:10 +10:00
Brendann
e58f3fd9cd Update growl.py with missing registration of update notification
Update CHANGES.md

Added line to growl registration which adds common.NOTIFY_GIT_UPDATE as a sickrage notification type.
growl on some systems will not show notification unless it is registered.
2014-11-08 20:59:07 +08:00
JackDandy
46cd85299e Change improve Add Show/Add Trending Show page.
Fix white screen of death when trying to add a show that is already in library by replacing "Add Show" button with "In library".
Add show sorting options.
Add handler for when Trakt returns no results.
Fix image links when anchor child images are not found at Trakt.
Add image to be used when Trakt posters are void.
2014-11-07 22:45:56 +00:00
Adam
16b146284d Fix invalid responses when using sickbeard.searchtvdb api command 2014-11-07 08:19:27 +08:00
JackDandy
ef4470bd78 Add send2trash, General Config/Send to trash, and catch show dir not found exception.
Add send2trash, a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. If send2trash is found not compatible, the user can use the default delete and manually delete failed send2trash files.
Add General Config/Misc/Send to trash for actions that involve removing shows and log rotation.
Add handling for the exception raised while deleting a show and show folder no longer exists.
2014-11-05 05:36:16 +00:00
Adam
1cf3237b9e Fixes changing root dirs on the mass edit page 2014-11-04 18:39:43 +08:00
tehspede
ae94ab6d80 Change API now uses Timezone setting at General Config/Interface/User Interface/ at relevant endpoints 2014-11-04 00:26:22 +02:00
Adam
d835e32063 Removed requirement for http login for API when an API key is provided 2014-11-02 23:50:47 +08:00
Adam
f6eda6954d Merge branch 'subtitle_api' of https://github.com/Hellowlol/SickRage into develop 2014-11-01 11:56:48 +08:00
Adam
72b9708a40 Merge branch 'feature/fix_indexers_config' of https://github.com/pmaciocia/SickBeard-TVRage into develop 2014-11-01 11:48:32 +08:00
JackDandy
d6950bc6f1 Fix exception raised when converting 12pm to 24hr format, also handles 12am.
Triggered when setting file modify time (e.g. during PP and also scheduled show updates).
2014-10-31 15:29:18 +00:00
John
f185c1fee0 add subtitle to cmd show and shows 2014-10-30 22:24:08 +01:00
Peter Maciocia
ea3a165987 fix not loading proxy_indexers config 2014-10-30 19:39:44 +00:00
tehspede
b9b88b18a6 Combined 'Delete' and 'Remove' buttons in to one on the individual show pages. 2014-10-29 21:06:20 +02:00
Adam
dda6cfce57 Fixes errors occurring when a show folder is deleted outside of SickRage 2014-10-28 14:47:47 +08:00
JackDandy
d5863943c0 Fix theme identification for spinner when restarting. 2014-10-28 04:29:15 +00:00
Adam
9903819ce0 Implement automatic saving of poster layout sorting options on show list 2014-10-27 23:12:24 +08:00
JackDandy
3b5fe4b0de Overhaul General Configuration. Tweak top navbar. Fix imdb and other images.
Change to rename General Configuration -> "Web Interface" tab as "Interface".
Add a "User Interface" section to the "Interface" tab.
Change consolidate "Date and Time" and "Theme" tab content to "User Interface" section.
Add field in Advanced setting for a custom remote name used to populate branch versions.
Change theme name "original" to "light".
Improve text wording on all UI options under General Configuration.
Improve reduce over use of capitals.
Improve streamline UI layout, mark-up and some CSS styling of all General Configuration tabs.
Fix default top navbar background white-out behaviour on browsers that don't support gradients.
Improve top navbar gradient use for greater cross browser compatibility (e.g. Safari).
Fix dark theme divider between Season numbers on display show page.
Fix main background and border colour of logs on log page.
Fix imdb and three other images rejected by IExplorer because they were corrupt. Turns out that they were .ico files renamed to either .gif or .png instead of being properly converted.
Fix "Subtitle Language" drop down font colour when entering text on the Subtitles Search settings.
Clean up text, correct quotations, use spaces for code lines, tabs for html.
Update changelog.
2014-10-27 00:29:12 +00:00
JackDandy
6c8d72b9c1 Revert "Added gui for IMDB watchlists in Config General."
The main core of this code was lifted from Trakt code and not developed enough to be suitable for purpose given that the Trakt code isn't fully developed either. An issue found leading to this decision was that show statuses were set false instead of the expected default, however, worse was that users had no way of choosing shows to add, was not informed of what was actually going on once a URL was added to the UI, and was not offered options prior to adding shows like the normal add new show work-flow does. Basically, there are too many issues and this feature is too immature for inclusion.
2014-10-24 17:03:32 +01:00
adam
e2841c2a9c Merge branch 'hotfix/0.2.1' into develop 2014-10-22 14:45:03 +08:00
Anthony Snavely
3494d071b9 Fix HD-Torrents
Fix HD-Torrents so it works properly.
2014-10-22 14:39:33 +08:00
Supremicus
82343608a0 Added date formats for d/m/y 2014-10-22 12:19:06 +10:00
adam111316
bd6cc51975 Merge pull request #21 from SickragePVR/feature/FixIPT
Feature/fix ipt
2014-10-19 02:39:22 +08:00
JackDandy
b7c37ccaf7 Fix searching IPTorrentsProvider. 2014-10-17 04:21:21 +01:00
JackDandy
85d022916f Add "Archive on first match" to Manage, Mass Update, Edit Selected page. 2014-10-16 22:41:46 +01:00
adam
d452f199b6 Merge branch 'hotfix/0.1.0' into develop 2014-10-16 20:35:18 +08:00
adam
4e6afd7615 Update repo urls from echel0n to point to SickragePVR. Should fix autoupdating to the correct repo 2014-10-16 19:55:33 +08:00
Adam
560ffca7dd Make hardlink debug error more verbose 2014-10-13 23:20:44 +08:00
Adam
16a54e62d6 Make failed torrent log message more verbose 2014-10-13 23:10:19 +08:00
Adam
d2077453b6 Fix ABD regex for certain filenames 2014-10-13 19:19:33 +08:00
Ofir Brukner
b8c8e02394 Fixed a tiny bug in searchShowSubtitles, to show all languages instead of just the new one. 2014-10-13 12:49:05 +03:00
Ofir Brukner
b0426ca12d Fixed a few bugs.
Also fixed buggy search function in webserve.
2014-10-13 00:25:06 +03:00
Adam
d5daa14dc0 Fixes crash on general settings page when git output is none 2014-10-12 17:28:58 +08:00
Peter Maciocia
5aae8d7b48 add checkbox to control proxying indexers 2014-10-10 19:08:53 +08:00
adam
c26eb39695 Fix for custom newznab providers with leading integer in name 2014-10-10 15:39:13 +08:00
adam111316
ef621a3b17 Merge pull request #861 from Supremicus/dev
UI Fixes
2014-10-09 08:10:48 +08:00
Supremicus
29403ff2cb Added small poster view back in 2014-10-09 10:00:36 +10:00
D. Casu
c8d5989676 Fixes calendar always being unprotected
SR now makes use of the "unprotected calendar" option in the advanced
settings.

Issue report:
https://sickrage.tv/forums/forum/help-support/bug-issue-reports/8904-calendar-always-unportected
2014-10-08 20:05:41 +02:00
adam111316
e4fad0b6b0 Merge pull request #853 from nielsenj/fixSeedIdleTime
Fixes SR setting SeedIdleLimit no matter what
2014-10-08 15:50:01 +08:00
adam
1668f80117 Add theme_name to config and expose THEME_NAME global 2014-10-08 14:08:26 +08:00
Justin Nielsen
78806a2223 Fixes SR setting SeedIdleLimit no matter what 2014-10-07 13:39:11 -07:00
adam111316
fe71731da6 Merge pull request #852 from tactmaster/dev
Changing /calendar to add Season and Episode to the description
2014-10-08 00:18:44 +08:00
Ed Watson
1bb5c138fd changing /calendar.Adding Season and Episode to the description of the
event rather than location. (To stop my phone trying to navigate to TV
shows)
2014-10-07 12:55:58 +01:00
Adam
a72779d5d3 Fix omgwtfnzb provider retention = 1 bug 2014-10-07 08:27:02 +08:00
Adam
58e8df3c0d Adjust timeout for clients for slower machines 2014-10-06 17:50:22 +08:00
adam111316
a8767e0a51 Merge pull request #849 from adam111316/global_required_words
Add global required words
2014-10-06 01:46:40 +08:00
adam111316
ba7d8f8e66 Merge pull request #848 from echel0n/transmission_timeout
Adjust transmission timeout for slower systems
2014-10-06 01:27:23 +08:00
adam
52a1254cfa Add global required words 2014-10-06 01:08:32 +08:00
adam
24b7c85100 Fix git checkout when notifiers are enabled 2014-10-06 00:54:46 +08:00
adam
db41f2f1fc Adjust transmission timeout for slower systems 2014-10-06 00:39:56 +08:00
Adam
b83b8721a0 Fix anime naming patterns being stored as sports naming patterns 2014-10-04 13:08:48 +08:00
Adam
d8e52f2098 Fixes displayshow error for series with special characters 2014-10-03 07:34:09 +08:00
Adam
4adad577c8 Fixes show folder not deleting if files remain in folder 2014-10-02 19:20:03 +08:00
Adam
0822d15d36 Add sizing field on show page 2014-10-02 16:41:13 +08:00
adam111316
f2f7243e97 Merge pull request #840 from bobobo1618/patch-1
Catch airs/network set to None
2014-10-02 08:37:21 +08:00
adam111316
f00dee3338 Merge pull request #837 from Hellowlol/process_api
add postprocess to api
2014-10-02 08:35:35 +08:00
bobobo1618
60cc99bfd4 Catch airs/network set to None
Some shows don't have a network set, which causes an exception when the value is coerced to Unicode.
2014-10-02 10:31:13 +10:00
John
6fe49066c8 add postprocess to api 2014-10-01 01:13:04 +02:00
KontiSR
7165df7405 Added gui for IMDB watchlists in Config General.
Used regex checks with javascript popup, for checking if valid imdb csv watchlist.
Added test/test_tvdb_api.py for testing the tvdb api for retrieving shows by IMDB id.

TODO: Help for assisting users in getting the correct IMDB url.
maybe, make interval configurable

First changes for imdb watchlist checker

Thrown the couch code overboard and created my own version of an imdb watchlist scraper

Added IMDB thread and test values with an IMDB csv url. These values should be replaced by front end UI settings.

- Removed some tracelogs when unable to download watchlist
- Added settings for enabling and setting of the watchlist csv url
TODO:
- create UI for setting from frontend
- Implement frontend and backend checks for validating the csv url

Default interval is 1 hour.
2014-09-30 12:25:11 +02:00
adam
37f021feb6 Custom naming for anime 2014-09-29 19:40:16 +08:00
Adam
164724a63d Fixes error: SHOWUPDATER: local variable 'cur_indexerid' referenced before assignment 2014-09-28 10:16:22 +08:00
Adam
2230420720 Fixes exception generated in thread DAILYSEARCHER: 'NoneType' object has no attribute 'getEpisode' 2014-09-25 23:12:16 +08:00
KontiSR
0d415fcc20 This is a first attempt of getting the season pack downloading to work.
Unfortunately some of the old code I modified is still not 100% clear to me.. so I can't really oversee if this will work. That's why I suggest, this should be extensively tested, before merging into master!

I broke backlog searching.. Should be working again.

Tested, and seems to be working fine!
2014-09-25 13:18:07 +02:00
adam111316
80e03a1475 Merge pull request #827 from KontiSR/properfix_updating_client_with_queuitem_status
This is a check used in webserve.py getManualSearchStatus(), to get the ...
2014-09-25 17:49:24 +08:00
adam111316
c94da47bab Merge pull request #832 from seiki/master
fix transmission seed time
2014-09-25 16:49:17 +08:00
adam111316
43d340bace Merge pull request #830 from KontiSR/showstatus_missing
Not skipping when self.status = None, but assigning empty string ''
2014-09-25 14:48:32 +08:00
seiki
6a17ffae3c fix transmission seed time 2014-09-24 21:47:11 -03:00
adam111316
615f89df01 Merge pull request #826 from EchelonFour/trakt_fixes
fixes to make trakt watch list work
2014-09-25 08:09:26 +08:00
adam111316
fc96e5a7d6 Merge pull request #824 from adam111316/thread_dailysearch
Threads dailysearcher process for each provider. Allows dailysearcher to...
2014-09-24 22:22:18 +08:00
KontiSR
32a88cf105 Not skipping when self.status = None, but assigning empty string ''
Added addiontional check for checking of the self.status is filled with the show status. If not, debug message is generated and the show is not updated.
2014-09-24 15:49:50 +02:00
Frank Fenton
557a286231 fixes to make trakt watch list work 2014-09-24 22:46:09 +10:00
Adam
c1a199d698 Fix for attribute error when no newznab responses are available 2014-09-23 22:15:13 +08:00
KontiSR
058f9d1399 This is a check used in webserve.py getManualSearchStatus(), to get the current running queuitem, if it is a manual or failed/retry search. If so, the frontend will report the matching episode as in status "searching".
The function is_manualsearch_in_progress() is introduced for this purpose and only reference in webserve.py.
Previously when a daily search is running, and a manual search is queued behind it, it will wrongly give back that the manual search is running, this could result in unexpected behavior.
2014-09-23 11:06:02 +02:00
Adam
bc16d23b4f Temp fix for root dirs config resetting 2014-09-23 16:13:48 +08:00
Adam
0aedf52997 Threads dailysearcher process for each provider. Allows dailysearcher to continue other operations without having to wait for providers with slow network operation 2014-09-22 13:41:29 +08:00
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