Commit graph

1714 commits

Author SHA1 Message Date
adam
a78f99ece2 Change to consolidate cache database migration code 2015-05-18 22:52:20 +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
8e26612540 Fix Backlog Force and Un-/Pause Buttons on Manage Searches Page 2015-05-12 18:29:49 +02: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
adam111316
f854e9cab5 Merge pull request #353 from adam111316/feature/ChangeHelpersUnittests
Change helpers doctests to unittests
2015-05-10 14:22:44 +08:00
JackDandy
f463ad5705 Fix issue, when adding an existing show set its default group to ensure it appears on the show list page. 2015-05-10 01:32:57 +01:00
Adam
6a6f3d7ad8 Change helpers doctests to unittests 2015-05-09 20:47:20 +08:00
JackDandy
2c6dcdc84d Change URL of scene exceptions file for TVRage indexer. 2015-05-08 11:25:39 +01: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
JackDandy
e41947cac8 Change reduce html payload across page template files. 2015-05-07 02:13:57 +01:00
Sami Haahtinen
deda4bc65a Change request handling in torrent clients
Simplify request responses within torrent clients. There is no need to
pass the response through the parent class when dealing with requests.
In many places this makes the code more readable and simplifies logic.
2015-05-06 21:40:13 +03:00
JackDandy
e64cd430b8 Fix issue changing a custom show list group name that is in use.
The bug resulted in the db containing stale group names but worse, orphaned shows disappeared from the Show List page entirely.
PEP8 and code cleanup to SG conventions.
Changed texts to describe this feature more clearly from tag to group names.
Repositioned this feature on the add show, edit show, and config pages.
Change the drop down select to dynamically hide/show the list of group names and change the respectively selected help texts.
Change insert space between items in the list of group names for readability.
Notify user if an attempt to remove an in use group name is prevented.
Change Show List progress bar code, smaller page load, efficient use of js render engine.
Removed fixed column widths, this means multiple groups have different column widths, but the original approach is preferred because fixed widths look bad with long show titles.
2015-05-05 23:52:59 +01:00
JackDandy
cab3b43903 Add support for country network image files to the Show List view. 2015-05-04 21:11:49 +01:00
JackDandy
d39157f4a9 Add handling for shows that do not have a total number of episodes.
For rare case where a show can be in the db and added to the indexer and then the episodes removed from the indexer but not the show.
2015-05-03 17:27:10 +01:00
adam
65ce53b289 Add custom show lists to home page 2015-05-02 16:34:30 +08:00
JackDandy
2083dfdb30 Change prevent wasted API hit where show and exception names create a duplicate sanitised year. 2015-04-29 02:15:45 +01: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
JackDandy
ebdbf43d8b Merge pull request #321 from Prinz23/feature/AddSearchUnaired
Add Option to search for Unaired Episodes
2015-04-28 19:17:16 +01:00
JackDandy
2b0543d11c Change network names to only display on top line of Day by Day layout on Episode View and reposition country part of network name into the hover over in Day by Day layout. 2015-04-28 18:42:46 +01:00
Adam
a9da4c2486 Merge branch 'master' into develop 2015-04-25 16:49:50 +08:00
Prinz23
8f69adaada Fix clearing provider cache 2015-04-25 16:48:15 +08: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
Adam
edcea76060 Merge branch 'master' into develop 2015-04-19 14:52:04 +08:00
Adam
f0fb6b8349 Fix IPTorrents provider search strings and URL for new site changes 2015-04-19 14:49:56 +08:00
Adam
7caef44bb9 Change to consolidate and tidy some provider code [part 2] 2015-04-18 13:17:47 +08:00
Adam
7477a79cb8 Change to consolidate and tidy some provider code 2015-04-18 10:28:44 +08:00
Prinz23
53f272515a Fix Backlog Init
Fix the limited backlog to execute as and when expected and in line with SickBeard.

The backlog scheduled frequency is the higher of either 12 hours or 2 x the "Recent search frequency" + 7 minutes.

On application startup and every backlog scheduled frequency the backlog will either ...
a) do a full run if the number of days passed since the full backlog has reached the setting(1)...
b) do a limited run if the number of days passed since the full backlog is less than setting(1)...
... (1) "Backlog search frequency" in Search Settings.

Change the default full "Backlog search frequency" to 21 days within a range of 2 - 35 (see Search Settings).
2015-04-15 17:47:04 +02:00
Adam
89e25e6da4 Add ToTV provider 2015-04-15 12:44:42 +08:00
Adam
ee0dfbc357 Fix season pack search errors 2015-04-15 12:17:28 +08:00
Adam
6dc6341e05 Fix provider consolidation cache upgrade 2015-04-03 13:59:23 +08:00
Prinz23
0a7c594a6f Fix XEM Exceptions 2015-04-02 12:05:33 +02:00
adam111316
f2a0415944 Merge pull request #317 from adam111316/feature/ChangeProviderCaching
Change provider cache storage structure
2015-04-01 11:46:30 +08:00
Adam
24236eba6f Change provider cache storage structure
Add handling for failed cache database upgrades
2015-04-01 11:25:24 +08: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
09a3051797 Merge pull request #316 from JackDandy/feature/FixShowsWithNullIMDbId
Fix loading shows from the DB that have NULL IMDb id.
2015-03-29 15:32:14 +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
Adam
d4305eac9f Change location of SQL from home template to webserve
Remove unused max_download_count variable
2015-03-29 18:55:16 +08:00
JackDandy
d479fbfc5a Change improve backlog search. 2015-03-29 03:27:59 +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
Prinz23
6206926643 Add "File logging level" to General Config/Advanced Settings. 2015-03-27 18:42:37 +00:00
JackDandy
ad96bb745f Merge pull request #296 from vergessen/feature/AddProviderAnimenzb
Add provider Animenzb
2015-03-26 11:30:23 +00:00
JackDandy
059f617d29 Change overhaul more on the displayShow page.
Fix disabling IMDb broke page.
Fix counting of files.
Add some tooltips to bottom show details for clarity.
Change glyph to right side of "Show/Hide episodes" button text to improve visual when toggling button.
Change red text on blue tag to white text on red tag to improve readability of invalid locations.

Change some label tags to fit with edit show page.
Fix handle when a show in db has all episodes removed from indexer.
Add the name of show that will be displayed to the hover of the Prev/Next show buttons.
Add hover tooltips for nfo and tbn columns for browsers that use the title attr.
Change Special link moved from "Season" line to "Specials" line on displayShow.
Change code re-factored in readiness for live option switching, clean up and add closures of html tables.
2015-03-26 05:13:01 +00:00
vergessen
9384447b85 code cleanup 2015-03-25 08:11:50 -05:00
vergessen
afbe99da65 add animenzb provider 2015-03-25 08:11:50 -05:00
Adam
94d0ce3e44 Add show overview from indexers to the database 2015-03-23 11:05:19 +10:00
Supremicus
c1fe671a82 Overhaul displayShow for new features
* Change overhaul displayShow to ready for new features
* Add section for show plot to displayShow
* Add option to view show background on displayShow (transparent and
opaque) for when background downloading is added (disabled)
* Add option to collapse seasons and leave current season open on
displayShow (disabled)
* Add filesize to episode location qtip on displayShow
* Change selected options from editShow will only show when enabled now
on displayShow
2015-03-23 11:05:13 +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
JackDandy
518f5ebae5 Add indication of shows with never aired episodes and other changes to the Episode Overview page.
Add "Collapse" button and visuals for Expanding... and Collapsing... states.
Add the number of episodes marked with the status being queried.
Add indication of shows with never aired episodes.
Change to separate "Set as wanted" to prevent disaster selection.
Remove restriction to not display snatched eps link in footer.
Change the shows episodes count text colour to visually separete from year numbers at the end of show names.
2015-03-19 00:32:22 +00:00
vergessen
d0ccf9f27a Fix release group not recognised from manually downloaded filename. 2015-03-18 21:37:08 +00:00
JackDandy
97ca6f4c69 Fix issue with missing QueueItemForceUpdate object has no attribute 'force_web'. 2015-03-17 19:34:12 +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
ba69616cf4 Change log rotation to occur at midnight
Change to keep a maximum of 7 log files
Add automatic compression of old log files
2015-03-17 09:50:59 +08:00
JackDandy
f73de91d0f Add IMDb update capability back to the "Force Full Update" button on the Display Show page. 2015-03-17 01:37:08 +00:00
adam111316
5567a66b44 Merge pull request #281 from adam111316/feature/FixNameCache
Fix updating of scene exception name cache after adding exceptions on Ed...
2015-03-17 09:17:26 +08:00
adam111316
8b5cdb5a44 Merge pull request #279 from adam111316/feature/RemoveUnusedCode
Remove various unused code
2015-03-17 09:16:01 +08:00
Adam
bf510f709c Fix updating of scene exception name cache after adding exceptions on Editshow page 2015-03-17 09:08:09 +08:00
adam
2dab61478e Remove various unused code 2015-03-16 23:13:20 +08:00
JackDandy
743e1e4fb9 Fix to correctly use wanted_begin and wanted_latest when adding shows. 2015-03-16 11:45:56 +00: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
334797a888 Merge pull request #270 from JackDandy/feature/ChangeReduceLogging
Change to simplify and reduce logging output of Recent-Search and Backlo...
2015-03-13 18:38:21 +00:00
JackDandy
d9d8bcdb0b Merge pull request #262 from JackDandy/feature/AddSetWantedOnAddShow
Add option to the third step of "Add Show" to set episodes as wanted fro...
2015-03-13 18:22:43 +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
Adam
d5fb963b73 Merge branch 'feature/ToggleImdb' into develop 2015-03-14 00:18:01 +08:00
JackDandy
75ebd0136e Change to no longer require restart with the "Scan and post process" option on page config/Post Processing. 2015-03-12 23:15:44 +00:00
JackDandy
e18250f371 Add option to the third step of "Add Show" to set episodes as wanted from the first and latest season, this triggers a backlog search on those episodes after the show is added.
Tweak log and notification texts used when adding an existing show.
2015-03-12 16:54:30 +00:00
Adam
42b5fe7570 Change IMDb updater to a toggleable option under General Settings (disabled by default due to slow operations) 2015-03-13 00:06:47 +08:00
adam
d1687dd401 Change layout of Recent Search code
Change naming of SEARCHQUEUE threads for shorter log lines
Fix Recent Search running status on Manage Searches page
2015-03-12 15:31:35 +08:00
JackDandy
1f8f396506 Merge pull request #261 from JackDandy/feature/ChangeBacklogOverview
Change "Force Backlog" button for paused shows on Backlog Overview page ...
2015-03-10 23:42:48 +00:00
JackDandy
74d701e6da Change "Force Backlog" button for paused shows on Backlog Overview page to "Paused" indicator. 2015-03-10 22:57:39 +00:00
JackDandy
438d2b88b5 Merge tag 'release_0.7.2' into develop 2015-03-10 22:26:32 +00:00
JackDandy
7e5aedff8f Merge tag 'release_0.7.1' into develop 2015-03-10 22:20:02 +00:00
JackDandy
b95be5e53d Fix Add From Trending page (indexer_id can be "None" which causes white screen when clicking "Add Show").
Conflicts:
	CHANGES.md
2015-03-10 17:16:07 +00:00
JackDandy
c014bebb8c Fix issues introduced by adding Anime options to the Add Show flow.
Fix error page when clicking "Add Recommended".
Remove failed Anime options from "Add Existing Show".
2015-03-10 17:01:02 +00:00
JackDandy
253d6eaf28 Fix the return flow from calls to the redirect function from executing incorrect code.
Among others, fixes the traceback when adding an existing show.
2015-03-10 16:34:55 +00:00
adam
2854ae8bfa Merge branch 'release/0.7.0' into develop 2015-03-03 20:18:06 +08:00
Supremicus
3f357dec08 Remove defunct Fanzub provider 2015-03-03 19:25:46 +08:00
Adam
30720b9cbd Change general config's branches and pull request list generation for faster page loading 2015-03-03 00:21:40 +08:00
Adam
742efdb805 Change database code to PEP8 standards 2015-03-02 17:50:12 +08:00
Adam
d479984e49 Change common and config code to PEP8 standards 2015-03-01 21:52:02 +08:00
Adam
eb08119ac2 Merge branch 'release/0.7.0' into develop 2015-03-01 12:09:49 +08:00
Adam
7413b38640 Remove requirement for username to be provided on login page
Change login parameter descriptions on Config / General
2015-03-01 11:01:43 +08:00
Adam
026123dc69 Change browser, bs4 parser and classes code to PEP8 standards 2015-03-01 10:35:06 +08:00
Adam
0c8ab4db9c Remove unused force variable from code and PEP8 2015-03-01 10:05:20 +08:00
JackDandy
c4f4cae440 Change Wombles to use tv-dvd section. 2015-02-28 17:41:18 +00:00
JackDandy
e92ac49cea Change to improve the integrity of the already post processed video checker.
This reduces the likelihood where new files are skipped even though a video does not exist in the target location.
2015-02-28 14:21:11 +00:00
JackDandy
ed52c99377 Change redirect from home to showlistView on changing Layout on showlistView. 2015-02-28 14:10:05 +00:00
Adam
9f55f91ce9 Merge branch 'release/0.7.0' into develop 2015-02-28 12:37:57 +08:00
adam
55458e549b Add hidden cache debug page 2015-02-27 09:45:22 +08:00
Adam
1aee6fcae2 Fix updating of pull requests 2015-02-27 09:36:19 +08:00
Adam
b3b84ecade Fix redirect to login page after login credentials are changed
Change login cookie from 'user' to 'sickgear-session'
2015-02-26 19:54:44 +08:00
JackDandy
9f7e678018 Fix traceback error when using the menu item Manage/Update Kodi. 2015-02-25 19:41:38 +00:00
JackDandy
d512189df3 Merge pull request #197 from Supremicus/feature/UpdatePushover 2015-02-25 13:12:05 +00:00
Supremicus
dc95006371 Add Kodi notifier and metadata 2015-02-25 22:33:40 +10:00
Supremicus
b63bbbbb19 Add priority, device, and sound support to Pushover notifier (port from midgetspy/sickbeard) 2015-02-25 21:30:52 +10:00
JackDandy
2d2eed9c2e Add a "Use as default home page" selector to General Config/Interface/User Interface. 2015-02-25 01:28:38 +00:00
JackDandy
8f7193ee93 Change authentication credentials to display more securely on config pages. 2015-02-24 16:13:07 +00:00
Adam
6414377c9c Merge remote-tracking branch 'remotes/Supremicus/feature/UpdatePushbullet' into develop 2015-02-24 15:47:57 +08:00
Adam
87d46b2c3f Remove unused SickBeardURLOpener and AuthURLOpener classes 2015-02-24 15:02:20 +08:00