Commit graph

828 commits

Author SHA1 Message Date
Nils
166dffeb5a Merge pull request #582 from bikemike222/add_cookies_rss
Added cookie support to custom torrent provider
2014-06-09 00:20:37 +02:00
echel0n
3d062b3510 Fix for import issue with episodeCache 2014-06-07 21:32:06 -07:00
echel0n
89ad4bccc3 Moved show season/episode cache to outside of the show class and turned it into a global to avoid circular ref that may memory leak. 2014-06-07 21:20:59 -07:00
echel0n
1f180a5a05 Fix for closing cache connection early when needed. 2014-06-07 16:16:01 -07:00
echel0n
a1da7df12e Fixes for DB issues 2014-06-07 15:35:16 -07:00
echel0n
d00d55fdfc Modified DB code to close its connection if right after its finished with it, helps performance-wise and should resolve locked db issues as well. 2014-06-07 14:32:38 -07:00
echel0n
2c0f3a3dc3 Added thread locking for queues.
Fixed imdbinfo issues.
2014-06-07 11:36:26 -07:00
echel0n
cfcc35ebcc Upgraded IMDBpy and improved performance of it.
Fixed TVDB Indexer API issues.
2014-06-07 08:33:18 -07:00
echel0n
4784b4619f Fix for invalid literal for int() with base 10: 'NULL' 2014-06-07 05:42:50 -07:00
echel0n
08d8beffa4 Misc fixes and code cleanups. 2014-06-07 05:36:50 -07:00
echel0n
a9f142184a Fix for nonetype issues during parsing 2014-06-07 04:08:12 -07:00
echel0n
24dfbc3f15 Quality is now set during parsing of results.
Fixed more anime regex bugs.
Fixed Indexer API issues for anime shows and unicode problems.
2014-06-07 04:06:21 -07:00
echel0n
31ce517e8f Added 480p to be ignored for anime regexes when matching for absolute numbers. 2014-06-07 01:57:03 -07:00
echel0n
d07976f057 Fixed searching for new anime shows, unicode issues resolved and Naruto does indeed work! 2014-06-07 01:45:21 -07:00
echel0n
1e8f3e2883 Added ability for format anime naming from post-processing options.
Fixed regex issues for anime shows matching 720p as a absolute number.
Custom sports naming has been fixed to adhere to dates.
2014-06-07 01:17:12 -07:00
echel0n
08159e2872 Updated post-process code. 2014-06-06 17:44:44 -07:00
echel0n
64b857ee57 Fixed failed download handling. 2014-06-06 17:06:29 -07:00
echel0n
05dcdd72d7 Fix for air-by-date/sports/anime provider searches 2014-06-06 16:55:14 -07:00
echel0n
cab05efa64 Added anime search support and removed extra pipe symbole from search string. 2014-06-06 15:27:20 -07:00
echel0n
14201c71f3 Fixes issues with scene numbering being set to 0x0 after snatch is performed.
Fixes issues with KAT Provider sphinx error on searches.
2014-06-06 15:16:15 -07:00
echel0n
4df31bccee PublicHD removed till further notice. 2014-06-06 13:48:25 -07:00
echel0n
dfe9619ddd Fix for SSL support, reverted back to CherryPy 3.23 as 3.30 is borked for SSL. 2014-06-05 21:24:43 -07:00
echel0n
4e83cbe6d1 Fixed naming issues and parsing issues. 2014-06-05 18:38:50 -07:00
echel0n
4c9da4f448 Fix for custom scene numbering, now able to correct numbering or remove it.
Fixed show force-update and mass update to properly force updates on the show including xem numbering.
2014-06-05 17:53:34 -07:00
echel0n
34009bb9b8 MainDB is backed up before being restored now to .r* versioned backup backups 2014-06-05 16:14:57 -07:00
echel0n
fc7b28a8bc Automatic DB restores now done if upgrade fails due to corrupt DB or incorrect db numbering 2014-06-05 16:11:07 -07:00
echel0n
385bf3987e db locking issues fix #2 2014-06-05 12:59:17 -07:00
echel0n
26f30cacf5 db lock issues fix test 2014-06-05 12:52:30 -07:00
echel0n
d30060bf91 Fix for db locking issues 2014-06-05 09:22:54 -07:00
echel0n
f052848e52 Fix for sql rowcount error 2014-06-05 02:19:48 -07:00
echel0n
8fbd9155d3 fix for recent sql errors around connection object 2014-06-05 02:13:29 -07:00
echel0n
7e5cc8c673 Fix for coming soon episodes page.
Reverted sql -> sqlachemy changes, to soon and will be done in seperate branch.
2014-06-05 01:05:02 -07:00
echel0n
9e4ec2cfb8 Fix for importing existing shows being set to anime when there not anime shows causing parsing errors when trying to parse episode files from disk. Please perform a mass reset of shows marking the ones that are not anime so that this issue is fixed for when it does its next show refresh. 2014-06-04 19:47:40 -07:00
echel0n
1dc913824a Fix for startup issue due to dependant that was missing. 2014-06-04 18:38:14 -07:00
echel0n
cec4ed573d Upgraded CherryPy libs to 3.3.0
Switched out sqlite3 libs in favour of SQLAlchemy v0.9, will gradually migrate dialects and scheme to be fully SQLAlchemy compliant for using there ORM with sessions instead of direct.

Fixed getEpisode function to stop making unrequired scene number conversions on already converted data thats available now from cache.
2014-06-04 18:28:59 -07:00
echel0n
8f3469cce7 Fix typo in last commit 2014-06-04 00:35:43 -07:00
echel0n
d09f2a2276 Fix for scene numbering not being set properly during a mass edit 2014-06-04 00:34:35 -07:00
echel0n
0713cb4039 Another small tweak of code for edit show function. 2014-06-04 00:21:21 -07:00
echel0n
5beb45d29d Small correction for mass update fix. 2014-06-04 00:16:43 -07:00
echel0n
272ecd0ab8 Fix for mass updating not actually changing any show options when editing 2014-06-04 00:11:56 -07:00
echel0n
7e91d3a600 Fix for scene_names table does not exist errors. 2014-06-03 23:52:55 -07:00
echel0n
37fceb2704 Removed unrequired extra sql transaction append line. 2014-06-03 22:30:54 -07:00
JackDandy
2e387b1ce8 Expose "Date Style"... "Use System Default" only when FuzzyMoment is off.
If the Date Style "Use System Default" is selected and FuzzyMoments is clicked on, then an appropriate Date Style is chosen from explicit defaults.  This change prevents issues where moments() cannot interpret or guess locale date formats.
2014-06-03 18:43:37 +01:00
echel0n
2ab436b764 Fix for saving default options when adding shows.
Fix for default provider not being passed in properly.
2014-06-01 20:43:37 -07:00
echel0n
41a9e08155 Added thread locking for sorting queue's 2014-06-01 18:18:11 -07:00
Nils Vogels
44d45ca760 Fixing UnboundLocalError when attempting to process nonexisting dir 2014-06-02 01:39:55 +02:00
echel0n
2da18e65ca Change code for returning highest scoring match to use generator to avoid overhead of sorting the list 2014-06-01 16:36:21 -07:00
echel0n
7047cf020e Fixed naming issues for episode naming patterns.
Name parser now score's all its possible matches and stores them to a list then once finished performing its matches it'll pick the highest scoring match and return it.
2014-06-01 16:25:02 -07:00
Nils Vogels
0e989fe90f Limiting search to English-translated only (for now) 2014-06-02 00:05:07 +02:00
echel0n
9847682781 Changed theTVDB indexer api keys to SickRage's, another nice catch there zoggy! 2014-05-31 23:54:57 -07:00
echel0n
cfafc0a39f Scene exceptions for anidb and xem now update once a day, thanks zoggy for pointing that out :) 2014-05-31 23:44:44 -07:00
echel0n
99d129bd41 Fixes for anime regex matching 2014-05-31 22:39:24 -07:00
echel0n
d42b864ecc Fix for UnboundLocalError: local variable 'rating_text' referenced before assignment 2014-05-31 12:58:43 -07:00
echel0n
4f32ed262c No need to convert from absolute numbers to season/episode numbers twice, fixed! 2014-05-31 12:52:09 -07:00
echel0n
925141da40 Fix for anime issues during post-processing, TypeError: object of type 'int' has no len() 2014-05-31 12:48:55 -07:00
echel0n
0ddcc3b58a Fix for show opt not in __init__ issues 2014-05-31 12:41:34 -07:00
echel0n
ba2a44b1d1 Fix for searches of anime shows with absolute numbering 2014-05-31 06:47:27 -07:00
echel0n
72b4155b0b Fixed post-processing issues for anime shows. 2014-05-31 06:43:36 -07:00
echel0n
893574b2ed Reverted new regex changes, not compatible with enough platforms to warrent keeping. 2014-05-31 06:16:18 -07:00
echel0n
277d630a6f Fixed issues with scene converting 2014-05-31 03:35:57 -07:00
echel0n
d7396896b5 Added in regex matching with fuzzy matching.
Shows now display Indexer absolute numbering.
Improved speed of parsing search results.
Fixed episode naming issues.
2014-05-31 03:35:11 -07:00
echel0n
2c37523ab7 Fix for manual anime searches 2014-05-30 07:36:06 -07:00
echel0n
6ca979d51b Fix for post-processing and adding anime shows to your anidb mylist 2014-05-30 06:00:04 -07:00
echel0n
bea999b639 Fix for XBMC notifier when XBMC has no shows in library. 2014-05-30 05:43:00 -07:00
echel0n
78c4211925 Fixed issue with scene exception updating for custom names. 2014-05-30 05:30:28 -07:00
echel0n
9b78e3dc5e Fix for scene exception and scene numbering updates when editing a show. 2014-05-30 04:52:37 -07:00
echel0n
997896a540 Fix for transactionals and None Types in sql lists 2014-05-30 04:42:31 -07:00
echel0n
db6cf0b22b Fix for daily searcher NoneType error.
Added XEM icon to show display, indicates if show has scene mapping available or not plus clicking on the icon will take you to the XEM mapping page.
2014-05-30 04:06:51 -07:00
echel0n
70e7f1bfce Fixed issues with scene numbering being overwritten by ep objects.
Converted more object saves to database to use transactionals, better performance.
2014-05-30 03:01:49 -07:00
echel0n
05cca0dfe0 Fixed post-processing issues with shows being rejected and saying they didn't exist when infact they did.
Fixed a issue in our name parser code that would of resulted in searches failing completely.
2014-05-30 01:16:12 -07:00
echel0n
f01c5852d4 Improved find propers code.
Backlog and manual searches now check cache first for search results.
2014-05-30 00:51:24 -07:00
echel0n
1abef89b29 Scene numbering now updates every 1 hour or is forced when needed so that searches always have up-to-date information before hand. 2014-05-30 00:51:06 -07:00
echel0n
a2439c8c64 Added ability to mass set shows to search by scene numbering. 2014-05-30 00:50:45 -07:00
echel0n
a92de48aec Added new show option that allows you to choose if you want to search via scene numbering or indexer numbering.
Scene numbers and scene absolute numbers now only display if prooper show options are selected.

Scene absolute numbers are now able to be set by user.

Fixed issues with user set scene numbers not correctly applying to episode objects.
2014-05-30 00:50:27 -07:00
Nils Vogels
cea8fd3216 Fix typo 2014-05-29 17:35:51 +02:00
echel0n
e1ee01579d Fixed issues with TVDB retrieving banners and posters.
Fixed unicode issues with Indexer API's
Fixed issues with scene numbering.
Fixed issues with black and white lists for anime shows when editing a show.
2014-05-29 06:27:05 -07:00
echel0n
4a4eec0a9e Fix for restart issues 2014-05-29 02:21:26 -07:00
echel0n
6fc93be7b5 Fix for restart spawning more then one process of SickRage 2014-05-29 01:00:13 -07:00
echel0n
42b621103f Fix for restart and PID issues. 2014-05-29 00:00:59 -07:00
echel0n
6558b8ac71 Code cleanup 2014-05-28 23:24:23 -07:00
echel0n
2dcd26e69c Update imdbpy libs to v5.0
Fixed invalid indexer id issues for TVRage shows.

Fixed issues for getting posters and backdrops for TVRage shows.

We now convert XML straight to a dict object for Indexer APIs, improved overall performance api's

Fixed issues with TVRage shows and displaying genre's properly.
2014-05-28 23:09:38 -07:00
Nils Vogels
7bf12460be PEP8 cleanups 2014-05-29 02:44:00 +02:00
Nils Vogels
0e34c8c4b3 Backport from https://github.com/thezoggy/Sick-Beard, applied to our branch
General cleanups in notifiers.

* Cleaned up notifier ui page wording so they follow similar pattern.
* Better exception handling for pyTivo and NMJ
* Cleaned up logging entries, trying to standardize on what level we report and verbiage (not using contractions, prune out duplicate/excessive entries)
2014-05-29 02:30:38 +02:00
echel0n
e009641804 SickRage now stores the XEM scene data to the main DB under tv_episodes for faster lookups and better linkages with epiosde objects, insures we have scene data on hand when we want it!
Adding functions to lookup scene season and ep info via scene absolute numbers.

We now try and create a show object from parsed release info before we consider it a valid parsed result to insure we even have the show in our show list, also used to validate anime releases.

Misc bug fixes here and there.
2014-05-28 14:16:03 -07:00
Nils Vogels
9e455c424a Merge branch 'FuzzyMoments' of https://github.com/JackDandy/SickRage into JackDandy-FuzzyMoments 2014-05-28 00:17:24 +02:00
echel0n
34da3f53d8 Added Black and White list for release groups for anime shows.
Fixed anime show list splitter.

Added check for anime shows and providers so we don't perform searches with a provider that doesn't support the type of show genre we are searching.
2014-05-27 03:09:57 -07:00
Nils Vogels
c217a4fc57 Merge branch 'dev' of github.com:echel0n/SickRage into dev 2014-05-26 23:33:27 +02:00
Nils Vogels
177dbc0f22 More namechanges 2014-05-26 23:32:47 +02:00
echel0n
347f595dfe Fixes issue with daily searcher constantly showing it's in progress when in fact it is not from manage searches page. 2014-05-26 14:20:31 -07:00
echel0n
840f7c7bdf Fixed issue with daily search progress monitoring. 2014-05-26 14:09:14 -07:00
echel0n
4da248ef9b Fixed internal indexer scene name cache which resolved issues with searching and snatching. 2014-05-26 14:06:54 -07:00
echel0n
c5f933e4c8 Fixed app performance issues from recent upgrades.
Fixed issues with manual searches not working.

Moved misc routine tasks to a proper schedualed thread that runs every 1 hour for updating network timezones, scene exceptions, and trimming failed history.

Forced misc routine tasks at startup to complete first before anything else runs, critical since this does our scene exception updates and internal scene cache loading which is needed before searches begin.
2014-05-26 13:16:07 -07:00
echel0n
de01fa1e37 Fix for scene name repeat bug when displaying show.
Added scene exceptions feature, hover over the show name with your mouse to see ALL scene exceceptions currently set for the show.
2014-05-26 11:07:10 -07:00
echel0n
f7b11e1e98 Fixed issues with post-processing.
Fixed issue with priority post-processing, bug would allow 2nd attempt to go through even if priority settings were not selected.

Fixed issues with cache retrieval and storing of provider results, properly stored now with season and ep info converted to indexer numbering.

Fixed a bug that was caching unconverted scene numbered files for post-processing causing us to skip converting them when needed.
2014-05-26 03:42:34 -07:00
echel0n
7e711c0665 Fix for find propers and newznab providers 2014-05-26 01:05:47 -07:00
echel0n
7a56afe512 Fix for new show searches, now checks alias names as well as series names to get results. 2014-05-26 00:45:11 -07:00
echel0n
9a3e7ab0a9 Added anime support with anidb support.
Added fanzub anime nzb provider.
Fixed NyaaTorrents anime provider.

This is in testing phase so bugs are to be expected.
2014-05-25 23:29:22 -07:00
Bike Mike
89c944ec94 Added cookie support to custom torrent provider 2014-05-25 19:19:45 +02:00
echel0n
3b6534ca1d Fix for issues relating to webAPI and episode searching. 2014-05-23 10:05:44 -07:00
echel0n
a350be339c Fix for issue causing issues loading and saving search providers 2014-05-23 09:35:01 -07:00
JackDandy
cf1d88343d Add feature to General Config to display fuzzy dates instead of absolute dates. Add feature to General Config to trim the leading number "0" shown on hour of day and date of month.
Affects UI dates on the Coming Episodes, Display Show, Manage > Backlog Overview, Home and History pages.

Widen the General Config tab widths and tweak, format and align some texts.

The many 'test date' variations in the General Config -> "Date and Time" drop down are useless during the month of May as both short and long styles are the same. Change the 'test date' to January 1 of the next year so short and long month styles are distinguishable.
2014-05-23 16:20:44 +01:00
echel0n
7391a6e454 App name change in code. 2014-05-23 05:37:22 -07:00
echel0n
5c43787560 Fixed missing ui notification for snatched episodes. 2014-05-22 23:58:29 -07:00
echel0n
43219e34e3 Fix for transmission torrent client and ratio's 2014-05-22 23:45:49 -07:00
echel0n
b499e4b6db Fixed issues with per-provider torrent ratio settings, now can be left blank to default to client ratio setting. 2014-05-22 23:42:11 -07:00
echel0n
753be64090 Fixes issue of missing ui notification to let you know that there was no update needed when forcing a version check. 2014-05-22 22:43:53 -07:00
echel0n
d37a992508 Fixes issue with trailing slash being appened to end of url when adding custom RSS torrent provider. 2014-05-22 22:36:48 -07:00
echel0n
736cb7c738 Fixes issues with ABD shows searching for complete seasons and returning zero results. 2014-05-22 22:02:49 -07:00
echel0n
f5cb9ab84d Fixes issue with version update not appearing at top of page 2014-05-22 20:17:24 -07:00
echel0n
80651447ae Update webserve.py 2014-05-22 10:01:03 -07:00
echel0n
9cd9576232 Fix for Next Ep airdates.
Added check for hidden folders in post-processing.
Cleaned up daily search function.
2014-05-21 20:12:15 -07:00
echel0n
13462fbb67 Added user settable interval for autoPost-Processing to post-processing config section. 2014-05-21 13:26:24 -07:00
echel0n
95adb131e1 Revert "Fix for findpropers and newznab providers"
This reverts commit cfa5d99066.
2014-05-21 12:08:08 -07:00
echel0n
63207ba93b Added global indexer timeout for adding shows. 2014-05-21 11:17:52 -07:00
echel0n
3a874b56dd Fixed issues with detecting _UNPACK_ when post-processing 2014-05-21 09:42:33 -07:00
echel0n
cfa5d99066 Fix for findpropers and newznab providers 2014-05-20 22:50:56 -07:00
echel0n
e09c4976a5 Removed internal cache update checks, cache updates will now perform at the interval setting time you set for daily searches. 2014-05-20 20:55:42 -07:00
echel0n
8141d8a170 Fixed issues for custom RSS torrent providers 2014-05-20 20:22:48 -07:00
echel0n
d6a942698a Fixes errors caused by duplicate newznab providers 2014-05-20 13:51:54 -07:00
echel0n
9914523f64 Correctly sets episodes past current date to UNAIRED if episode status is set to SKIPPED or WANTED so that manually snatched pre-release episodes do not get effected. 2014-05-20 12:24:20 -07:00
echel0n
3517952536 Fix to insure pre-release downloads/snatches don't get reset back to unaired. 2014-05-20 12:02:10 -07:00
echel0n
76e8c73c4b rawhd update 2014-05-20 11:41:07 -07:00
echel0n
fa11b4ef3a Removed some sleep timers to improve overall speed of sickrage. 2014-05-20 11:01:51 -07:00
echel0n
83d7e9fb69 Removed global seed ratio's 2014-05-20 09:27:52 -07:00
echel0n
9e1402057a Added in min seed and min leech options for torrent providers 2014-05-20 09:06:11 -07:00
echel0n
a15db1719d Removed some re-dundant code from daily search.
Fixed up some entries in mede8er metadata provider.
Changed detection of non-season packs.
2014-05-20 08:08:44 -07:00
echel0n
6a02edd7fc Added search options to NZB providers 2014-05-19 19:29:51 -07:00
echel0n
5f328eba5f Converted NZB providers to new dynamic config style format. 2014-05-19 19:14:06 -07:00
echel0n
ab8d9e6405 Fixed issues with queues.
Tweaked code to get more performance from it.
2014-05-19 18:04:23 -07:00
echel0n
a4c790eedc Fixes issues with skip removed files option.
Fixes issues with saving usenet providers.
2014-05-19 16:43:01 -07:00
echel0n
3918917f7a HDBits fixed! DOn't question just say ... thankyou ;) 2014-05-19 14:25:33 -07:00
echel0n
f0bd8e5e4a Fixes issues with processTV failed downloads and HDBits auth info 2014-05-19 13:06:32 -07:00
echel0n
d616ca2298 This fixes all failed download issues 2014-05-19 12:20:33 -07:00
echel0n
a12085cbfc Fxi for failed downloads 2014-05-19 10:53:47 -07:00
echel0n
854de69683 Fixed find propers.
Added ability to force a find propers search.
2014-05-19 10:40:25 -07:00
Nils
621f790392 Merge pull request #573 from JackDandy/FixSearchNzbsOrg
Fix: Searching for propers/repacks at nzbs.org.
2014-05-19 19:03:06 +02:00
echel0n
71604b5769 Fixed issue for season searches using episode only mode but fallback to season only mode, was small typo correction 2014-05-19 08:59:22 -07:00
echel0n
51540993be Fix for failed releases not properly converting scene numbered to indexer numbering plus small typo fix. 2014-05-19 08:47:01 -07:00
echel0n
2a5598ba0f Fixes issues with settings and newznab providers. 2014-05-19 08:22:18 -07:00
echel0n
c6b064de23 Fixed small typo causing scene numbering to indexer numbering issues 2014-05-19 06:57:20 -07:00
echel0n
e7931f0c7f Added Torrage.com as alternative site to Torcache.net 2014-05-19 06:27:38 -07:00
echel0n
66e499ab23 Fixes issues with daily searcher not snatching its results when it has any to snatch.
Fixes issues with not properly converting scene numbering eps to indexer numbering.
2014-05-19 06:08:16 -07:00
Nils
d27e4642c4 Merge pull request #575 from Dahlgren/fix_skip_removed_files
Fixed missing parameter skip_removed_files
2014-05-18 23:24:27 +02:00
Nils
55bc853b79 Merge pull request #574 from vzoltan/patch-1
Update pushbullet.py to include episode name
2014-05-18 23:01:53 +02:00
Björn Dahlgren
3da3121395 Fixed missing parameter skip_removed_files 2014-05-18 20:57:50 +02:00
echel0n
b842185bad Fixed timezones (reversed) 2014-05-18 11:44:49 -07:00
echel0n
f4b71b7203 Fix for date/time display issues.
Fix for manual snatches not updating status in realtime.
2014-05-18 11:21:18 -07:00
echel0n
cf18b3eec8 Fix to ensure unaired fix for mainDB only happens for shows without a already set UNAIRED status 2014-05-18 10:19:51 -07:00
echel0n
0830de89cd Corrected a sqlite syntax error 2014-05-18 10:14:21 -07:00
echel0n
1195e07f7b Fixes issues with episodes that have been set to a WANTED status but have a airdate in the future past current date.
Fixes issues with daily search so it only searches for shows between 1 week ago and current date.
2014-05-18 10:12:12 -07:00