Commit graph

191 commits

Author SHA1 Message Date
Adam
3695766df4 Remove unnecessary call to indexers during nameparsing 2015-09-20 19:40:03 +08:00
JackDandy
ba566bccd7 Add Torrenting provider. 2015-09-17 01:02:37 +01:00
JackDandy
8ee9f6367a Change displayShow page episode colours when a minimum quality is met with "End upgrade on first match". 2015-09-13 14:31:50 +01:00
JackDandy
042ad5cafc Fix halting in mid flow of Add Existing Show which resulted in failure to scan statuses and filesizes. 2015-09-12 02:29:35 +01:00
JackDandy
70a8b47b44 Add parse media content to determine quality.
Determine quality before making final assumptions during re-scan, force update, pp and other processes.
Add a postprocess folder name validation.
2015-08-21 03:32:27 +01:00
JackDandy
f782567fd1 Change provider SCC login process to use General Config/Advanced/Proxy host setting.
Change refactor SCC to use torrent provider simplification and PEP8.
2015-07-03 14:24:09 +01:00
Adam
37496189f1 Change py2 exception clauses to py2/3 compatible clauses
Add py2/3 regression testing for exception clauses

Any new code added with old py2 style exceptions will now fail the travis test
2015-06-08 22:56:45 +08:00
adam
d47ad5f332 Change to only rebuild namecache on show update instead of on every search
Add removal of old entries from namecache on show deletion
2015-05-26 09:33:58 +08:00
Sami Haahtinen
7109371ee0 Fix history consolidation to only update an episode status if the history disagrees with the status.
Addresses an issue in the detection of previously processed files that
caused an episode status to change unconditionally.
2015-05-16 18:09:58 +03:00
Prinz23
2e711423b9 Add Search Queue Overview page
* Add expandable search queue details on the Manage Searches page
* Fix failed status episodes not included in next_episode search function
* Change prevent another show update from running if one is already running
* Change split Force backlog button on the Manage Searches page into: Force Limited, Force Full
* Change refactor properFinder to be part of the search
* Change improve threading of generic_queue, show_queue and search_queue
* Change disable the Force buttons on the Manage Searches page while a search is running
* Change disable the Pause buttons on the Manage Searches page if a search is not running
* Change scheduler forceRun
* Change staggered periods of testing and updating of all shows "ended" status up to 460 days
2015-05-10 17:22:54 +02:00
JackDandy
4f4858f4e4 Change to post process files ordered largest to smallest and tidied PP logging output.
Add "then trash subdirs and files" to the Process method "Move" on the manual post process page.
Add using show scene exceptions with post processing.
Change overhaul processTV into a thread safe class.
Change postProcessor and processTV to PEP8 standards.
Change overhaul Manual Post-Processing page in line with layout style and improve texts.
Change Force Processes enabled, only the largest video file of many will be processed instead of all files.
Change visual ui of Postprocessing results to match the logs and errors view.
Change remove ugly printing of episode object during PP seen in external apps like sabnzbd.
Change to streamline output toward actual work done instead of showing all vars.
Change pp report items from describing actions about to happen to instead detail the actual outcome of actions.
Add clarity to the output of a successful post process but with some issues rather than "there were problems".
Add a conclusive bottom line to the pp result report.
2015-05-08 04:18:30 +01:00
adam
65ce53b289 Add custom show lists to home page 2015-05-02 16:34:30 +08:00
JackDandy
837265b6f6 Change no longer fetch xml and zip and adjust code inline with library updates. 2015-04-29 02:09:06 +01:00
Prinz23
4ae30ab6ad Add option "Search for unaired episodes" to config/Search Settings
* Change reduce time to search recent result list by searching only once for a best result
* Fix replacing episodes that have a lower quality than what is selected in the initial and archive quality list
* Fix to include episodes marked Failed in the recent and backlog search processes
* Fix display of search status for an alternative release after episode is manually set to "Failed" on the Display Show page
* Change handle more varieties of media quality
* Change to prevent another scheduled search when one of the same type is already running
2015-04-24 20:45:45 +02:00
JackDandy
86443c21ca Merge pull request #314 from JackDandy/feature/ChangeOnlyAddValidItemsToSaveDB
Change only add valid items to save to DB.
2015-03-29 15:33:39 +01:00
JackDandy
59e547fac3 Fix loading shows from the DB that have NULL IMDb id. 2015-03-29 15:25:34 +01:00
JackDandy
e5d4269c10 Change only add valid items to save to DB. 2015-03-29 12:20:29 +01:00
JackDandy
b4b1859a2e Add IMDb lookup to "Update" action on Manage/Mass Update page.
(Credit and thanks to Prinz23 for his initiating efforts)

Fix display indexer provided start year on the displayShow page when no IMDb data exists.
Fix display indexer provided genres on the displayShow page when no IMDb data exists.
Fix display IMDb indexer with correct IMDb id on the displayShow page only when IMDb data exists.
Fix to correctly display show runtime when available on the displayShow page.
Fix to correctly initialise IMDb id loaded from db.
Other misc IMDb related db fixes.
Fix saving of Sort By/Next Episode in Layout Poster on Show List page.
2015-03-28 17:43:32 +00:00
Adam
94d0ce3e44 Add show overview from indexers to the database 2015-03-23 11:05:19 +10:00
JackDandy
f663212a74 Change no longer stamp files where airdates are never.
Prevent media from being file stamped 1.1.2001 as the value of a never airdate is 1. This issue can present for season 0 specials.
2015-03-19 23:12:19 +00:00
JackDandy
58d5452dc3 Change to gracefully handle some "key not found" failures when TVDB or TVRage return "Not Found" during show updates. 2015-03-19 15:40:12 +00:00
vergessen
d0ccf9f27a Fix release group not recognised from manually downloaded filename. 2015-03-18 21:37:08 +00:00
JackDandy
09f5e0622d Add "Status of removed episodes" to apply (or not) a preferred status to episodes whose files are detected as removed.
"Archived" can now be set so that removed episodes still count toward download completion statistics. See setting on page config/Post Processing/File Handling.
Remove redundant "Skip remove detection" from the config/Post Processing/File Handling page
Change combos on this page to be all consistent.
Improve vertical alignment of the label text before drop down combos.
Change to highlight the current selected item in combos.
Fix some inconsistent CSS line spacing.
2015-03-17 17:12:30 +00:00
adam
2dab61478e Remove various unused code 2015-03-16 23:13:20 +08:00
JackDandy
c96dbf7ea6 Change to reduce the time taken to "Update shows" with show data.
Add "Enable IMDb info" option to config/General/Interface.
Change to not display IMDb info on UI when "Enable IMDb info" is disabled.
Change genre tags on displayShow page to link to IMDb instead of Trakt.
Change to reduce the time taken to "Update shows" with show data.
Change when IMDb info is updated...
a) stop updating the IMDb info during the scheduled daily update for every show.
b) update the IMDb info for a show after snatching an episode for it.
Develop changes...
Fix being able to actually turn IMDb off when it has been turned on.
Remove IMDb option from General Settings.
Change IMDb option to enable by default now the slow operation has been eliminated from process flows.
2015-03-14 15:09:39 +00:00
JackDandy
e6b7feef3d Change to simplify and reduce logging output of Recent-Search and Backlog processes. 2015-03-13 18:21:46 +00:00
JackDandy
97429c084f Change overhaul UI of editShow and anime release groups, refactor and simplify code.
Change list order of option on the right of the displayShow page to be mostly inline with the order of options on editShow.
Change legend wording and text colour on the displayShow page.
Add output message if no release group results are available.
Add cleansing of text used in the processes to a add a show.
Add sorting of AniDB available group results.
Add error handling and related UI feedback to reflect result of AniDB communications.
Change description of config/search ignore and require words.
2015-02-21 22:34:20 +00:00
Supremicus
47da38a914 Logging message tweaks and minor PEP8 tweaks
* Change corrected spelling & better clarified various log messages
* Change minor PEP8 tweaks in sab.py
* Add api disabled error code for newznab providers
2015-02-08 12:59:10 +10:00
JackDandy
d945bd18e4 Fix rename of excluded metadata. 2015-02-07 18:11:40 +00:00
adam
ea99736939 Change anime release groups to in memory storage for lowered latency 2015-01-20 19:36:19 +08:00
JackDandy
b92eecb41b Change airdateModifyStamp to handle hour that is "00:00". 2014-11-20 18:35:14 +00:00
Supremicus
4c8c6b21d5 Change logos, text etc. branding to SickGear. 2014-11-12 20:56:40 +00:00
JackDandy
ef4470bd78 Add send2trash, General Config/Send to trash, and catch show dir not found exception.
Add send2trash, a small package that sends files to the Trash (or Recycle Bin) natively and on all platforms. If send2trash is found not compatible, the user can use the default delete and manually delete failed send2trash files.
Add General Config/Misc/Send to trash for actions that involve removing shows and log rotation.
Add handling for the exception raised while deleting a show and show folder no longer exists.
2014-11-05 05:36:16 +00:00
JackDandy
d6950bc6f1 Fix exception raised when converting 12pm to 24hr format, also handles 12am.
Triggered when setting file modify time (e.g. during PP and also scheduled show updates).
2014-10-31 15:29:18 +00:00
Adam
dda6cfce57 Fixes errors occurring when a show folder is deleted outside of SickRage 2014-10-28 14:47:47 +08:00
Adam
4adad577c8 Fixes show folder not deleting if files remain in folder 2014-10-02 19:20:03 +08:00
adam
37f021feb6 Custom naming for anime 2014-09-29 19:40:16 +08:00
Adam
164724a63d Fixes error: SHOWUPDATER: local variable 'cur_indexerid' referenced before assignment 2014-09-28 10:16:22 +08:00
KontiSR
32a88cf105 Not skipping when self.status = None, but assigning empty string ''
Added addiontional check for checking of the self.status is filled with the show status. If not, debug message is generated and the show is not updated.
2014-09-24 15:49:50 +02:00
adam
5ac3895600 Fixes daily search and speed improvements 2014-09-20 20:34:00 +08:00
echel0n
3cb1c573a3 Fix for newznab provider settings not saving properly
Added new show option, delete now removes show from showlist and deletes from hard drive, remove will just remove show from showlist but leave files on hard drive untouched
2014-08-29 03:29:56 -07:00
echel0n
e44747ab49 Testing fix for s00e00 issue #2 2014-08-18 05:48:23 -07:00
echel0n
c0329159a0 Testing fix for s00e00 issues 2014-08-18 05:40:29 -07:00
Adam
fd9be53fcb Anime propers 2014-07-27 21:04:17 +08: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
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
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
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
echel0n
f340f9b073 Fix for sports shows. 2014-07-21 08:49:20 -07:00
echel0n
5ac99b8c5c Fix for extensions being stripped off by mistake made when adding in -RP fix from few commits ago. 2014-07-21 06:29:07 -07:00