1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-25 01:08:50 -05:00
Commit Graph

39 Commits

Author SHA1 Message Date
TagForce
e0ccc2caeb Added Hidden Folder check for Windows Attributes
- Changed helpers.is_hidden_folder to utilize Windows GetAttributesW DLL
function to get folder attributes.
- Changed call to is_hidden_folder to use the entire path for the call,
instead of just the foldername.

Fixes https://github.com/SiCKRAGETV/sickrage-issues/issues/554
2015-02-13 15:00:39 +01:00
TagForce
961ffe735c Added Episode check to PP history check
- Fixes issue when Post-Processing a file with a generic filename in a
subfolder resulting in "Already Processed" errors

- Added a Show, Season, Episode parse to the dirname, and if that
results in usable data it adds it to the history check so this is
performed on that specific episode only
2015-01-28 09:56:36 +01:00
swamp12
53c205422c SiCKRAGETV/sickrage-issues#360: remove globals in post processing code for thread safety. Second upload. Missed updating a function call to use the "result" object. 2015-01-18 01:01:21 +01:00
echel0n
f45f191039 Merge pull request #1179 from swamp12/develop
Fix for SiCKRAGETV/sickrage-issues#360: remove globals in post processin...
2015-01-13 19:50:21 -08:00
swamp12
9fb3ca9e59 Fix for SiCKRAGETV/sickrage-issues#360: remove globals in post processing code for thread safety. 2015-01-12 21:08:18 +01:00
Ben Fox-Moore
5df19ac536 Fix multipart rars causing the same extracted video to be postprocessed more than once 2015-01-08 23:43:05 +01:00
echel0n
3eb366ac05 Re-coded logger facility for better performance and cleaner code plus has better code for rotation of logs. 2014-12-16 02:24:06 -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
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
Adam
72b0b04045 Halt post processing if lftp temporary files are detected 2014-08-11 18:29:28 +08:00
adam
c4d5e480b5 Halt postprocessing if temporary btsync files are detected 2014-08-06 21:55:17 +08:00
echel0n
42c0d7f9f6 Testing fix for incorrectly cached results that may cause PP issues. 2014-07-17 23:45:48 -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
7a95b0bb14 Added new InvalidShowException to NameParser, Removed isGoodResult search check and now attached parsed result show objects and compare them against the show object we use to search with instead. 2014-07-06 06:11:04 -07:00
echel0n
5f0265e769 Fixed post-processing loop issue. 2014-06-24 00:06:39 -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
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
08159e2872 Updated post-process code. 2014-06-06 17:44:44 -07:00
Nils Vogels
44d45ca760 Fixing UnboundLocalError when attempting to process nonexisting dir 2014-06-02 01:39:55 +02:00
Nils Vogels
177dbc0f22 More namechanges 2014-05-26 23:32:47 +02: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
7391a6e454 App name change in code. 2014-05-23 05:37:22 -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
3a874b56dd Fixed issues with detecting _UNPACK_ when post-processing 2014-05-21 09:42: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
JackDandy
d04937cb8b Output success if *all* the many post processing actions are successful, otherwise indicate a problem occurred if one fails.
This outcome message is displayed in the SAB history UI and improves on the existing "deleting filex" message that only applies to the last action done during a multiple action batch.
2014-05-15 11:27:22 +01:00
Nils Vogels
452895a058 Prevent postprocesser from removing TV_DOWNLOAD_DIR 2014-05-02 23:26:26 +02:00
echel0n
8c2c319c7f Code fix typo 2014-04-27 16:56:36 -07:00
echel0n
22a4a066d8 Post-processing now auto-detects the correct indexer for the show both on manual processing and script based processing 2014-03-25 18:42:36 -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
e3a843a823 Bugfix for scene numbering and kickass searches 2014-03-21 01:34:00 -07:00
echel0n
10637f8f29 Code Clean up and regex fix for "no repeats" error (reverted from commit 8ecd5a196d) 2014-03-20 11:03:22 -07:00
echel0n
8ecd5a196d Code cleanup and regex fix for "no repeats" error 2014-03-20 10:51:59 -07:00
echel0n
972833a7f6 Added Transaction for add/update/delete episodes and change episode status 2014-03-20 03:24:58 -07:00
echel0n
a165b891e9 Failed processing backwards compatibility for original param name "dirName" that has been relabled to "dir" 2014-03-16 15:57:38 -07:00
echel0n
6a4adceb26 Updates to auto post-processing code, additional code added to ensure indexer is always set to the correct value 2014-03-10 13:31:41 -07:00
echel0n
688888b17c Fixed more issues with post processing TVRage shows 2014-03-10 04:20:29 -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