Urban Wallasch [Tue, 1 Jun 2021 14:15:40 +0000 (16:15 +0200)]
* Fixed default return values in proc_cmd().
Urban Wallasch [Mon, 31 May 2021 11:42:16 +0000 (13:42 +0200)]
* Bumped version to 0.4
Urban Wallasch [Mon, 31 May 2021 11:35:30 +0000 (13:35 +0200)]
* Added README_WIN.md containing notes on how to potentially run FFpreview on Windows.
Urban Wallasch [Mon, 31 May 2021 11:33:17 +0000 (13:33 +0200)]
* Capitalize FFpreview and FFmpeg when referring to projects (as opposed to actual executables).
Urban Wallasch [Mon, 31 May 2021 11:29:34 +0000 (13:29 +0200)]
* Added alternative method for counting subtitle streams using ffmpeg should ffprobe fail.
Urban Wallasch [Sat, 29 May 2021 07:11:53 +0000 (09:11 +0200)]
* Fixed some minor issues in subprocess handling and error reporting.
Urban Wallasch [Fri, 28 May 2021 11:21:35 +0000 (13:21 +0200)]
* Added GUI batch processing dialog.
Urban Wallasch [Thu, 27 May 2021 23:51:05 +0000 (01:51 +0200)]
* Fixed respective return values of make_thumbs() and abort_build().
Urban Wallasch [Thu, 27 May 2021 20:38:06 +0000 (22:38 +0200)]
* Fixed tiny glitch in video file extension glob pattern.
Urban Wallasch [Thu, 27 May 2021 13:30:03 +0000 (15:30 +0200)]
* Improved subtitle support: now respects start time setting and potentially works on Windows.
Urban Wallasch [Thu, 27 May 2021 13:15:01 +0000 (15:15 +0200)]
* Fixed output directory not correctly set after loading preferences.
Urban Wallasch [Thu, 27 May 2021 11:05:47 +0000 (13:05 +0200)]
* Fixed player invocation on Windows platform.
Urban Wallasch [Thu, 27 May 2021 11:03:13 +0000 (13:03 +0200)]
* Improved subtitle filter option argument escaping.
* Added notes about subtitle rendering being an experimental feature.
Urban Wallasch [Thu, 27 May 2021 10:56:32 +0000 (12:56 +0200)]
* Fixed configuration file search method.
Urban Wallasch [Wed, 26 May 2021 19:44:55 +0000 (21:44 +0200)]
* Include leading zero hours when copying timestamp.
Urban Wallasch [Wed, 26 May 2021 19:27:37 +0000 (21:27 +0200)]
* Replaced screenshot in README.md.
Urban Wallasch [Wed, 26 May 2021 19:16:26 +0000 (21:16 +0200)]
* Fixed bug in error message generation.
Urban Wallasch [Wed, 26 May 2021 18:43:04 +0000 (20:43 +0200)]
* Fixed regression: quoted commas in ffmpeg filter presets.
Urban Wallasch [Wed, 26 May 2021 18:41:52 +0000 (20:41 +0200)]
* Subtitle rendering only works, when processing the video file from the start.
Urban Wallasch [Wed, 26 May 2021 16:29:54 +0000 (18:29 +0200)]
* Attempt to escape (ha!) quoting hell.
* Pass command lines to Popen() as argument lists, not single strings.
* Took the shell out of the equation when starting subprocesses.
* Implemented escaping for ffmpeg subtitle filter argument.
Urban Wallasch [Wed, 26 May 2021 14:39:00 +0000 (16:39 +0200)]
* Moved trivial subprocess execution to separate wrapper function.
* Reintroduced fast ffprobe container scanning method.
Urban Wallasch [Wed, 26 May 2021 10:30:56 +0000 (12:30 +0200)]
* Fixed two instances of potential dividion by zero.
Urban Wallasch [Wed, 26 May 2021 09:53:58 +0000 (11:53 +0200)]
* Simplified clearing the thumbnail view, eliminating time consuming garbage collection
when switching between large sets of thumbnails.
Urban Wallasch [Wed, 26 May 2021 01:21:39 +0000 (03:21 +0200)]
* Small tweaks to tFlowLayout.
Urban Wallasch [Tue, 25 May 2021 21:05:35 +0000 (23:05 +0200)]
* Display "Abort Operation" dialog only if an external command is running.
Urban Wallasch [Tue, 25 May 2021 20:11:20 +0000 (22:11 +0200)]
* Fixed some bugs related to config files and option types.
Urban Wallasch [Tue, 25 May 2021 17:32:23 +0000 (19:32 +0200)]
* Fixed several implicit float to int conversions (Python3.8 DeprecationWarning).
Urban Wallasch [Tue, 25 May 2021 17:07:43 +0000 (19:07 +0200)]
* Replaced QGridlayout with an optimized flow layout, resulting in noticeable
performance gain when handling thousands of thumbnails.
Urban Wallasch [Tue, 25 May 2021 11:36:40 +0000 (13:36 +0200)]
* Slightly streamlined some thumb grid operations.
Urban Wallasch [Tue, 25 May 2021 09:31:07 +0000 (11:31 +0200)]
* Display scanning progress in thumbnail manager dialog.
Urban Wallasch [Tue, 25 May 2021 09:27:58 +0000 (11:27 +0200)]
* Set Qt.WA_DeleteOnClose on dialogs, replacing ugly deleteLater() hack.
Urban Wallasch [Tue, 25 May 2021 09:25:35 +0000 (11:25 +0200)]
* Changed 'Close' button to 'Ok' in help dialog.
Urban Wallasch [Mon, 24 May 2021 19:05:19 +0000 (21:05 +0200)]
* Include subtitle stream information in thumbnail index file.
Urban Wallasch [Mon, 24 May 2021 19:04:42 +0000 (21:04 +0200)]
* Improved parametrization of config dialog edit widgets.
Urban Wallasch [Mon, 24 May 2021 19:03:47 +0000 (21:03 +0200)]
* Changed default for 'reuse' to True in ffpreview.conf.sample.
Urban Wallasch [Mon, 24 May 2021 15:19:09 +0000 (17:19 +0200)]
* Addded -a/--addss option to render subtitles in thumbnail images.
Urban Wallasch [Mon, 24 May 2021 15:14:34 +0000 (17:14 +0200)]
* Fixed str2int() to accept optional sign.
Urban Wallasch [Mon, 24 May 2021 13:20:58 +0000 (15:20 +0200)]
* Added link to ffmpeg filter documentation and fixed custom filter description in README.md.
Urban Wallasch [Mon, 24 May 2021 12:21:26 +0000 (14:21 +0200)]
* Improved view locking logic.
Urban Wallasch [Mon, 24 May 2021 12:20:19 +0000 (14:20 +0200)]
* Fixed potential bug in tmDialog.accept().
Urban Wallasch [Sun, 23 May 2021 18:09:07 +0000 (20:09 +0200)]
* Fixed view being updated even while locked.
Urban Wallasch [Sun, 23 May 2021 17:41:40 +0000 (19:41 +0200)]
* Disable cursor highlight while view is locked.
Urban Wallasch [Sun, 23 May 2021 17:40:39 +0000 (19:40 +0200)]
* Added section about filter expressions to README.md.
Urban Wallasch [Sun, 23 May 2021 12:39:17 +0000 (14:39 +0200)]
* Calculate optimal window geometry in ten easy steps.
Urban Wallasch [Sun, 23 May 2021 00:14:54 +0000 (02:14 +0200)]
* Fixed resource leak in "Help & About" dialog.
Urban Wallasch [Sat, 22 May 2021 23:36:39 +0000 (01:36 +0200)]
* Added 'Help & About' dialog.
* Added screenshot to README.
* Fixed some minor issues (mainly help text and comments).
* Set version tag to 0.3+.
Urban Wallasch [Sat, 22 May 2021 15:06:48 +0000 (17:06 +0200)]
* Preserve selection across refresh/redraw in thumbnail manager.
* Added context menu to tree view in thumbnail manager.
* Added tool tips to thumbnail manager filter.
Urban Wallasch [Sat, 22 May 2021 10:08:03 +0000 (12:08 +0200)]
* Resize columns (except first) in thumbnail manager tree view to accommodate their respective contents.
Urban Wallasch [Sat, 22 May 2021 09:55:54 +0000 (11:55 +0200)]
* Resize 1st column in thumbnail manager tree view up to a sensible maximum width on initial load.
Urban Wallasch [Sat, 22 May 2021 09:31:23 +0000 (11:31 +0200)]
* Added filter to thumbnail manager.
Urban Wallasch [Sat, 22 May 2021 00:04:51 +0000 (02:04 +0200)]
* Version bump 0.3
Urban Wallasch [Fri, 21 May 2021 23:49:56 +0000 (01:49 +0200)]
* Actually reset the 'force' flag after every loaded view.
* Rearranged context menu.
Urban Wallasch [Fri, 21 May 2021 21:00:33 +0000 (23:00 +0200)]
* Swapped close and error icons.
Urban Wallasch [Fri, 21 May 2021 19:15:18 +0000 (21:15 +0200)]
* Added reset to zero button to time input in preferences; minor cleanup.
Urban Wallasch [Fri, 21 May 2021 19:13:32 +0000 (21:13 +0200)]
* Fixed Qt resource leak in "Preferences" dialog.
Urban Wallasch [Fri, 21 May 2021 18:52:27 +0000 (20:52 +0200)]
* Fixed/tweaked various regexes.
Urban Wallasch [Fri, 21 May 2021 17:41:13 +0000 (19:41 +0200)]
* Added lots of tool tips.
Urban Wallasch [Fri, 21 May 2021 16:19:25 +0000 (18:19 +0200)]
* More small fixes around 'Preferences' dialog.
Urban Wallasch [Fri, 21 May 2021 16:01:28 +0000 (18:01 +0200)]
* Apply preferences when saving, as one would expect.
Urban Wallasch [Fri, 21 May 2021 15:00:16 +0000 (17:00 +0200)]
* Partial revert of last commit.
Urban Wallasch [Fri, 21 May 2021 14:54:16 +0000 (16:54 +0200)]
* Added default arguments for load_cfgfile(), use correct file name in success message, fixed GUI error message.
Urban Wallasch [Fri, 21 May 2021 14:35:32 +0000 (16:35 +0200)]
* Fixed bugs related to type conversions when saving or loading config files.
Urban Wallasch [Fri, 21 May 2021 13:28:37 +0000 (15:28 +0200)]
* Fixed and enhanced 'Preferences' dialog.
Urban Wallasch [Fri, 21 May 2021 04:48:19 +0000 (06:48 +0200)]
* Added "Preferences" dialog.
Urban Wallasch [Thu, 20 May 2021 19:01:45 +0000 (21:01 +0200)]
* Removed configurable application style sheets, let the theme decide.
Urban Wallasch [Thu, 20 May 2021 18:41:17 +0000 (20:41 +0200)]
* Disable thumbs view while locked, i.e. during load, build thumbnails.
Urban Wallasch [Thu, 20 May 2021 18:21:40 +0000 (20:21 +0200)]
* Fixed config path heuristic once again.
Urban Wallasch [Thu, 20 May 2021 14:57:53 +0000 (16:57 +0200)]
* Tweaked config file search method, again.
Urban Wallasch [Thu, 20 May 2021 14:12:09 +0000 (16:12 +0200)]
* Wrapped configuration in non-instantiated class.
* Only load up to one configuration file (no cascading).
* Made minor changes to some default settings and their handling.
Urban Wallasch [Thu, 20 May 2021 13:21:18 +0000 (15:21 +0200)]
* Added more safeguards against missing global variables.
Urban Wallasch [Thu, 20 May 2021 13:19:20 +0000 (15:19 +0200)]
* Fixed chk_idxfile() testing for non-applicable method parameters.
Urban Wallasch [Thu, 20 May 2021 11:17:58 +0000 (13:17 +0200)]
* Do not instantiate ffIcon, initialize class attributes in __new__.
Urban Wallasch [Thu, 20 May 2021 10:54:48 +0000 (12:54 +0200)]
* Do not clear unused parameters from config.
* Only include applicable method parameters in thinfo.
Urban Wallasch [Wed, 19 May 2021 20:57:59 +0000 (22:57 +0200)]
* Removed code to set custom tooltip color, let the theme decide.
Urban Wallasch [Wed, 19 May 2021 14:18:54 +0000 (16:18 +0200)]
* Added 'Reload' item to context menu.
Urban Wallasch [Wed, 19 May 2021 14:18:09 +0000 (16:18 +0200)]
* Changed color of 'Refresh' icon.
Urban Wallasch [Wed, 19 May 2021 13:41:16 +0000 (15:41 +0200)]
* Fixed command line argument splitting for non-Windows player invocation, in particular replaced split() with shlex.split().
Urban Wallasch [Wed, 19 May 2021 13:38:45 +0000 (15:38 +0200)]
* Amended sample configuration file and README.
Urban Wallasch [Wed, 19 May 2021 11:24:45 +0000 (13:24 +0200)]
* Added total size display to thumbnail manager; disable 'Select Broken' button when nothing is broken.
Urban Wallasch [Wed, 19 May 2021 11:23:18 +0000 (13:23 +0200)]
* Reduced size of embedded icon image data.
Urban Wallasch [Tue, 18 May 2021 22:05:52 +0000 (00:05 +0200)]
* Double fork on Linux when starting video player to avoid accumulating zombie processes.
Urban Wallasch [Tue, 18 May 2021 14:05:26 +0000 (16:05 +0200)]
* Embedded all GUI icons.
Urban Wallasch [Tue, 18 May 2021 14:04:19 +0000 (16:04 +0200)]
* Fixed crashes caused by empty or corrupted index files.
* Several small improvements (error handling, tooltips, ...)
Urban Wallasch [Tue, 18 May 2021 10:58:42 +0000 (12:58 +0200)]
* Fixed thumbnail manager crashing on broken index.
* Improved thumbnail manager appearance.
* Fixed video duration microseconds truncated in certain cases.
Urban Wallasch [Tue, 18 May 2021 08:36:52 +0000 (10:36 +0200)]
* Set timestamp right before writing index file, not before creating thumbnails files.
Urban Wallasch [Tue, 18 May 2021 01:41:59 +0000 (03:41 +0200)]
* Added note about the semantics of --force to README.md.
* Added note about thumbnail manager to README.md.
Urban Wallasch [Tue, 18 May 2021 01:19:37 +0000 (03:19 +0200)]
* Include ffpreview version number in index file and initial window title.
Urban Wallasch [Tue, 18 May 2021 01:17:32 +0000 (03:17 +0200)]
* Replaced QListWidget with QTreeWidget in thumbnail manager to show more information.
* Added tooltips to thumbnail manager list items.
Urban Wallasch [Mon, 17 May 2021 18:48:20 +0000 (20:48 +0200)]
* Fixed Qt resource leak in context menu.
* Added confirmation dialogs to force rebuild and abort build actions.
* ESC key now only cancels a running build, not forcefully closes window.
Urban Wallasch [Mon, 17 May 2021 16:51:56 +0000 (18:51 +0200)]
* Fixed broken deletion of index file in clear_thumbdir() and made it safer.
* Thumbnail manager now refuses to remove folders containing files that aren't ours.
* Added 'Invert Selection' and 'Select Broken' buttons to thumbnail manager.
* Improved button layout, styling and logic in thumbnail manager.
* Reset 'force' flag after initial load_view() to avoid nasty surprises.
* Added 'Force Rebuild' option to context menu.
* Minor tweaks: small optimizations, code simplification, visual improvements, debugging, whitespace.
Urban Wallasch [Mon, 17 May 2021 03:08:11 +0000 (05:08 +0200)]
* Went back to centralized context menu. Will it last?
Urban Wallasch [Mon, 17 May 2021 02:05:43 +0000 (04:05 +0200)]
* Added safeguards to prevent aciidentally running more than one loading operation simultaneously.
Urban Wallasch [Sun, 16 May 2021 19:33:11 +0000 (21:33 +0200)]
* Added garbage collector stats to debug output.
Urban Wallasch [Sun, 16 May 2021 19:32:49 +0000 (21:32 +0200)]
* Simplified if condition.
Urban Wallasch [Sun, 16 May 2021 15:08:02 +0000 (17:08 +0200)]
* Fixed crash when triggering play_video() when no video was loaded.
* Fixed crash when triggering context menu via keyboard shortcut.
* Improved and sped up code in clear_view().
* Added debug stats thread, activate by setting FFDEBUG environment variable
Urban Wallasch [Sun, 16 May 2021 13:21:19 +0000 (15:21 +0200)]
* More progress callback stuff.
Urban Wallasch [Sun, 16 May 2021 09:28:13 +0000 (11:28 +0200)]
* Moved make_tlabels() to main window class where it belongs.
* Improved progress display logic.
Urban Wallasch [Sat, 15 May 2021 18:57:50 +0000 (20:57 +0200)]
* Eliminated all cases of subordinate widgets directly accessing attributes or methods of widgets higher up in the hierarchy.
* Fixed two player processes starting on Shift+double-click; changed Shift+click binding to Shift+double-click.
* Removed dubious and basically useless main context menu switcher.
Urban Wallasch [Sat, 15 May 2021 16:24:55 +0000 (18:24 +0200)]
* Fixed regression which resulted in relative paths being stored in index file.
Urban Wallasch [Sat, 15 May 2021 10:22:46 +0000 (12:22 +0200)]
* Fixed multiple instances of "DeprecationWarning: an integer is required (got type float)".