ffpreview.git
4 years ago* Fixed output directory not correctly set after loading preferences.
Urban Wallasch [Thu, 27 May 2021 13:15:01 +0000 (15:15 +0200)]
* Fixed output directory not correctly set after loading preferences.

4 years ago* Fixed player invocation on Windows platform.
Urban Wallasch [Thu, 27 May 2021 11:05:47 +0000 (13:05 +0200)]
* Fixed player invocation on Windows platform.

4 years ago* Improved subtitle filter option argument escaping.
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.

4 years ago* Fixed configuration file search method.
Urban Wallasch [Thu, 27 May 2021 10:56:32 +0000 (12:56 +0200)]
* Fixed configuration file search method.

4 years ago* Include leading zero hours when copying timestamp.
Urban Wallasch [Wed, 26 May 2021 19:44:55 +0000 (21:44 +0200)]
* Include leading zero hours when copying timestamp.

4 years ago* Replaced screenshot in README.md.
Urban Wallasch [Wed, 26 May 2021 19:27:37 +0000 (21:27 +0200)]
* Replaced screenshot in README.md.

4 years ago* Fixed bug in error message generation.
Urban Wallasch [Wed, 26 May 2021 19:16:26 +0000 (21:16 +0200)]
* Fixed bug in error message generation.

4 years ago* Fixed regression: quoted commas in ffmpeg filter presets.
Urban Wallasch [Wed, 26 May 2021 18:43:04 +0000 (20:43 +0200)]
* Fixed regression: quoted commas in ffmpeg filter presets.

4 years ago* Subtitle rendering only works, when processing the video file from the start.
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.

4 years ago* Attempt to escape (ha!) quoting hell.
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.

4 years ago* Moved trivial subprocess execution to separate wrapper function.
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.

4 years ago* Fixed two instances of potential dividion by zero.
Urban Wallasch [Wed, 26 May 2021 10:30:56 +0000 (12:30 +0200)]
* Fixed two instances of potential dividion by zero.

4 years ago* Simplified clearing the thumbnail view, eliminating time consuming garbage collection
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.

4 years ago* Small tweaks to tFlowLayout.
Urban Wallasch [Wed, 26 May 2021 01:21:39 +0000 (03:21 +0200)]
* Small tweaks to tFlowLayout.

4 years ago* Display "Abort Operation" dialog only if an external command is running.
Urban Wallasch [Tue, 25 May 2021 21:05:35 +0000 (23:05 +0200)]
* Display "Abort Operation" dialog only if an external command is running.

4 years ago* Fixed some bugs related to config files and option types.
Urban Wallasch [Tue, 25 May 2021 20:11:20 +0000 (22:11 +0200)]
* Fixed some bugs related to config files and option types.

4 years ago* Fixed several implicit float to int conversions (Python3.8 DeprecationWarning).
Urban Wallasch [Tue, 25 May 2021 17:32:23 +0000 (19:32 +0200)]
* Fixed several implicit float to int conversions (Python3.8 DeprecationWarning).

4 years ago* Replaced QGridlayout with an optimized flow layout, resulting in noticeable
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.

4 years ago* Slightly streamlined some thumb grid operations.
Urban Wallasch [Tue, 25 May 2021 11:36:40 +0000 (13:36 +0200)]
* Slightly streamlined some thumb grid operations.

4 years ago* Display scanning progress in thumbnail manager dialog.
Urban Wallasch [Tue, 25 May 2021 09:31:07 +0000 (11:31 +0200)]
* Display scanning progress in thumbnail manager dialog.

4 years ago* Set Qt.WA_DeleteOnClose on dialogs, replacing ugly deleteLater() hack.
Urban Wallasch [Tue, 25 May 2021 09:27:58 +0000 (11:27 +0200)]
* Set Qt.WA_DeleteOnClose on dialogs, replacing ugly deleteLater() hack.

4 years ago* Changed 'Close' button to 'Ok' in help dialog.
Urban Wallasch [Tue, 25 May 2021 09:25:35 +0000 (11:25 +0200)]
* Changed 'Close' button to 'Ok' in help dialog.

4 years ago* Include subtitle stream information in thumbnail index file.
Urban Wallasch [Mon, 24 May 2021 19:05:19 +0000 (21:05 +0200)]
* Include subtitle stream information in thumbnail index file.

4 years ago* Improved parametrization of config dialog edit widgets.
Urban Wallasch [Mon, 24 May 2021 19:04:42 +0000 (21:04 +0200)]
* Improved parametrization of config dialog edit widgets.

4 years ago* Changed default for 'reuse' to True in ffpreview.conf.sample.
Urban Wallasch [Mon, 24 May 2021 19:03:47 +0000 (21:03 +0200)]
* Changed default for 'reuse' to True in ffpreview.conf.sample.

4 years ago* Addded -a/--addss option to render subtitles in thumbnail images.
Urban Wallasch [Mon, 24 May 2021 15:19:09 +0000 (17:19 +0200)]
* Addded -a/--addss option to render subtitles in thumbnail images.

4 years ago* Fixed str2int() to accept optional sign.
Urban Wallasch [Mon, 24 May 2021 15:14:34 +0000 (17:14 +0200)]
* Fixed str2int() to accept optional sign.

4 years ago* Added link to ffmpeg filter documentation and fixed custom filter description in...
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.

4 years ago* Improved view locking logic.
Urban Wallasch [Mon, 24 May 2021 12:21:26 +0000 (14:21 +0200)]
* Improved view locking logic.

4 years ago* Fixed potential bug in tmDialog.accept().
Urban Wallasch [Mon, 24 May 2021 12:20:19 +0000 (14:20 +0200)]
* Fixed potential bug in tmDialog.accept().

4 years ago* Fixed view being updated even while locked.
Urban Wallasch [Sun, 23 May 2021 18:09:07 +0000 (20:09 +0200)]
* Fixed view being updated even while locked.

4 years ago* Disable cursor highlight while view is locked.
Urban Wallasch [Sun, 23 May 2021 17:41:40 +0000 (19:41 +0200)]
* Disable cursor highlight while view is locked.

4 years ago* Added section about filter expressions to README.md.
Urban Wallasch [Sun, 23 May 2021 17:40:39 +0000 (19:40 +0200)]
* Added section about filter expressions to README.md.

4 years ago* Calculate optimal window geometry in ten easy steps.
Urban Wallasch [Sun, 23 May 2021 12:39:17 +0000 (14:39 +0200)]
* Calculate optimal window geometry in ten easy steps.

4 years ago* Fixed resource leak in "Help & About" dialog.
Urban Wallasch [Sun, 23 May 2021 00:14:54 +0000 (02:14 +0200)]
* Fixed resource leak in "Help & About" dialog.

4 years ago* Added '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+.

4 years ago* Preserve selection across refresh/redraw in thumbnail manager.
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.

4 years ago* Resize columns (except first) in thumbnail manager tree view to accommodate their...
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.

4 years ago* Resize 1st column in thumbnail manager tree view up to a sensible maximum width...
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.

4 years ago* Added filter to thumbnail manager.
Urban Wallasch [Sat, 22 May 2021 09:31:23 +0000 (11:31 +0200)]
* Added filter to thumbnail manager.

4 years ago* Version bump 0.3 v0.3
Urban Wallasch [Sat, 22 May 2021 00:04:51 +0000 (02:04 +0200)]
* Version bump 0.3

4 years ago* Actually reset the 'force' flag after every loaded view.
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.

4 years ago* Swapped close and error icons.
Urban Wallasch [Fri, 21 May 2021 21:00:33 +0000 (23:00 +0200)]
* Swapped close and error icons.

4 years ago* Added reset to zero button to time input in preferences; minor cleanup.
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.

4 years ago* Fixed Qt resource leak in "Preferences" dialog.
Urban Wallasch [Fri, 21 May 2021 19:13:32 +0000 (21:13 +0200)]
* Fixed Qt resource leak in "Preferences" dialog.

4 years ago* Fixed/tweaked various regexes.
Urban Wallasch [Fri, 21 May 2021 18:52:27 +0000 (20:52 +0200)]
* Fixed/tweaked various regexes.

4 years ago* Added lots of tool tips.
Urban Wallasch [Fri, 21 May 2021 17:41:13 +0000 (19:41 +0200)]
* Added lots of tool tips.

4 years ago* More small fixes around 'Preferences' dialog.
Urban Wallasch [Fri, 21 May 2021 16:19:25 +0000 (18:19 +0200)]
* More small fixes around 'Preferences' dialog.

4 years ago* Apply preferences when saving, as one would expect.
Urban Wallasch [Fri, 21 May 2021 16:01:28 +0000 (18:01 +0200)]
* Apply preferences when saving, as one would expect.

4 years ago* Partial revert of last commit.
Urban Wallasch [Fri, 21 May 2021 15:00:16 +0000 (17:00 +0200)]
* Partial revert of last commit.

4 years ago* Added default arguments for load_cfgfile(), use correct file name in success messag...
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.

4 years ago* Fixed bugs related to type conversions when saving or loading config files.
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.

4 years ago* Fixed and enhanced 'Preferences' dialog.
Urban Wallasch [Fri, 21 May 2021 13:28:37 +0000 (15:28 +0200)]
* Fixed and enhanced 'Preferences' dialog.

4 years ago* Added "Preferences" dialog.
Urban Wallasch [Fri, 21 May 2021 04:48:19 +0000 (06:48 +0200)]
* Added "Preferences" dialog.

4 years ago* Removed configurable application style sheets, let the theme decide.
Urban Wallasch [Thu, 20 May 2021 19:01:45 +0000 (21:01 +0200)]
* Removed configurable application style sheets, let the theme decide.

4 years ago* Disable thumbs view while locked, i.e. during load, build thumbnails.
Urban Wallasch [Thu, 20 May 2021 18:41:17 +0000 (20:41 +0200)]
* Disable thumbs view while locked, i.e. during load, build thumbnails.

4 years ago* Fixed config path heuristic once again.
Urban Wallasch [Thu, 20 May 2021 18:21:40 +0000 (20:21 +0200)]
* Fixed config path heuristic once again.

4 years ago* Tweaked config file search method, again.
Urban Wallasch [Thu, 20 May 2021 14:57:53 +0000 (16:57 +0200)]
* Tweaked config file search method, again.

4 years ago* Wrapped configuration in non-instantiated class.
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.

4 years ago* Added more safeguards against missing global variables.
Urban Wallasch [Thu, 20 May 2021 13:21:18 +0000 (15:21 +0200)]
* Added more safeguards against missing global variables.

4 years ago* Fixed chk_idxfile() testing for non-applicable method parameters.
Urban Wallasch [Thu, 20 May 2021 13:19:20 +0000 (15:19 +0200)]
* Fixed chk_idxfile() testing for non-applicable method parameters.

4 years ago* Do not instantiate ffIcon, initialize class attributes in __new__.
Urban Wallasch [Thu, 20 May 2021 11:17:58 +0000 (13:17 +0200)]
* Do not instantiate ffIcon, initialize class attributes in __new__.

4 years ago* Do not clear unused parameters from config.
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.

4 years ago* Removed code to set custom tooltip color, let the theme decide.
Urban Wallasch [Wed, 19 May 2021 20:57:59 +0000 (22:57 +0200)]
* Removed code to set custom tooltip color, let the theme decide.

4 years ago* Added 'Reload' item to context menu.
Urban Wallasch [Wed, 19 May 2021 14:18:54 +0000 (16:18 +0200)]
* Added 'Reload' item to context menu.

4 years ago* Changed color of 'Refresh' icon.
Urban Wallasch [Wed, 19 May 2021 14:18:09 +0000 (16:18 +0200)]
* Changed color of 'Refresh' icon.

4 years ago* Fixed command line argument splitting for non-Windows player invocation, in particu...
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().

4 years ago* Amended sample configuration file and README.
Urban Wallasch [Wed, 19 May 2021 13:38:45 +0000 (15:38 +0200)]
* Amended sample configuration file and README.

4 years ago* Added total size display to thumbnail manager; disable 'Select Broken' button when...
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.

4 years ago* Reduced size of embedded icon image data.
Urban Wallasch [Wed, 19 May 2021 11:23:18 +0000 (13:23 +0200)]
* Reduced size of embedded icon image data.

4 years ago* Double fork on Linux when starting video player to avoid accumulating zombie processes.
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.

4 years ago* Embedded all GUI icons.
Urban Wallasch [Tue, 18 May 2021 14:05:26 +0000 (16:05 +0200)]
* Embedded all GUI icons.

4 years ago* Fixed crashes caused by empty or corrupted index files.
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, ...)

4 years ago* Fixed thumbnail manager crashing on broken index.
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.

4 years ago* Set timestamp right before writing index file, not before creating thumbnails files.
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.

4 years ago* Added note about the semantics of --force to README.md.
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.

4 years ago* Include ffpreview version number in index file and initial window title.
Urban Wallasch [Tue, 18 May 2021 01:19:37 +0000 (03:19 +0200)]
* Include ffpreview version number in index file and initial window title.

4 years ago* Replaced QListWidget with QTreeWidget in thumbnail manager to show more information.
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.

4 years ago* Fixed Qt resource leak in context menu.
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.

4 years ago* Fixed broken deletion of index file in clear_thumbdir() and made it safer.
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.

4 years ago* Went back to centralized context menu. Will it last?
Urban Wallasch [Mon, 17 May 2021 03:08:11 +0000 (05:08 +0200)]
* Went back to centralized context menu. Will it last?

4 years ago* Added safeguards to prevent aciidentally running more than one loading operation...
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.

4 years ago* Added garbage collector stats to debug output.
Urban Wallasch [Sun, 16 May 2021 19:33:11 +0000 (21:33 +0200)]
* Added garbage collector stats to debug output.

4 years ago* Simplified if condition.
Urban Wallasch [Sun, 16 May 2021 19:32:49 +0000 (21:32 +0200)]
* Simplified if condition.

4 years ago* Fixed crash when triggering play_video() when no video was loaded.
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

4 years ago* More progress callback stuff.
Urban Wallasch [Sun, 16 May 2021 13:21:19 +0000 (15:21 +0200)]
* More progress callback stuff.

4 years ago* Moved make_tlabels() to main window class where it belongs.
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.

4 years ago* Eliminated all cases of subordinate widgets directly accessing attributes or method...
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.

4 years ago* Fixed regression which resulted in relative paths being stored in index file.
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.

4 years ago* Fixed multiple instances of "DeprecationWarning: an integer is required (got type...
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)".

4 years ago* Replaced all occurrences of exit() with sys.exit().
Urban Wallasch [Sat, 15 May 2021 09:33:58 +0000 (11:33 +0200)]
* Replaced all occurrences of exit() with sys.exit().

4 years ago* Moved even more code from main() to main window class.
Urban Wallasch [Sat, 15 May 2021 08:33:55 +0000 (10:33 +0200)]
* Moved even more code from main() to main window class.

4 years ago* Fixed lots of bugs and crashes triggered in corner cases.
Urban Wallasch [Sat, 15 May 2021 08:21:51 +0000 (10:21 +0200)]
* Fixed lots of bugs and crashes triggered in corner cases.
* Disentangled (to some degree) various classes.
* Some cosmetic fixes, changed some keyboard shortcuts.
* Refactoring; improved comments, README.

4 years ago* Pressing ESC in full-screen view does not quit, just restores window.
Urban Wallasch [Fri, 14 May 2021 22:29:53 +0000 (00:29 +0200)]
* Pressing ESC in full-screen view does not quit, just restores window.
* Made 'Load Thumbnails' the default button in thumbnail manager dialog.
* Avoid division by zero exception for zero duration files.
* Improved dark theme style example.

4 years ago* Added config file options 'appstyle' and 'selstyle' to allow for more flexible...
Urban Wallasch [Fri, 14 May 2021 17:24:22 +0000 (19:24 +0200)]
* Added config file options 'appstyle' and 'selstyle' to allow for more flexible application styling.

4 years ago* Added Ctrl+F keybinding to toggle fullscreen mode.
Urban Wallasch [Fri, 14 May 2021 17:22:30 +0000 (19:22 +0200)]
* Added Ctrl+F keybinding to toggle fullscreen mode.

4 years ago* Scroll Wars Episode III: Revenge of the Wheelscroll -- Since setPageStep() has...
Urban Wallasch [Fri, 14 May 2021 15:00:41 +0000 (17:00 +0200)]
* Scroll Wars Episode III: Revenge of the Wheelscroll -- Since setPageStep() has absolutely no effect at all on wheel scrolling, use setSingelStep() instead.

4 years ago* Comment.
Urban Wallasch [Fri, 14 May 2021 15:00:29 +0000 (17:00 +0200)]
* Comment.

4 years ago* Added platform dependent code to make ffpreview run on Windows. (UNTESTED!)
Urban Wallasch [Fri, 14 May 2021 09:01:13 +0000 (11:01 +0200)]
* Added platform dependent code to make ffpreview run on Windows. (UNTESTED!)

4 years ago* Disentangled configuration data from state information.
Urban Wallasch [Fri, 14 May 2021 08:17:54 +0000 (10:17 +0200)]
* Disentangled configuration data from state information.
* Fixed several small issues.