2012-09-13 15:27:34 +00:00
< %inherit file="base.html" />
< %!
import mylar
from mylar.helpers import checked
%>
< %def name="headerIncludes()">
< div id = "subhead_container" >
< div id = "subhead_menu" >
2012-09-18 13:13:42 +00:00
< a id = "menu_link_edit" href = "manageComics" > Manage Comics< / a >
2014-08-10 16:50:43 +00:00
< a id = "menu_link_edit" href = "manageIssues?status=Wanted" > Manage Issues< / a >
2015-10-06 17:16:27 +00:00
< a id = "menu_link_edit" href = "manageFailed" > Manage Failed Links< / a >
2012-09-13 15:27:34 +00:00
< / div >
< / div >
< /%def>
< %def name="body()">
< div id = "paddingheader" >
< h1 class = "clearfix" > Manage< / h1 >
< / div >
< div id = "tabs" >
< ul >
< li > < a href = "#tabs-1" > Scan Comic Library< / a > < / li >
2013-09-07 06:05:32 +00:00
< li > < a href = "#tabs-2" > Manual Post-Processing< / a > < / li >
< li > < a href = "#tabs-3" > Advanced Options< / a > < / li >
2012-09-13 15:27:34 +00:00
< / ul >
< div id = "tabs-1" class = "configtable" >
2013-09-07 06:05:32 +00:00
< form action = "comicScan" method = "GET" id = "comicScan" >
< fieldset >
2012-09-13 15:27:34 +00:00
< legend > Scan Comic Library< / legend >
< p > < strong > Where do you keep your comics?< / strong > < / p >
< p > You can put in any directory, and it will scan for comic files in that folder
(including all subdirectories). < br / > < small > For example: '/Users/name/Comics'< / small > < / p >
< p >
It may take a while depending on how many files you have. You can navigate away from the page< br / >
as soon as you click 'Save changes'
< / p >
< br / >
< div class = "row" >
2013-09-07 06:05:32 +00:00
< label for = "" > Path to directory< / label >
%if mylar.COMIC_DIR:
< input type = "text" value = "${mylar.COMIC_DIR}" name = "path" size = "70" / >
%else:
< input type = "text" value = "Enter a Comic Directory to scan" onfocus = "if
(this.value==this.defaultValue) this.value='';" name="path" size="70" />
%endif
< / div >
<!-- <div class="row checkbox">
< input type = "checkbox" name = "libraryscan" id = "libraryscan" value = "1" $ { checked ( mylar . LIBRARYSCAN ) } > < label > Automatically Scan Library< / label >
< / div >
2013-10-26 03:31:51 +00:00
-->
2013-09-07 06:05:32 +00:00
< div class = "row checkbox" >
< input type = "checkbox" name = "autoadd" id = "autoadd" value = "1" $ { checked ( mylar . ADD_COMICS ) } > < label > Auto-add new series< / label >
< / div >
< div class = "row checkbox" >
< input type = "checkbox" style = "vertical-align: middle; margin: 3px; margin-top: -1px;" name = "imp_metadata" id = "imp_metadata" value = "1" $ { checked ( mylar . IMP_METADATA ) } > < label > Use existing Metadata< / label >
< small > Use existing Metadata to better locate series for import< / small >
< / div >
< div class = "row checkbox" >
< input type = "checkbox" style = "vertical-align: middle; margin: 3px; margin-top: -1px;" name = "imp_move" onclick = "initConfigCheckbox($this));" id = "imp_move" value = "1" $ { checked ( mylar . IMP_MOVE ) } > < label > Move files into corresponding Series directory< / label >
< small > Leaving this unchecked will not move anything, but will mark the issues as Archived< / small >
< / div >
< div class = "config" >
FIX: undefined on filter box on startup, IMP: Added Meta-Tagging options on a series / issue basis on comic details screen, IMP: Issue Information is now available per issue and is extracted currently from the cbz file to display (if no cbz is present, the option isn't available), IMP: Failed Download handling is implemented and available in GUI - required to replace existing autoProcessComics.py and ComicRN.py scripts, IMP: Added ability to specify post-processing script instead of ComicRN.py, IMP: Added abilty to edit the issue date for a given issue by simply clicking on it - this will help to avoid dates that have incorrect or 0000-00-00, IMP: Story Arc searching is working (not adding yet), IMP: Added Archived/Ignored options to Upcoming/Wanted tab, IMP: Fixed some alignment and display issues on the Upcoming section, IMP: Added better directory handling for Updating Comic Location when it needs to get changed for all existing series (locmove in config.ini), IMP: Added better handling for unicode characters in series titles when searching / filechecking, IMP: When adding a new series with no data, Mylar would error out (now will add and just retain 0 issues), FIX: When year was fuzzied, search would still attempt to do a date-check comparison and say everything failed, IMP: Better handling of nzb names when retaining for post-processing comparisons, IMP: Future Upcoming now will use actual shipping date of issue if available in order to see if issue is available, FIX: If annuals were enabled, refreshing a series would put some issues into an Archived status because the actual counts would be off, IMP: When file checking, Alternate Naming would be searched last which resulted in matching incorrectly to the series title or other alternate naming for the given series, now will check the Alternate Naming first for a match, then drop back down to the series name itself otherwise, IMP: Improved Annual detection when integrated with a given series, IMP: Improved the checking of the future Upcoming list for issues marked as Wanted but not available yet and then auto-adding, IMP: Improved upon story arc checking for missing issues / searching for wanted, IMP: Enabling Annuals support now within Configuration GUI, bunch of other things....
2014-07-28 19:28:09 +00:00
< input type = "checkbox" style = "vertical-align: middle; margin: 3px; margin-top: -1px;" name = "imp_rename" id = "imp_rename" value = "1" $ { checked ( mylar . IMP_RENAME ) } > < label > Rename Files < / label >
2013-09-07 06:05:32 +00:00
< small > Rename files to configuration settings< / small >
< / div >
< br / >
2014-09-10 04:54:53 +00:00
< input type = "button" value = "Save Changes and Scan" onclick = "addScanAction();doAjaxCall('comicScan',$(this),'tabs',true);return true;" data-success = "Changes saved. Library will be scanned" data-always = "Sucessfully completed scanning library." >
2013-09-07 06:05:32 +00:00
< input type = "button" value = "Save Changes without Scanning Library" onclick = "doAjaxCall('comicScan',$(this),'tabs',true);return false;" data-success = "Changes Saved Successfully" >
IMP: When scanning a folder using the Import a Directory option, upon completion a button to the Import Results Management page will be displayed to allow for easier access / acknowledgement of completion of scan, FIX: Fixed some issues with the search results page displaying too much information, IMP: Improved the ability to see alternate covers within issues when viewing selected issue details via the 'i' icon on the issue details page, IMP: Fixed the problem with issues that had 2015 dates and wouldn't scan in via manual post-processing, IMP: Added duplicate issue detection (beta) - enabled, when post-processing (manually or otherwise), will retain the issue that is bigger in filesize and won't post-process if it's smaller in size, instead of hammering the oldest copy, FIX: bunch of small fixes, and getting groundwork done for other things.
2014-12-18 18:30:57 +00:00
%if mylar.IMPORTBUTTON:
< input type = "button" value = "Import Results Management" style = "float: right;" onclick = "location.href='importResults';" / >
%endif
2013-09-07 06:05:32 +00:00
< / fieldset >
< / form >
2012-09-13 15:27:34 +00:00
< / div >
2013-09-07 06:05:32 +00:00
< div id = "tabs-2" class = "configtable" >
< tr >
< td >
< form action = "post_process" method = "GET" id = "post_process" >
< fieldset >
< legend > Manual Run< / legend >
< p > < strong > Manual Post-Processing< / strong > < / p >
< p > You can put in any directory, and it will scan for comic files in that folder
(including all subdirectories) that exist on your watchlist.
< br / > < small > For example: '/Users/name/Comics'< / small > < / p >
< p >
It may take a while depending on how many files you have. You can navigate away from this
as soon as you click 'Go'.
< / p >
< br / >
< p > < strong > Only series' that exist on your watchlist will be post-processed with your current
post-processing options.< br / > The remainder will not be moved from the given directory< / strong > < / p >
< div class = "row" >
< label for = "" > Path to Manually Run< / label >
2014-08-05 18:08:47 +00:00
%if mylar.CHECK_FOLDER:
< input type = "text" value = "${mylar.CHECK_FOLDER}" name = "nzb_folder" size = "70" / >
%else:
< input type = "text" value = "Enter the full path to post-process" onfocus = "if
(this.value==this.defaultValue) this.value='';" name="nzb_folder" size="70" />
%endif
2013-09-07 06:05:32 +00:00
< input type = "hidden" name = "nzb_name" value = 'Manual Run' / >
< / div >
2014-05-29 18:05:11 +00:00
< input type = "button" value = "Go Manual Run!" onclick = "doAjaxCall('post_process',$(this),'tabs',true);return false;" data-success = "Manual post-processing now running." data-error = "Manual post-processing unable to run at this time." >
2013-09-07 06:05:32 +00:00
< / fieldset >
< / form >
< / td >
< / tr >
< / div >
2012-09-13 15:27:34 +00:00
2013-09-07 06:05:32 +00:00
< div id = "tabs-3" >
< table class = "configtable" summary = "Advanced Options" >
2013-07-10 01:45:10 +00:00
2013-09-07 06:05:32 +00:00
< tr >
< td >
< fieldset >
< div class = "links" >
< legend > Force Options< / legend >
< a href = "#" onclick = "doAjaxCall('forceSearch',$(this))" data-success = "Checking for wanted issues successful" data-error = "Error checking wanted issues" > < span class = "ui-icon ui-icon-search" > < / span > Force Check for Wanted Issues< / a >
< a href = "#" onclick = "doAjaxCall('forceUpdate',$(this))" data-success = "Update active comics successful" data-error = "Error forcing update Comics" > < span class = "ui-icon ui-icon-heart" > < / span > Force Update Active Comics< / a >
< a href = "#" onclick = "doAjaxCall('checkGithub',$(this))" data-success = "Checking for update successful" data-error = "Error checking for update" > < span class = "ui-icon ui-icon-refresh" > < / span > Check for mylar Updates< / a >
2013-07-10 01:45:10 +00:00
< / div >
2013-09-07 06:05:32 +00:00
< / fieldset >
< / td >
< td >
< fieldset >
2013-07-10 01:45:10 +00:00
< legend > Export< / legend >
< div class = "links" >
2013-09-07 06:05:32 +00:00
< a href = "#" onclick = "doAjaxCall('wanted_Export',$(this))" data-sucess = "Exported to Wanted list." data-error = "Failed to export. Check logs" > < span class = "ui-icon ui-icon-refresh" > < / span > Export Wanted to CSV< / a >
2013-07-10 01:45:10 +00:00
< / div >
2013-09-07 06:05:32 +00:00
< br / > < br / >
IMP: Cleaned up interface for StoryArcs / Story Arc Details, IMP: Cleaned up interface for Reading list Management, IMP: Added better reading list management - new status (added, downloaded, read), IMP: Added sync option for use with another device for reading list transfer (ie. tablet) Android only, IMP: Autopopulate new weekly pull releases to reading list, IMP: 'Watch' option in weekly pull list now fully functional. Will watch CV for series' that do not have any series data yet as they are new starting series. Will auto-add once available, IMP: Auto-watch check is run after every refresh/recreate of the weeklypull list, IMP: Improved the Add a Series option where it will now look for issues that are 'new' or 'wanted' during add sequence, IMP: Main page interface now has coloured have/total bars to denote series completion, IMP: New scheduler / threading locks in place in an attempt to avoid database locks, FIX: Removed some erroneous locking that was going on when importing a directory was being run, IMP: Stat counter now present when post-processing multiple issues in sequence, FIX: for issue number error when post-processing and issue number was a non-alphanumeric, FIX: for metatagging: when original file was .cbz, would try to convert and fail, FIX: for issues that were negative and were preceeded by a # in the filename (filechecker), FIX: for publisher having non-alphanumeric character in name when attempting to determine publisher, FIX: if annuals enabled, would incorrectly show as being 'already in library' when viewing search results if results constained annuals, FIX:(#944) for incorrect nzbname being used when post-processing was being performed from an nzb client (experimental mainly), IMP: Turned off logging for ComicVine API counter, FIX: Added retry attempts when connecting to ComicVine in order to avoid errors when adding a series, IMP:(#963) Added ability to add snatched to filter when viewing Wanted issues on Wanted tab, FIX: When importing and then selecting a series to import via the select screen, will now flip back to the importresults and add the selected series in the background, IMP:(#952) Main page is now sorted in ascending order by Continuing/Ended status (and subbed by whether is Active/Paused).Custom sorting is still available, FIX: Dupecheck will now automatically assume existing 0-byte files are to be overwritten when performing post-processing, FIX: If publication date for series contained a '?' (usually with brand new series) will force to 'Present' to allow for pull-list comparisons to take place, FIX: Mylar will now disallow search results which have 'covers only' or 'variant' in the filename, IMP: Better nzbname generation/retrieval (will check inside nzb for possible names) to be used when post-processing, IMP: DB Update will now perform update to all active comics in descending order by Latest Date (instead of random order), FIX: Enforce the 5hr limit rule when running DB update (will only update series that haven't been updated in >5 hours), FIX: Annuals will now have/retain the proper status upon doing DB Update, FIX: Have totals will now be updated when doing a recheck files (sometimes wouldn't get updated depending on various states of status'), FIX:(#966) Added urllib2.URLError exeception trap when attempting to check Git for updates, IMP: Removed the individual sqlite calls for weeklypull, and brought them into line with using the db module (which will minimize concurrent access, which seemed to be causing db locks), IMP: Cleaned up some code and shuffled some functions so they are in more appropriate locations
2015-03-27 17:27:59 +00:00
< legend > Additional Options< / legend >
2013-07-10 01:45:10 +00:00
< div classs = "links" >
2013-09-07 06:05:32 +00:00
< a href = "readlist" > Reading List Management< / a > < br / >
IMP: Cleaned up interface for StoryArcs / Story Arc Details, IMP: Cleaned up interface for Reading list Management, IMP: Added better reading list management - new status (added, downloaded, read), IMP: Added sync option for use with another device for reading list transfer (ie. tablet) Android only, IMP: Autopopulate new weekly pull releases to reading list, IMP: 'Watch' option in weekly pull list now fully functional. Will watch CV for series' that do not have any series data yet as they are new starting series. Will auto-add once available, IMP: Auto-watch check is run after every refresh/recreate of the weeklypull list, IMP: Improved the Add a Series option where it will now look for issues that are 'new' or 'wanted' during add sequence, IMP: Main page interface now has coloured have/total bars to denote series completion, IMP: New scheduler / threading locks in place in an attempt to avoid database locks, FIX: Removed some erroneous locking that was going on when importing a directory was being run, IMP: Stat counter now present when post-processing multiple issues in sequence, FIX: for issue number error when post-processing and issue number was a non-alphanumeric, FIX: for metatagging: when original file was .cbz, would try to convert and fail, FIX: for issues that were negative and were preceeded by a # in the filename (filechecker), FIX: for publisher having non-alphanumeric character in name when attempting to determine publisher, FIX: if annuals enabled, would incorrectly show as being 'already in library' when viewing search results if results constained annuals, FIX:(#944) for incorrect nzbname being used when post-processing was being performed from an nzb client (experimental mainly), IMP: Turned off logging for ComicVine API counter, FIX: Added retry attempts when connecting to ComicVine in order to avoid errors when adding a series, IMP:(#963) Added ability to add snatched to filter when viewing Wanted issues on Wanted tab, FIX: When importing and then selecting a series to import via the select screen, will now flip back to the importresults and add the selected series in the background, IMP:(#952) Main page is now sorted in ascending order by Continuing/Ended status (and subbed by whether is Active/Paused).Custom sorting is still available, FIX: Dupecheck will now automatically assume existing 0-byte files are to be overwritten when performing post-processing, FIX: If publication date for series contained a '?' (usually with brand new series) will force to 'Present' to allow for pull-list comparisons to take place, FIX: Mylar will now disallow search results which have 'covers only' or 'variant' in the filename, IMP: Better nzbname generation/retrieval (will check inside nzb for possible names) to be used when post-processing, IMP: DB Update will now perform update to all active comics in descending order by Latest Date (instead of random order), FIX: Enforce the 5hr limit rule when running DB update (will only update series that haven't been updated in >5 hours), FIX: Annuals will now have/retain the proper status upon doing DB Update, FIX: Have totals will now be updated when doing a recheck files (sometimes wouldn't get updated depending on various states of status'), FIX:(#966) Added urllib2.URLError exeception trap when attempting to check Git for updates, IMP: Removed the individual sqlite calls for weeklypull, and brought them into line with using the db module (which will minimize concurrent access, which seemed to be causing db locks), IMP: Cleaned up some code and shuffled some functions so they are in more appropriate locations
2015-03-27 17:27:59 +00:00
< a href = "storyarc_main" > Story Arc Management< / a > < br / >
2013-09-07 06:05:32 +00:00
< a href = "importResults" > Import Results Management< / a >
2013-07-10 01:45:10 +00:00
< / div >
2013-09-07 06:05:32 +00:00
< / fieldset >
< / td >
< / tr >
< / table >
< / div >
2013-07-10 01:45:10 +00:00
2012-09-13 15:27:34 +00:00
< / div >
< /%def>
< %def name="javascriptIncludes()">
IMP: 32P legacy mode (rss feed only) and Auth mode (user/pass) available now. With Auth mode, will monitor all of personal notification feeds, IMP: Changed access methods to 32P for retrieving links, FIX:(#1007) Fixed error for one-off downloading via weekly pull list, FIX: (#1004) Fix for post-processing errors (missing files), FIX: (#1001) Extra scripts & pre-scripts will now accept bash scripts, FIX: Annuals were being incorrectly tallied in Have total as well as not having status correctly updated, IMP: Fixed some discrepencies with the provider_order generation line, IMP: Made some additional adjustments to the file-checking to account for some additional variations in naming, FIX: Fixed traceback errors when folder monitor was running and wouldn't be able to complete the post-processing properly, FIX: Cleanup code and some other small fixes....
2015-05-09 02:39:28 +00:00
< script >
function addScanAction() {
$('#autoadd').append('< input type = "hidden" name = "scan" value = 1 / > ');
};
IMP: Ability to now specify search provider order (regardless of torrents or nzb) within the config.ini, IMP: (#667) Changed the db module to try to accomodate db locking errors and lowering the amount of actual write transactions that were committed along with a new scheduler system, IMP: Changed sabnzbd directory to post-processing, and included subdirs for sabnzbd & nzbget ComicRN scripts, IMP: NZBGet Post-Processing ComicRN.py script (updated for use with nzbget v11.0+)added & updated in post-processing/nzbget directory (thnx ministoat), FIX: If Issue Location was None, and status was Downloaded would cause error in GUI and break series, IMP: (#689) Minimum # of seeders added (will work with KAT), IMP: (#680) Added Boxcar 2 IO Notifications, IMP: Added PushBullet Notifications, IMP: Cleaned up some notification messages so it's not so cluttered, IMP: Added Clickable series link in History tab, IMP: Added Post-Processed as a status to History tab to show manually post-processed items, IMP: Removed log level dropdown from Logs page & added 'ThreadName' as a column, IMP: Added Force Check Availability & View Future Pull-list to Upcoming sub-tabs, IMP: Added '--safe' option to startup options which will redirect directly to Manage Comics screen incase things are broken, FIX: Added proper month conversions for manual post-processing when doing comparitive issue analysis for matches, FIX: (#613) Allow for negative issue numbers in post-processing when renaming and issue padding is enabled, FIX: File Permissions on post-processing would stop post-processing if couldn't change, now will just log the error and continue, IMP: Added Scheduler (from sickbeard) to allow for threadnaming and better scheduling, IMP: Filenames in the format of ' () ' will now get scanned in, IMP: During manual post-processing will now stop looking for matches upon a successful match, IMP: A Refresh/Weeklypull series check will now just scan in issue data, instead of series info,etc, IMP: Removed some legacy GCD code that is no longer in use, IMP: Exception/traceback handling will now be logged, FIX: Unable to grab torrents from KAT due to content-encoding detection failing, IMP: Added universal date-time conversion to allow for non-english based dates to be properly compared when checking search results against publication dates, FIX: Annuals will now get proper notification (prior was leaving out the word 'annual' from notification/logs), IMP: Improved future pull-list detection and increased retension (now ~5 months), IMP: Will now mark new issues as Wanted on a Refresh Series if autowant upcoming is enabled (was reverting to a status of None previously), IMP: Cannot change status to Downloaded if current status is Skipped or Wanted, FIX: (#704) UnSkipped will now work (X in options column on comic details page), IMP: future_check will check upcoming future issues (future pull-list) that have no series data yet (ie. #1's) and auto-add them to watchlist when the data is available and auto-want accordingly, IMP: (#706) Downloading issues to local machine (via comicdetails screen) with special characters in filename now will work, IMP: improved comparison checks during weekly pull list and improved speed abit since only refreshing issue data now instead of entire series, Other Referenced issues: (#670)(#690) and some others....
2014-05-25 18:32:11 +00:00
IMP: 32P legacy mode (rss feed only) and Auth mode (user/pass) available now. With Auth mode, will monitor all of personal notification feeds, IMP: Changed access methods to 32P for retrieving links, FIX:(#1007) Fixed error for one-off downloading via weekly pull list, FIX: (#1004) Fix for post-processing errors (missing files), FIX: (#1001) Extra scripts & pre-scripts will now accept bash scripts, FIX: Annuals were being incorrectly tallied in Have total as well as not having status correctly updated, IMP: Fixed some discrepencies with the provider_order generation line, IMP: Made some additional adjustments to the file-checking to account for some additional variations in naming, FIX: Fixed traceback errors when folder monitor was running and wouldn't be able to complete the post-processing properly, FIX: Cleanup code and some other small fixes....
2015-05-09 02:39:28 +00:00
function initThisPage() {
jQuery( "#tabs" ).tabs();
initActions();
initConfigCheckbox("#imp_move");
2013-09-07 06:05:32 +00:00
IMP: 32P legacy mode (rss feed only) and Auth mode (user/pass) available now. With Auth mode, will monitor all of personal notification feeds, IMP: Changed access methods to 32P for retrieving links, FIX:(#1007) Fixed error for one-off downloading via weekly pull list, FIX: (#1004) Fix for post-processing errors (missing files), FIX: (#1001) Extra scripts & pre-scripts will now accept bash scripts, FIX: Annuals were being incorrectly tallied in Have total as well as not having status correctly updated, IMP: Fixed some discrepencies with the provider_order generation line, IMP: Made some additional adjustments to the file-checking to account for some additional variations in naming, FIX: Fixed traceback errors when folder monitor was running and wouldn't be able to complete the post-processing properly, FIX: Cleanup code and some other small fixes....
2015-05-09 02:39:28 +00:00
};
$(document).ready(function() {
initThisPage();
});
2012-09-13 15:27:34 +00:00
< / script >
< /%def>