Commit graph

41 commits

Author SHA1 Message Date
Prinz23
35b282e797 Change add new zoneinfo_priority parameter to all gettz() calls. 2017-08-22 13:18:12 +01:00
Prinz23
1bd9cf863e Fix infinite loop loading network_timezones.
Change add optional "stack_size" setting as integer to config.ini under "General" stanza.
Change prevent too many retries when loading network timezones, conversions, and zoneinfo in a short time.
Update to UnRar 5.50 beta 6.
2017-08-20 13:05:25 +01:00
Prinz23
2446a58439 Change use legacy tzlocal() if new gettz returns nothing. 2016-10-03 18:18:38 +01:00
Prinz23
7c68ac2439 Change improve getting the local timezone information. 2016-10-01 13:59:52 +01:00
Prinz23
66824acc5e Change check for parameter types in parse_date_time. 2016-05-02 18:27:24 +01:00
Prinz23
4c682db8e1 Change adding show processing to be highest priority.
Use timezones to check unaired status during show update/adding.
Allow parse_date_time to accept timezone objects and parsed time tuples.
Add country code fallback for network name (timezone).
2016-03-24 18:56:43 +00:00
Prinz23
cee865461c Change move dateutil-zoneinfo.tar.gz file to data files /cache.
Add dateutil library hack for new location.
2016-02-06 23:45:58 +00:00
JackDandy
b485106b5b Change to use non-private zonefilename variable. 2015-09-13 16:50:40 +01:00
Prinz23
e6d616d949 Change use metadata for zoneinfo files and remove hack of dateutil lib. 2015-06-15 15:17:27 +01:00
JackDandy
c0c9e8b019 Change reload_module call to explicit import lib/six.moves. 2015-06-14 18:19:48 +01:00
Adam
680491684d Change py2 file and reload functions to py2/3 compatible open and reload_module functions 2015-06-14 11:49:23 +08:00
JackDandy
0fde2f779e Change zoneinfo update/loader to be compatible with dateutil 2.4.2. 2015-06-14 02:11:37 +01:00
Adam
7ffd36388b Change py2 iteritems to py2/3 compatible statements using six library 2015-06-14 00:58:36 +08:00
Adam
9b3fd0b7a9 Add TVRage network name standardization 2015-01-12 18:45:41 +08:00
adam
87c78b50b2 Revert "Merge pull request #19 from adam111316/feature/AddNetworkStandardization" 2014-12-07 21:22:42 +08:00
Adam
a046729436 Add TVRage network name standardization 2014-11-23 22:16:23 +08:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00: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
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
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
d02c0bd6eb Fixed issues with editing/saving custom scene exceptions.
Fixed charmap issues for anime show names.

Fixed issues with display show page and epCat key errors.

Fixed duplicate log messages for clearing provider caches.

Fixed issues with email notifier ep names not properly being encoded to UTF-8.

TVDB<->TVRAGE Indexer ID mapping is now performed on demand to be used when needed such as newznab providers can be searched with tvrage_id's and some will return tvrage_id's that later can be used to create show objects from for faster and more accurate name parsing, mapping is done via Trakt API calls.

Added stop event signals to schedualed tasks, SR now waits indefinate till task has been fully stopped before completing a restart or shutdown event.

NameParserCache is now persistent and stores 200 parsed results at any given time for quicker lookups and better performance, this helps maintain results between updates or shutdown/startup events.

Black and White lists for anime now only get used for anime shows as intended, performance gain for non-anime shows that dont need to load these lists.

Internal name cache now builds it self on demand when needed per show request plus checks if show is already in cache and if true exits routine to save time.

Schedualer and QueueItems classes are now a sub-class of threading.Thread and a stop threading event signal has been added to each.

If I forgot to list something it doesn't mean its not fixed so please test and report back if anything is wrong or has been corrected by this new release.
2014-07-14 19:00:53 -07:00
echel0n
75f69396d4 Reverted some changes. 2014-06-30 08:57:32 -07:00
echel0n
5e507b3849 More memory reductions and cleanups 2014-06-30 04:44:36 -07:00
echel0n
7e0bb651b2 Database now closes connection after each query and reconnects if closed to ensure no more connection and locked database problems.
Fixed more internal 500 errors.
2014-06-21 15:46:59 -07:00
echel0n
d73cc1cbbd Replaced cherrypy with tornado which helped resolve our memory leak issue. 2014-06-14 20:56:15 -07:00
echel0n
c9abdfbac2 Fixed urls
Fixed and replaced urls with proper ones for network timezones, tvdb
exceptions and tvrage exceptions.
2014-06-12 11:40:23 -07:00
echel0n
4c5425f4d1 Update network_timezones.py
Fix for timezone conversion issues.
2014-06-09 17:39:52 -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
997896a540 Fix for transactionals and None Types in sql lists 2014-05-30 04:42:31 -07:00
echel0n
7391a6e454 App name change in code. 2014-05-23 05:37:22 -07: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
58e0b58a0f Added a timezone display option so that you can either display the date/time via your local timezone or the show's network timezone. 2014-05-17 00:30:21 -07:00
echel0n
b0f1f2c91e Fixes date timezone issues 2014-05-15 21:15:49 -07:00
echel0n
79b239bbce Fix for incorrect date being set inside SickRage due to date not probally being converted back to local timezone. 2014-05-15 04:40:30 -07:00
echel0n
2a4f8780e2 Fixed issues with multi-threading.
Fixed issues with snatching air-by-date shows.
Fixed issues with naming patterns.
Fixed issues with invalid literals.
Fixed issues with country codes missing and causing web errors.

Fixed so many issues I can't write them all done ... :)
2014-05-08 07:04:01 -07:00
echel0n
fc94243546 Fixes backlog and manual searches.
Fixes season pack and single/multi episode searches.
Fixes multi-threading issues.
Fixes incorrect status being reported for manual searches.
Fixes quality being returned as N/A all the time for torrents.
2014-05-07 00:50:49 -07:00
echel0n
95d7d728e0 Re-write of Indexer API wrapper
Re-write of New Show seearch function
Re-write of Existing show search helper function for determining indexer/indexerid
Massive code cleanup and more bugs found and fixed
Indexer code fully modualized for future proofing
2014-03-24 22:57:24 -07:00
echel0n
ce5053f25d Bunch of code upgrades and bugfixes 2014-03-20 01:15:22 -07:00
echel0n
6adbdb5e86 if nothing has changed don't execute the transaction for network table and don't reload the table
Merge pull request #659 from Prinz23/network_update_fix2

don't call unnecessary 2 functions in network_timezones
Check that timezone is not None, in that case return Sickbeard Timezone
Merge pull request #662 from Prinz23/network_none_fix

Check that timezone is not None, in that case return Sickbeard Timezone
2014-03-11 13:18:49 -07:00
echel0n
0d9fbc1ad7 Welcome to our SickBeard-TVRage Edition ...
This version of SickBeard uses both TVDB and TVRage to search and gather it's series data from allowing you to now have access to and download shows that you couldn't before because of being locked into only what TheTVDB had to offer.

Also this edition is based off the code we used in our XEM editon so it does come with scene numbering support as well as all the other features our XEM edition has to offer.

Please before using this with your existing database (sickbeard.db) please make a backup copy of it and delete any other database files such as cache.db and failed.db if present, we HIGHLY recommend starting out with no database files at all to make this a fresh start but the choice is at your own risk!

Enjoy!
2014-03-09 22:39:12 -07:00