Commit graph

1231 commits

Author SHA1 Message Date
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
echel0n
8bec8751fb Merge pull request #697 from cptjhmiller/dev
Trakt method, error checking, remove series
2014-08-08 17:35:16 -07:00
echel0n
c658fe0f26 Fixed NoneType error when mapping indexers to show 2014-08-09 00:19:29 +00:00
Jamie
18da621016 Trakt method, error checking, remove series 2014-08-09 00:07:17 +01:00
echel0n
3592e559d0 Fixed unbound method editShow() error 2014-08-08 00:18:03 -07:00
echel0n
1bf47900df More fixes for source code updating 2014-08-07 23:30:56 -07:00
echel0n
f9ababe7cb Fix for updating issues 2014-08-07 23:21:30 -07:00
echel0n
922df4c160 Fix for NoneType errors 2014-08-07 22:58:41 -07:00
echel0n
de8adb24d0 Fix for AttributeError in SourceUpdateManager 2014-08-07 22:44:06 -07:00
echel0n
318379522b Merge pull request #692 from Supremicus/dev
Provider image fixes.
2014-08-07 22:11:26 -07:00
echel0n
1710fe6362 Merge pull request #691 from nielsenj/XofXEpNaming
Changes "no_season" regex to support XofX naming
2014-08-07 22:11:05 -07:00
echel0n
2a0d747f8b Merge pull request #690 from adam111316/btsync
Halt postprocessing if temporary btsync files are detected
2014-08-07 22:10:50 -07:00
echel0n
aa09e88d5f Merge pull request #689 from adam111316/tidy
Tidying provider code
2014-08-07 22:10:40 -07:00
echel0n
df4f2d11d2 Merge pull request #688 from adam111316/hdbits_fix
HDbits fix
2014-08-07 22:10:29 -07:00
Supremicus
b5c703c893 Provider image fixes.
newznab.py - changed to use provider image from set gui interface (for
gui skin support).
rsstorrent.py - as per above, directory was wrong all together.
2014-08-08 09:17:31 +10:00
nielsenj
88a3444db2 Changes "no_season" regex to support XofX naming
Previous version would allow for:

Britannia The Great Elizabethan Journey - 1 of 3 (19th May 2012) [HDTV 720p (x264)]

But disallow (because of no spaces around "of"):

Britannia The Great Elizabethan Journey - 1of3 (19th May 2012) [HDTV 720p (x264)]

Also previous extra_info changes from:
of 3 (19th May 2012) [HDTV 720p (x264)]

To:
(19th May 2012) [HDTV 720p (x264)]
2014-08-06 21:45:38 -07:00
adam
c4d5e480b5 Halt postprocessing if temporary btsync files are detected 2014-08-06 21:55:17 +08:00
Adam
6ad5ccf966 HDbits fix 2014-08-06 19:58:10 +08:00
Simon
ff9c8ae82c Fixed notifier failing when it shouldn't 2014-08-06 12:06:26 +01:00
Adam
4b3a680bb3 Tidy provider code 2014-08-06 01:38:16 +08:00
echel0n
1908c74e96 Merge pull request #679 from adam111316/nyaa_consolidation
Remove unnecessary code from nyaatorrents provider and PEP8
2014-08-03 00:14:11 -07:00
echel0n
76011d4653 Merge pull request #680 from adam111316/animezb_consolidation
Animezb tidy proper code and PEP8
2014-08-03 00:14:03 -07:00
echel0n
493f9af02e Merge pull request #681 from adam111316/fanzub_tidy
Tidy fanzub proper code and PEP8
2014-08-03 00:13:55 -07:00
echel0n
d33929ad6d Merge pull request #682 from adam111316/fix_anime_propers
Fixing anime propers due to missed code when rebasing
2014-08-03 00:13:47 -07:00
Joe Breu
9bcd914ef2 Handle case where we don't get back valid data from trakt 2014-08-01 12:26:36 -05:00
Adam
e7660c559a Fixing anime propers due to missed code when rebasing 2014-08-01 17:40:46 +08:00
Adam
74fa44d14e Tidy fanzub proper code and PEP8 2014-07-31 18:18:12 +08:00
Adam
f94b0085f0 Animezb tidy proper code and PEP8 2014-07-31 18:11:46 +08:00
Adam
4728e19edf Remove unnecessary code from nyaatorrents provider and PEP8 2014-07-31 17:45:51 +08:00
echel0n
dbc30c43cb Switched the following providers to use HTTPS connections instead of standard HTTP, more secure. 2014-07-30 22:02:45 -07:00
echel0n
efe115f909 Fixed startup issue due to import module issues. 2014-07-30 21:47:17 -07:00
echel0n
9761c6c6a3 Fixed issues with torrent blackhole download issues. 2014-07-30 21:31:54 -07:00
echel0n
a15258c784 Fixed massEdit issues. 2014-07-30 19:41:02 -07:00
echel0n
7c650d730c Switched a logger error to a logger debug 2014-07-30 18:59:52 -07:00
echel0n
429db5b7d4 Shutdown/restarts now wait for Tornado to finish shutting down before proceeding further 2014-07-30 18:57:31 -07:00
echel0n
29b3f2ab3b Fix for issues relating to subprocess imports and BRANCH checks 2014-07-30 18:17:12 -07:00
echel0n
b4efb2d641 Fixed a small typo in versionChecker 2014-07-30 17:25:55 -07:00
echel0n
39fe8e8477 More fixes for checkout/updating issues. 2014-07-30 17:19:44 -07:00
echel0n
ad39ac8772 Fix for version branch issues. 2014-07-30 16:40:42 -07:00
echel0n
b8b5947ae6 Fix for trakt.tv issues when adding/removing/syncing shows.
Fix for indexer mapper to return a result no matter what.
2014-07-30 16:33:28 -07:00
echel0n
281c5c333e Fixes for updating/checkout of source installed versions. 2014-07-30 15:57:08 -07:00
echel0n
bfe0a00cc7 Removed unrequired version file. 2014-07-30 15:38:56 -07:00
echel0n
650862fafc Fix for updating/checkouts when using source files instead. 2014-07-30 15:34:05 -07:00
echel0n
4ff4ebb0d6 Fix for brnch checkouts from webui. 2014-07-30 15:08:16 -07:00
echel0n
818536fcb4 Fixed naming issues for sports and air-by-date shows. 2014-07-30 14:42:52 -07:00
echel0n
b1de2c7080 Doesn't start a scheduled task for things not enabled to not waste resources. 2014-07-28 21:46:56 -07:00
echel0n
cdd190e1e7 Fixed trakt library update issues. 2014-07-28 21:46:20 -07:00
echel0n
b484192390 Fixed issue with threads not exiting on shutdown properly. 2014-07-28 21:45:45 -07:00
echel0n
331be097cb Fixed a typo 2014-07-28 21:45:11 -07:00
echel0n
326d0204c0 Fixes issues with inital setting of branch version on startup first run 2014-07-28 21:44:37 -07:00
echel0n
bd2748d33a Fixed code to set branch version at startup 2014-07-28 21:44:03 -07:00
echel0n
534104b8b0 Changed how SickRage determins its branch version which will resolve issues with app switching back to master branch by mistke on startup. 2014-07-28 21:43:28 -07:00
echel0n
e6c8982d2b Testing fix for torrent download issues from ezrss 2014-07-28 21:42:53 -07:00
echel0n
19a89d453c We now check if a torrent url links to a valid file before adding as a verified result to get snatched, this helps prevent issues when attempting to add torrent to client later on to find the url returned nothing resulting in a error. 2014-07-28 12:19:41 -07:00
echel0n
60a6569064 Merge remote-tracking branch 'origin/nightly' into nightly 2014-07-28 09:53:16 -07:00
echel0n
7cb2296b6a Fixed issue with reverts to master on startup due to bug in version checker.
Fixed issues with indexerApi caching code, seemed TVRage was really the only one experiancing the problems but has been corrected for theTVDB just in case.
2014-07-28 09:03:07 -07:00
echel0n
6e6ae5bb87 Further corrections for torrent download issues related to content being empty and not properly checked in advance. 2014-07-27 23:48:10 -07:00
echel0n
52010d9951 Fix for invalid torrent files causing NoneType errors. 2014-07-27 23:00:25 -07:00
tlex
789f87090a Completed migration to v2 Pushbullet API. Added extra debug logging. 2014-07-28 07:30:13 +02:00
echel0n
480199085e Fix for images in cache folder being deleted by cleaner routine. 2014-07-27 19:11:24 -07:00
echel0n
d916958abc Fixes for editshow functions. 2014-07-27 18:46:15 -07:00
echel0n
cef53beee0 PEP* Cleanups and added timeouts for threads when shutting down or restarting. 2014-07-27 18:01:26 -07:00
echel0n
0f2941435f Testing checkout feature 2014-07-27 17:21:55 -07:00
echel0n
e9eca837a8 More fixes for webui branch checkout feature. 2014-07-27 16:22:57 -07:00
echel0n
f4b24bd85d Added a checkout branch button to the advanced config settings tab to tie things in better and make them easier. 2014-07-27 15:21:52 -07:00
echel0n
ef8b4e587d Fixed code that was preventing branch checkouts from working. 2014-07-27 14:23:40 -07:00
echel0n
a8bcbc66c3 Fix for incorrectly displayed remote branch list when in advanced settings. 2014-07-27 13:00:53 -07:00
echel0n
7dc89c084f Added ability to switch branches from general settings/advanced, will perform a forced checkout of whatever branch you choose and restart automatically.
Git updates are now forced to overwrite locale changes to avoid needing to manually stash uncommited changes before being able to proceed with a update.

Fixed indexer mapping when unable to locate show on indexer that we are trying to map to.
2014-07-27 11:39:02 -07:00
echel0n
91ee2c9ef5 More fixes for Trakt.tv connection issues. 2014-07-27 07:49:13 -07:00
echel0n
4094e2ed3c Fix for trakt connection issues. 2014-07-27 07:39:33 -07:00
echel0n
60205979a8 Merge pull request #667 from adam111316/anime_propers_3
Anime proper support
2014-07-27 07:17:55 -07:00
echel0n
b5e0282942 Fixed scene exceptions issue when editing shows. 2014-07-27 07:14:41 -07:00
echel0n
9493a8f7e5 Added back in missing code for finding propers, was removed by mistake.
Fixed issue with torrent clients not snatching due to improper handling of torrent hashes/files.
2014-07-27 07:04:37 -07:00
Adam
fd9be53fcb Anime propers 2014-07-27 21:04:17 +08:00
echel0n
f67fa660be Tornado WebUI now asynchronous, huge performance increase. 2014-07-27 05:51:22 -07:00
echel0n
f2a1331110 Skip cleaning images cache folder. 2014-07-27 05:34:03 -07:00
echel0n
f404f6f3ee Merge pull request #660 from Prinz23/ical_fix
Remove old Code that caused an exception in the iCal Feed
2014-07-27 04:59:38 -07:00
echel0n
5e7bfaa475 Merge pull request #666 from tlex/nightly
Fixed: pushbullet notifications don't work
2014-07-27 04:58:57 -07:00
echel0n
b13e72e0a3 Moved code for cleaning up cache folder to seperate function located in helper.py.
Added call to cache folder cleanup during SickRage main init.

Changed a error message in rss feed class to a debug message for when url returns no data.

Moved indexer api cache files to be placed under cache folder subfolder indexers.

Moved rss feed cache files to be placed under cache folder subfolder rss.
2014-07-27 04:58:14 -07:00
echel0n
14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n
fcded3c3cf PEP8 Cleanups 2014-07-26 14:52:49 -07:00
Alex
877c35cb16 Fixed: pushbullet notifications don't work
Apparently the pushpubllet api URL has changed. I suspect it will be the case, in the future, to update the devices url (and maybe code) as well.
2014-07-26 21:46:00 +02:00
echel0n
0e5fbbc5c3 Fix for incorrect show snatches 2014-07-24 21:29:03 -07:00
echel0n
bb437299d5 Added in missing redirects for config pages, should also resolve subtitle uncaught exception issues. 2014-07-24 12:43:01 -07:00
echel0n
012baeda0c Fix for no providers found error during searches. 2014-07-24 12:05:49 -07:00
echel0n
f47734446d Fixed further json issues with speedcd provider.
Fixed several providers and ssl cert verify issues.

Air-by-date shows now automatically get there respective season/episode numbers during release parsing.
2014-07-24 11:16:59 -07:00
echel0n
b16ff81478 Fixes for thread naming issues where provider names are getting stacked on top each other per loop iteration.
Fix for speedcd no json data issue.

Fix for DB upgrade syntax errors caused by previous commit.
2014-07-24 09:12:29 -07:00
echel0n
161226180f Cleaned up NyaaTorrents search code and fixed unicode issues. 2014-07-24 01:33:38 -07:00
echel0n
a697805923 Fixed NameParser to properly parse anime episodes that use normal season and episode naming conventions.
NameParser now properly creates absolute numbers from season/episode info or season/episode numbers from absolute info for anime shows. Removed scene convert routine and migrated the code into the parsing routine with a boolean to scene convert if needed.

Fixed NyaaTorrents issue with dict object errors.
2014-07-24 01:27:35 -07:00
echel0n
e5ac585b6a Fix for webui becoming unresponsive when using SSL and possibly in other situations as well. 2014-07-23 23:36:44 -07:00
echel0n
de5db9be64 Added ability to set a default indexer for trakt notifier used for adding shows from watch list so that SickRage knows what indexer to set the show as.
Indexer mapping now uses indexer api calls to gather its information and then stores it to a new table called indexer_mapping for instant lookups later on.

Fixed trakt related issues for adding new shows and syncing.

Centered items at bottom of pages to just look a little nicer and fit properly.
2014-07-23 22:07:01 -07:00
Prinz23
8313e12267 The RegEx is also not needed anymore 2014-07-23 16:42:11 +02:00
Prinz23
b54724c058 Remove old Code that caused an exception in the iCal Feed 2014-07-23 16:32:41 +02:00
echel0n
3a2b67330c During backlog/manual/failed searches we now cache disgarded/ignored results pre-parsed for usage later on incase we end up setting a episode to wanted that matches said results, allows for maximum performance and helps limit the waste of resources used. 2014-07-21 23:00:58 -07:00
echel0n
a317ff61c2 Created a context manager wrapper for BeautifulSoup4 so that we can cleanup/clear tags/context on exit via WITH statements.
Fixed issues with torrent providers returning no results.
2014-07-21 21:26:58 -07:00
echel0n
77feb5a74c Added 10sec timeout for subtitlesFinderScheduler on shutdowns 2014-07-21 19:31:58 -07:00
echel0n
899d03b5fe Fixed issue with appending UNNOWN qualities to provider results after being sorted. 2014-07-21 18:48:16 -07:00
echel0n
bf41ba59be Fixed sorting provider results by quality code, was causing a error. 2014-07-21 17:55:45 -07:00
echel0n
403c267953 Further improved memory handling of bs4 for torrent providers. 2014-07-21 16:01:46 -07:00
echel0n
4a29476415 Added code to perform disposal of bs4 class when finished as well as perform garbage collection afterwards, this fixed a memory leak issue SR was experiancing during backlog/manual/failed searches. 2014-07-21 15:16:04 -07:00