ffpreview.git
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.

4 years ago* Various small cosmetic tweaks.
Urban Wallasch [Fri, 14 May 2021 08:17:32 +0000 (10:17 +0200)]
* Various small cosmetic tweaks.

4 years ago* Dropped now useless get/set focus methods from tLabel.
Urban Wallasch [Fri, 14 May 2021 05:51:18 +0000 (07:51 +0200)]
* Dropped now useless get/set focus methods from tLabel.

4 years ago* Tiny fix in README.md.
Urban Wallasch [Thu, 13 May 2021 21:35:02 +0000 (23:35 +0200)]
* Tiny fix in README.md.

4 years ago* Fixed bug that led to thumbnail dirs generated for non-video files.
Urban Wallasch [Thu, 13 May 2021 20:16:48 +0000 (22:16 +0200)]
* Fixed bug that led to thumbnail dirs generated for non-video files.

4 years ago* Fixed inconsistent mouse wheel scrolling behavior
Volodymyr Poltavets [Thu, 13 May 2021 19:41:42 +0000 (21:41 +0200)]
* Fixed inconsistent mouse wheel scrolling behavior

4 years ago* Swapped 'Load' and 'Remove' buttons in thumbnail manager, set 'Close' button as...
Urban Wallasch [Thu, 13 May 2021 18:25:57 +0000 (20:25 +0200)]
* Swapped 'Load' and 'Remove' buttons in thumbnail manager, set 'Close' button as default.

4 years ago* Reduced mouse wheel scroll step to one thumbnail height.
Urban Wallasch [Thu, 13 May 2021 18:11:03 +0000 (20:11 +0200)]
* Reduced mouse wheel scroll step to one thumbnail height.

4 years ago* Dropped line numbers from batch mode console messages.
Urban Wallasch [Thu, 13 May 2021 18:03:03 +0000 (20:03 +0200)]
* Dropped line numbers from batch mode console messages.

4 years ago* Fixed broken delete functionality in thumbs manager.
Urban Wallasch [Thu, 13 May 2021 17:54:38 +0000 (19:54 +0200)]
* Fixed broken delete functionality in thumbs manager.

4 years ago* Fix crash when no config file found.
Urban Wallasch [Thu, 13 May 2021 17:53:36 +0000 (19:53 +0200)]
* Fix crash when no config file found.

4 years ago* Possible fix for broken delete function in thumb manager?
Urban Wallasch [Thu, 13 May 2021 17:29:26 +0000 (19:29 +0200)]
* Possible fix for broken delete function in thumb manager?

4 years ago* Added thumbnail manager.
Urban Wallasch [Thu, 13 May 2021 16:52:34 +0000 (18:52 +0200)]
* Added thumbnail manager.
* Several small fixes.

4 years ago* Use os.path.join() and os.devnull where appropriate.
Urban Wallasch [Thu, 13 May 2021 09:28:24 +0000 (11:28 +0200)]
* Use os.path.join() and os.devnull where appropriate.
* Improved console output.

4 years ago* Count errors in batch mode.
Urban Wallasch [Thu, 13 May 2021 08:55:49 +0000 (10:55 +0200)]
* Count errors in batch mode.

4 years ago* Allow invocation without filename, in fact no options at all.
Urban Wallasch [Thu, 13 May 2021 08:44:59 +0000 (10:44 +0200)]
* Allow invocation without filename, in fact no options at all.
* Some additions to REAMDE and sample configuration.
* Removed unused entry in cfg[].

4 years ago* Implemented -b/--batch mode to process multiple files without showing the GUI.
Urban Wallasch [Wed, 12 May 2021 22:02:30 +0000 (00:02 +0200)]
* Implemented -b/--batch mode to process multiple files without showing the GUI.

4 years ago* Include the directory containing the script when trying to locate the config file.
Urban Wallasch [Wed, 12 May 2021 20:41:48 +0000 (22:41 +0200)]
* Include the directory containing the script when trying to locate the config file.

4 years ago* Show progress bar during building view.
Urban Wallasch [Wed, 12 May 2021 20:41:23 +0000 (22:41 +0200)]
* Show progress bar during building view.

4 years ago* Write path to directoy containing the original video file in ffpreview.idx.
Urban Wallasch [Wed, 12 May 2021 19:35:08 +0000 (21:35 +0200)]
* Write path to directoy containing the original video file in ffpreview.idx.

4 years ago* Added context menu handler to canvas.
Urban Wallasch [Wed, 12 May 2021 19:11:48 +0000 (21:11 +0200)]
* Added context menu handler to canvas.

4 years ago* Fixed excessive thumbnail label resizing by setting maximum size.
Urban Wallasch [Wed, 12 May 2021 18:59:28 +0000 (20:59 +0200)]
* Fixed excessive thumbnail label resizing by setting maximum size.

4 years ago* Shrink grid size, if not enough thumbnails to fill initial dimensions.
Urban Wallasch [Wed, 12 May 2021 18:39:26 +0000 (20:39 +0200)]
* Shrink grid size, if not enough thumbnails to fill initial dimensions.

4 years ago* Renamed -t/--tmpdir configuration option to -o/--outdir.
Urban Wallasch [Wed, 12 May 2021 18:15:31 +0000 (20:15 +0200)]
* Renamed -t/--tmpdir configuration option to -o/--outdir.

4 years ago* Only attempt to chdir to non-empty path.
Urban Wallasch [Wed, 12 May 2021 18:04:52 +0000 (20:04 +0200)]
* Only attempt to chdir to non-empty path.

4 years ago* Removed mouse-over effects.
Urban Wallasch [Wed, 12 May 2021 17:46:48 +0000 (19:46 +0200)]
* Removed mouse-over effects.

4 years ago* Added file open dialog; filename argument is now optional.
Urban Wallasch [Wed, 12 May 2021 16:15:08 +0000 (18:15 +0200)]
* Added file open dialog; filename argument is now optional.
* Change to directory and operate on basename of input file.
* Copy absolute pathname to clipboard.

4 years ago* Implemented more intuitive keyboard navigation logic.
Urban Wallasch [Wed, 12 May 2021 13:23:08 +0000 (15:23 +0200)]
* Implemented more intuitive keyboard navigation logic.

4 years ago* Fixed broken 'copy thumbnail image' functionality.
Urban Wallasch [Wed, 12 May 2021 13:22:18 +0000 (15:22 +0200)]
* Fixed broken 'copy thumbnail image' functionality.

4 years ago* Tiny fixes to tLabel geometry.
Urban Wallasch [Tue, 11 May 2021 17:57:48 +0000 (19:57 +0200)]
* Tiny fixes to tLabel geometry.

4 years ago* Moved license blurb to LICENSE file.
Urban Wallasch [Tue, 11 May 2021 13:16:25 +0000 (15:16 +0200)]
* Moved license blurb to LICENSE file.
* Added README.md file.

4 years ago* More help message improvements.
Urban Wallasch [Tue, 11 May 2021 13:15:15 +0000 (15:15 +0200)]
* More help message improvements.

4 years ago* Fixed broken main window class singleton pattern.
Urban Wallasch [Tue, 11 May 2021 10:50:07 +0000 (12:50 +0200)]
* Fixed broken main window class singleton pattern.

4 years ago* Improved help message.
Urban Wallasch [Tue, 11 May 2021 10:27:42 +0000 (12:27 +0200)]
* Improved help message.

4 years ago* Optimized tLabel class.
Urban Wallasch [Tue, 11 May 2021 10:27:17 +0000 (12:27 +0200)]
* Optimized tLabel class.

4 years ago* Small tweaks to version check and display.
Urban Wallasch [Tue, 11 May 2021 09:41:05 +0000 (11:41 +0200)]
* Small tweaks to version check and display.

4 years ago* Final de-spaghettification round-up.
Urban Wallasch [Mon, 10 May 2021 20:36:01 +0000 (22:36 +0200)]
* Final de-spaghettification round-up.
* Minor fixes.

4 years ago* Refactored some of the spaghetti code.
Urban Wallasch [Mon, 10 May 2021 13:59:28 +0000 (15:59 +0200)]
* Refactored some of the spaghetti code.
* Implemented optimal window extent calculation.
* Fixed some minor display issues.

4 years ago* Added -v/--verbosity and --version options
Urban Wallasch [Sun, 9 May 2021 21:52:05 +0000 (23:52 +0200)]
* Added -v/--verbosity and --version options
* Improved debug output.
(No changes to core functionality)

4 years ago* Suppress Qt debug logging.
Urban Wallasch [Sun, 9 May 2021 20:49:39 +0000 (22:49 +0200)]
* Suppress Qt debug logging.

4 years ago* Fixed bug in fallback logic, in case no thumbnails were loaded.
Urban Wallasch [Sun, 9 May 2021 20:24:04 +0000 (22:24 +0200)]
* Fixed bug in fallback logic, in case no thumbnails were loaded.

4 years ago* Added missing test for 'time_skip' parameter in chk_idxfile().
Urban Wallasch [Sun, 9 May 2021 18:08:38 +0000 (20:08 +0200)]
* Added missing test for 'time_skip' parameter in chk_idxfile().

4 years ago* Redirect stdout and stderr of player child process to DEVNULL.
Urban Wallasch [Sun, 9 May 2021 17:01:26 +0000 (19:01 +0200)]
* Redirect stdout and stderr of player child process to DEVNULL.

4 years ago* Partial revert of previous commit (dropped 'disown').
Urban Wallasch [Sun, 9 May 2021 16:50:16 +0000 (18:50 +0200)]
* Partial revert of previous commit (dropped 'disown').

4 years ago* Disown player child processes to avoid side effects after ffpreview is closed while...
Urban Wallasch [Sun, 9 May 2021 16:21:52 +0000 (18:21 +0200)]
* Disown player child processes to avoid side effects after ffpreview is closed while child running.

4 years ago* Removed spurious parameters from call (C&P cockup).
Urban Wallasch [Sun, 9 May 2021 16:19:57 +0000 (18:19 +0200)]
* Removed spurious parameters from call (C&P cockup).

4 years ago* Botch-fixed initial window height calculation.
Urban Wallasch [Sun, 9 May 2021 15:27:59 +0000 (17:27 +0200)]
* Botch-fixed initial window height calculation.

4 years ago* Fixed application not exiting cleanly, when main window is closed while child proce...
Urban Wallasch [Sun, 9 May 2021 15:10:09 +0000 (17:10 +0200)]
* Fixed application not exiting cleanly, when main window is closed while child process is running.

4 years ago* Fixed typo in sample configuration file.
Urban Wallasch [Sun, 9 May 2021 14:50:58 +0000 (16:50 +0200)]
* Fixed typo in sample configuration file.

4 years ago* Ported GUI from Tkinter to PyQt5. v0.2
Urban Wallasch [Sun, 9 May 2021 13:51:24 +0000 (15:51 +0200)]
* Ported GUI from Tkinter to PyQt5.

4 years ago* Fixed broken ffprobe invocation. v0.1
Urban Wallasch [Sun, 9 May 2021 13:44:30 +0000 (15:44 +0200)]
* Fixed broken ffprobe invocation.

4 years ago* Added alternative method to get video meta data using ffmpeg.
Urban Wallasch [Sat, 8 May 2021 15:39:10 +0000 (17:39 +0200)]
* Added alternative method to get video meta data using ffmpeg.
* Include number of frames in file info.

4 years ago* Print a warning, if thumbnail scrollframe size exceeds the maximum supported by...
Urban Wallasch [Sat, 8 May 2021 12:57:57 +0000 (14:57 +0200)]
* Print a warning, if thumbnail scrollframe size exceeds the maximum supported by Tkinter.

4 years ago* Fixed config file and argument parsing.
Urban Wallasch [Sat, 8 May 2021 10:09:34 +0000 (12:09 +0200)]
* Fixed config file and argument parsing.

4 years ago* Added configuration file support.
Urban Wallasch [Thu, 6 May 2021 19:24:54 +0000 (21:24 +0200)]
* Added configuration file support.
* Added configuration file option to specify paths to ffprobe and ffmpeg executables.
* Added configuration file option to specify custom video player invocation.
* Separated temp directory from thumbs directory in configuration.
* Comments in sample configuration.
* Several small fixes and improvements, refactoring.

CAUTION: Some command line options have been changed: -c --> -g, -R --> -r

4 years ago* Fix: Include the saved customvf setting when checking index file.
Urban Wallasch [Wed, 5 May 2021 20:31:33 +0000 (22:31 +0200)]
* Fix: Include the saved customvf setting when checking index file.

4 years ago* Store customvf filter settings in index file.
Urban Wallasch [Wed, 5 May 2021 20:09:25 +0000 (22:09 +0200)]
* Store customvf filter settings in index file.

4 years ago* Added -C/--customvf and -R/--reuse command line options.
Urban Wallasch [Wed, 5 May 2021 19:55:56 +0000 (21:55 +0200)]
* Added -C/--customvf and -R/--reuse command line options.

4 years ago* Switched popup menu focus handling from <Enter> to <Visibility>.
Urban Wallasch [Wed, 5 May 2021 19:29:09 +0000 (21:29 +0200)]
* Switched popup menu focus handling from <Enter> to <Visibility>.

4 years ago* Fixed context menu strange focus behaviour.
Urban Wallasch [Wed, 5 May 2021 19:16:50 +0000 (21:16 +0200)]
* Fixed context menu strange focus behaviour.

4 years ago* Added command line options -S/--start and -E/--end to specify start and end time...
Urban Wallasch [Wed, 5 May 2021 15:46:58 +0000 (17:46 +0200)]
* Added command line options -S/--start and -E/--end to specify start and end time for video scan.

4 years ago* Added thumbnail right click menu.
Urban Wallasch [Wed, 5 May 2021 13:50:54 +0000 (15:50 +0200)]
* Added thumbnail right click menu.
* Refactoring.

4 years ago* Sanitized imports, code cleanup.
Urban Wallasch [Wed, 5 May 2021 10:25:49 +0000 (12:25 +0200)]
* Sanitized imports, code cleanup.

4 years ago* Added status bar, improved progress display.
Urban Wallasch [Tue, 4 May 2021 19:23:15 +0000 (21:23 +0200)]
* Added status bar, improved progress display.

4 years ago* Consolidated all scroll event handling into one funtion.
Urban Wallasch [Tue, 4 May 2021 17:33:07 +0000 (19:33 +0200)]
* Consolidated all scroll event handling into one funtion.

4 years ago* Geometry shenanigans, again.
Urban Wallasch [Tue, 4 May 2021 17:24:37 +0000 (19:24 +0200)]
* Geometry shenanigans, again.

4 years ago* Improved responsiveness and progress update during startup, particularly when handl...
Urban Wallasch [Tue, 4 May 2021 13:00:15 +0000 (15:00 +0200)]
* Improved responsiveness and progress update during startup, particularly when handling thousands of thumbnails.

4 years ago* Implemented mouse-over background highlighting for thumbnail labels.
Urban Wallasch [Tue, 4 May 2021 11:11:11 +0000 (13:11 +0200)]
* Implemented mouse-over background highlighting for thumbnail labels.

4 years ago* Fixed mousewheel scrolling partially not working by binding all relevant event...
Urban Wallasch [Tue, 4 May 2021 11:08:36 +0000 (13:08 +0200)]
* Fixed mousewheel scrolling partially not working by binding all relevant event handlers to container not canvas.
* Use better looking scrollbar from tkinter.ttk.

4 years ago* Added option to select frames by skipping specified number of seconds.
Urban Wallasch [Mon, 3 May 2021 20:41:59 +0000 (22:41 +0200)]
* Added option to select frames by skipping specified number of seconds.

4 years ago* Display total number of thumbnail images in title bar.
Urban Wallasch [Mon, 3 May 2021 20:41:24 +0000 (22:41 +0200)]
* Display total number of thumbnail images in title bar.

4 years ago* Tell mpv to ignore ordered-chapters as thumbnails don't account for them either
Volodymyr Poltavets [Mon, 3 May 2021 15:45:25 +0000 (17:45 +0200)]
* Tell mpv to ignore ordered-chapters as thumbnails don't account for them either

Fixes off-by-ordered-chapters-duration while seeking to time code

4 years ago* Deduplicated thumbnail grid creation code.
Urban Wallasch [Mon, 3 May 2021 14:37:38 +0000 (16:37 +0200)]
* Deduplicated thumbnail grid creation code.