* imagetools: updates for miniade 0.2.7 * imagetools: switched from own msg.sh to miniade * imagetools: updated msg.sh from other modules * imagetools: updated msg.sh from other modules * imagetools: restored old prefix-createdate script * imagetools: deleted picrenamer3 (after entire module cloned to picrenamer3) * imagetools: deleted old scripts picscaler and prefix-createdate (in preparation for renaming/cloning the entire module) * imagetools/picrenamer3: allow more non-ASCII characters in descriptions and added missing function ts_to_exiftool_createdate(), which had not needed to be called until recently * imagetools/picrenamer3: changes a reference to pip to pip3 in an error message * imagetools/picrenamer3: converted to python3 (no more encoding/decoding, GPX and JSON files opened in non-binary mode, print replaced by print()) * imagetools/picrenamer3: aligned statements about actions that will and won't be taken * imagetools/picrenamer3: make gpx file paths absolute (for easy referencing by the HTML) * imagetools/picrenamer3: tweaked colours of critical output * imagetools/picrenamer3: ongoing tidy-up * imagetools/picrenamer3: fixed aforementioned bug * imagetools/picrenamer3: post-date-simplification commit (has bug though: changes in EXIF header timestamp are not detected) * imagetools/picrenamer3: pre-date-simplification commit * imagetools/picrenamer3: partial switch to using nighest trackpoints instead of waypoints (code is a real mess but it works) * imagetools/picrenamer3: comment changes only * imagetools/picrenamer3: removed already commented out code * imagetools/picrenamer3: cosmetic changes only * imagetools/picrenamer3: on going edits mostly finished now * imagetools/picrenamer3: on going edits * imagetools/picrenamer3: on going edits * imagetools/picrenamer3: on going edits * imagetools/picrenamer3: fixed bug whereby location-spec-method question only allowed confirm-rename question's answers * imagetools/picrenamer3: function name changes, json checking * imagetools/picrenamer3: fixed geeqie- & browser-launch issues and moved their calls to *outside* of "keep asking till get good answer" loop (i.e. now called once per image, not once per Q&A session) * imagetools/picrenamer3: big code tidy-up (ongoing) * imagetools/picrenamer3: big code tidy-up (ongoing) * imagetools/picrenamer3: bug fix for places_file bug discovered when running on delguine with Suzie * imagetools/picrenamer3: partial implementation of fixes requested by Suzie * imagetools/picrenamer3: various small edits for running picrenamer on Delguine * imagetools/picrenamer3: use lowercase 'a' for Android serial numbers * imagetools/picrenamer3: still call browser even when no GPX files specified * imagetools/picrenamer3: reduced absence of GPX waypoint files from error to warning * imagetools/picrenamer3: added some more aliases for people, locations, cities. * imagetools/picrenamer3: added some more regexps for extracting serial numbers (though these are mostly temporary) and removed all upper case regexps * imagetools/picrenamer3: allow for source image having been deleted (manually and outside of picrenamer3) before attempting to rename it * imagetools/picrenamer3: found and fixed another UTF8 problem * imagetools/picrenamer3: added script for importing location databases * imagetools/picrenamer3: added support for abbreviating lat/lon and cities and standardised code for abbreviating people * imagetools/picrenamer3: more str to unicode conversions * imagetools/picrenamer3: correct time period calculation * imagetools/picrenamer3: added functions to display help messages return rationalised_ans * imagetools/picrenamer3: abracted dirname code to function * imagetools/picrenamer3: minor *cosmetic* changes only * imagetools/picrenamer3: changed people separator from comma to underscore * imagetools/picrenamer3: removed support for seqno, added illegal word listed not allowed in description (e.g. 'river', 'view'), highlight the proposed renaming in the output, changed default zoom, many changes to unicode (including of command line files, output passed to .write() method, history insertion...), don't attempt to work out nearest town if location of photo was deliberately not set, strip leading and trailing spaces of city and description * imagetools/picrenamer3: added determination of nearest town (but it has UTF-8 related problems) * imagetools/picrenamer3: no default person, paste select location from clipboard as default location (if user specified to enter a location manually), cache gpx and image data for faster start times, handle fork exceptions from subprocess module better * imagetools/picrenamer3: styled GPX track according to https://stackoverflow.com/a/53956821/6554992 * imagetools: deleted picresizer (was for MoinMoin) and podpics (was for iPod) * imagetools/picrenamer3: extract a simulated serial number from Android photos * imagetools/picrenamer3: cleaned up continue/redo/quit end-of-inner-loop question * imagetools/picrenamer3: more intitial sanity checks (e.g. both latitude and longitude present or absent), which relieves later-executing code of the need to make such odd checks * imagetools/picrenamer3: trackfile is no longer hard-coded and is optional * imagetools/picrenamer3: command line option added to force asking for creation time info and serial number else it now defaults * imagetools/picrenamer3: add id (e.g. 'tieh', 'niaw') to the map legend * imagetools/picrenamer3: rewrote convert_s_to_hms() function after realising that (-123)%100 is 77 * (this also involved adding my own sign() function. * imagetools/picrenamer3: added image name to HTML title to get it put on browser frame * imagetools/picrenamer3: fixed bug whereby expand_person() was crashing if person was unknown * imagetools/picrenamer3: massive code cleanup, disable builtin http server logging, better CTRL-C handling, display a GPX track layer * imagetools/picrenamer3: minor cosmetic fixes and removal of superflous break * imagetools/picrenamer3: clicking a location copies its location to clipboard (required use of http server as writing to clipboard is not allowed by Chrome for file:// URLs) * imagetools/picrenamer3: take seqno, country, city, description, people from the same source as we take location information (which is in turn specified by the user) * imagetools/picrenamer3: keep most *recent* instance of items when deduplicating histories * imagetools/picrenamer3: more fixes * imagetools/picrenamer3: prioritise nigher of locations specified in nighest with-EXIF image's EXIF headers and nighest with-waypoint as default for setting current photo's location * imagetools/picrenamer3: ask for confirmation before renaming * imagetools/picrenamer3: more development in progress (rending offset markers) * imagetools/picrenamer3: more development in progress (html is now stored inside script and it can plot some hard-coded points around Australia) * imagetools/picrenamer3: more development in progress * imagetools/picrenamer3: more development in progress * imagetools/picrenamer3: more development in progress * imagetools/picrenamer2: investigation of history errors * imagetools/picrenamer2: rewrote in python * imagetools/picrenamer: implemented better way to remember previous file's attributes to use as defaults for next. * imagetools/picrenamer: partial support for Android camera pictures * imagetools/picrenamer: optionally derive dates in filenames from previous file, not from timestamps of files, which can be unreliable * imagetools/picrenamer: better handling of files with spaces in name * imagetools/picrenamer: set default serial number when non found (as with android camera uploads) * imagetools/picresizer: added script * imagetools/picrenamer: set default city * imagetools/picrenamer: updates to use geeqie instead of gqview * imagetools/picrenamer: minor correction to the timing of the launch of gqview * imagetools/picrenamer: launch gqview for each pic, provide extra info to user prior to prompting, use date from file not timestamp given to previous file * imagetools/picscaler: changes size of images from 768 height to fitting in a 1600x1600 box * imagetools/picscaler: added small script to help in preparation of Cycling wiki pages * imagetools/picrenamer: disambigufication of considered files * imagetools/picrenamer: allow lower case photographer name * imagetools/picrenamer: abstracted debugging echos * imagetools/picrenamer: use command-line specified file list if provided otherwise widened list of possible picture files * ipodtools: force bash 3.1 compatibility for '[[' quoting * ipodtools: created module