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

2146 Commits

Author SHA1 Message Date
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
echel0n
480a51275e Merge pull request #718 from echel0n/dev
Dev
2014-08-14 04:37:14 -07:00
echel0n
dd23bf39e9 Merge pull request #717 from cdloh/dev
Fixes issue with search page from PR 713
2014-08-14 04:36:50 -07:00
Callum Loh
b140354b6d Fixes issue with search page from PR 713 2014-08-14 17:11:35 +10:00
echel0n
252a81747a Merge pull request #716 from echel0n/dev
Dev
2014-08-13 15:00:20 -07:00
echel0n
a9f15f9629 Merge pull request #715 from adam111316/even_more_cache_fixes
Fixes even more daily search issues
2014-08-13 14:59:53 -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
echel0n
9cffbfe6ee Merge pull request #707 from adam111316/sync_files
Halt post processing if lftp temporary files are detected
2014-08-12 18:31:18 -07:00
echel0n
244fc105b7 Merge pull request #706 from adam111316/auto_pp_config
Fixes resetting of auto postprocessing timer config
2014-08-12 18:30:54 -07:00
adam
22f3a2e41b Consolidate more provider code
Fix tvtorrents issue

Remove old providers
2014-08-13 05:52:59 +08:00
Brian Hartvigsen
37e35754c4 Add fixing name_parser/parse.py too... 2014-08-11 17:38:37 -06:00
piejanssens
e4282df953 Add priority option for daily snatches (inc force)
This adds a priority option that allows the user to specify the
priority to be used for daily/recent snatches instead of the default
high value ‘100’.

This also includes the use of priority ‘force’ which will let nzbget
download the task even if the queue is paused.
2014-08-11 22:07:02 +02:00
Brian Hartvigsen
92d55a35bd Return to linux line feeds 2014-08-11 11:48:50 -06:00
Adam
d0b0ec2f3d Fix non-anime propers being skipped for not having a version 2014-08-11 22:01:27 +08:00
Adam
0abbdf3d44 Fixes listing branches for when using source code 2014-08-11 19:41:53 +08:00
Adam
f4c0893d32 Fixes for trakt settings not saving 2014-08-11 19:29:35 +08:00
Adam
72b0b04045 Halt post processing if lftp temporary files are detected 2014-08-11 18:29:28 +08:00
Adam
d9f073bbd0 Fixes resetting of auto postprocessing timer config 2014-08-11 18:19:48 +08:00
echel0n
90146d33fa Merge pull request #703 from dwaldhans/branch-search_pattern_fix
Fixed search pattern for checking ignored and required words in release names
2014-08-10 21:37:37 -07:00
echel0n
4d7d85e21b Merge pull request #704 from adam111316/hdbits_cache
Fix for HDbits tvcache issue
2014-08-10 21:37:02 -07:00
echel0n
ad7c8d8c17 Merge pull request #705 from adam111316/airdates_fix
Fix for tpb ABD shows
2014-08-10 21:35:24 -07:00
Adam
66f962f89b Fix for tpb ABD shows 2014-08-11 08:10:24 +08:00
Adam
e19f1ee53e Fix for HDbits tvcache issue 2014-08-11 07:59:56 +08:00
David Waldhans
16ae4c1db7 Fixed search pattern for checking ignored and required words in release names 2014-08-10 13:56:55 +02:00
echel0n
9714fc3299 Code fix for attribute error 2014-08-09 17:28:15 +00:00
echel0n
50b91f9d7c Code correction 2014-08-09 17:17:44 +00:00
echel0n
e98418ba8d Small code change 2014-08-09 11:36:14 +00:00
echel0n
f1c45a596d Code typo fixed 2014-08-09 11:30:36 +00:00
echel0n
3ae4c13104 Code fix 2014-08-09 11:28:22 +00:00
echel0n
6a5567d040 Another minor code fix 2014-08-09 11:22:56 +00:00
echel0n
f5725f4402 Minor code correction. 2014-08-09 11:20:24 +00:00
echel0n
17906539ae Fixed improper line indentation 2014-08-09 11:16:55 +00:00
echel0n
1ee64ced4d If we fail to find season/episode info for air-by-date shows via DB query we attempt via indexerAPI calls 2014-08-09 11:14:51 +00:00
echel0n
dfc18b8d54 Small code change for parsing air-by-date shows to get season/episode info 2014-08-09 10:59:39 +00:00
echel0n
bbc49bb642 Merge pull request #700 from echel0n/dev
Sync master<->dev
2014-08-09 01:21:51 -07:00
echel0n
9ac23ae707 Merge pull request #699 from echel0n/master
Sync master<->dev
2014-08-09 01:21:25 -07:00
echel0n
e25a2a8031 Merge pull request #698 from loginfliggle/patch-1
Update tvrage_api.py
2014-08-09 01:19:34 -07:00
loginfliggle
62a7d9850c Update tvrage_api.py
Bugfix by viperidae

Reference:
---------------
Reference: https://sickrage.tv/forums/forum/help-support/bug-issue-reports/6224-there-was-an-error-with-the-xml-retrieved-from-tvrage-com

Quote:
----------
Had a look at the code and the xml documents...

It looks like the problem is caused by an empty <genre /> element in Results/shows/show/genres/
Line 459 of tvrage_api.py (it's 460 in my track in the previous post because of the debug statements I put in)

I assume it's because value is NoneType, gets replaced by a [NoneType] list and then tries to call '|'.join([NoneType]) when it was expecting a list of strings.

I changed this to the following and the problem appears to be resolved

Syslog extract:
----------------------
tvrage_error: There was an error with the XML retrieved from tvrage.com
First try emptying the cache folder at..
C:\Users\Josh\Documents\Programs\SickRage\cache\indexers\TVRage
If this does not resolve the issue, please try again later. If the error persists, report a bug on


2014-08-09 00:43:25 INFO     SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Searching for episodes we need from Top Gear Season 21
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: SELECT * FROM [nmatrix] WHERE indexerid = ? AND season = ? AND episodes LIKE ? with args [74608, 21, '%|2|%']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: UPDATE lastSearch SET time = ? WHERE provider = ? with args [1407559405, 'nmatrix']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: INSERT INTO lastSearch (time, provider) VALUES (?, ?) with args [1407559405, 'nmatrix']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: sickbeard.db: SELECT * FROM indexer_mapping WHERE indexer_id = ? AND indexer = ? with args [74608, 1]
2014-08-09 00:43:25 ERROR    SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Error while searching NMatrix, skipping: There was an error with the XML retrieved from tvrage.com
First try emptying the cache folder at..
C:\Users\Josh\Documents\Programs\SickRage\cache\indexers\TVRage
If this does not resolve the issue, please try again later. If the error persists, report a bug on

2014-08-09 00:43:25 DEBUG    SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Traceback (most recent call last):
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\search.py", line 428, in searchProviders
    searchResults = curProvider.findSearchResults(show, season, episodes, search_mode, manualSearch)
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\providers\generic.py", line 264, in findSearchResults
    for curString in self._get_episode_search_strings(epObj):
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\providers\newznab.py", line 133, in _get_episode_search_strings
    rid = helpers.mapIndexersToShow(ep_obj.show)[2]
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\helpers.py", line 1178, in mapIndexersToShow
    mapped_show = t[showObj.name]
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 675, in __getitem__
    selected_series = self._getSeries(key)
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 566, in _getSeries
    allSeries = self.search(series)
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 557, in search
    seriesEt = self._getetsrc(self.config['url_getSeries'], self.config['params_getSeries'])
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 500, in _getetsrc
    raise tvrage_error(errormsg)
2014-08-09 02:36:21 -04:00
echel0n
7f8c170f67 Fixed AttributeError: 'dict' object has no attribute 'name' error 2014-08-09 06:22:54 +00:00
echel0n
a74181dca2 Merge branch 'dev' of /home/git/repositories/echel0n/sickrage 2014-08-09 01:56:30 +00:00
echel0n
1136e5c833 Fixed IndexError: list index out of range issue 2014-08-09 01:43:02 +00:00
echel0n
c4105db242 Testing fix for locale and startup issues related to improperly being set 2014-08-09 00:55:46 +00:00
echel0n
3eed021200 Fixed issues where data needing to be posted was being sent via a GET instead of POST 2014-08-09 00:45:21 +00:00