summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix loop-constness and a deprecation in ConfigurationDialogHEADtreemodelArno2024-11-091-3/+3
|
* Fix constness in ArchiveModel loopsArno2024-11-091-5/+5
|
* Fix MD5sum search in SearchDialogArno2024-11-091-4/+3
| | | | | Include files in the quest for md5sums, not only files_origin. While at it, fix some constness warnings in the very same file.
* Fix constness and a deprecation warning in ArchiveBrowserArno2024-11-091-12/+12
|
* Set minimum size for MoviePropertiesDialogArno2024-11-091-0/+1
|
* Fix handling of QCompleter in SmInputDialogArno2024-11-093-8/+8
| | | | | | | setCompleter() assumed that QLineEdit always had a valid completer and schedule it for later deletion. This caused random crashes when there was no deleter. So make sure that mLE always a valid deleter and set the model instead of a new completer.
* Fix some detached container warningsArno2024-08-312-6/+6
| | | | | Dunno if necessary, but they came up in the previous debugging session, so just do it...
* Catch Magick::ExceptionArno2024-08-312-4/+10
| | | | | | | | | | | | Prevent crash when trying to convert a file to png. This was a hard one. After checking into detached QT-Containers I finally realized that convertArchivefileToPng was the culprit, because ImageMagick::read exited with an "Unsupported marker type 0x09" execption. After some more investigation with convert, or magick convert these days, I found out that they could be ignored. Yes, it's a big hammer, but if it still fails after trying to convert, just return if still don't have a valid image.
* Set minimum height of movieinfopageArno2024-06-261-0/+1
| | | | | Without this the new movie wizard ist too small, so use a completely arbitrary value of 512.
* Extract more metadata from originalArno2024-06-263-13/+36
| | | | | | If the metadata tag creation_time exists in the original, use it to determine the release year. To avoid calling ffprobe twice, do it on movieinfopage and pass the value along by a registered field.
* Fix crash when trying to read an invalid imageArno2024-06-172-3/+10
| | | | | | Helper::picSize assumed that all data passed to it is a valid image and thus crashed with an exception. Wrap it into try - catch and return QVariant() when the pic is invalid.
* Fix deprecation warningsArno2023-06-241-3/+3
| | | | | As it seems, qApp->activateWindow() is not state of the art any more, so use QWidget::setActiveWindow(). Whatever...
* Fix titleArno2023-06-241-0/+1
| | | | When we have to use the filename for title, replace dots with spaces.
* Bump version to 1.4Arno2023-03-041-1/+1
|
* Fix brainfart in durationFromSecsArno2023-03-041-2/+1
| | | | | Use QString::arg() instead of ::snprintf because of a comiler truncation warning.
* Fix deprecation warning about addData()Arno2023-03-041-2/+2
| | | | | QCryptgraphicHash::addData() now expects an QByteArrayView instead of an QByteArray, so please it...
* Enhance movie title detectionArno2023-03-041-1/+7
| | | | If there is no title in the container, use the filename instead.
* Fix dialog when copying files to USBArno2023-03-041-2/+10
| | | | It changed size according to the length of the file name, so restrict it.
* Set fixed size for viewer.cppArno2022-07-024-7/+24
| | | | | | While adding new pictures to my collection, I realized that the simple viewer didn't obey it's size restrictions and grew out of proportions. So make the maximum size configurable.
* Center slide dialog on main window1.4.0Arno2022-04-151-1/+1
| | | | ... instead of the viewer
* Delete videoviewer filesArno2022-04-152-139/+0
| | | | I guess it was bitrotten anyway...
* Make it run with Qt6Arno2022-04-1546-289/+219
| | | | | | | | | This is a huge commit. Changes: * Obviously, make it compile * Make it run (only scarcely tested) * get rid of most of clang's warnings Let's see what surprises are in store...
* Make Origin MD5sums searchableArno2021-05-283-2/+35
| | | | | First, add a QAction to copy the MD5sum from FSWidget to Clipboard. Then enhance the SearchDialog to support MD5sums from files_origin *only*.
* Fix guessOld()Arno2021-05-281-1/+2
| | | | | The filename was never compared to the current index, so everything was appended to the first match. Fix it by adding the needed comparison.
* Select and expand in SearchDialogArno2020-11-221-0/+6
| | | | | | | When searching for actors, select the first item in the list and expand everything. For some strange reason QTreeView::expand or QTreeView::setExpanded does not work, so I grab the big hammer and expand all.
* Make SearchDialog parentlessArno2020-11-221-2/+2
| | | | Don't raise SearchDialog every time MainWindow is clicked.
* Implement delete actor from search dialogArno2020-07-292-6/+49
| | | | | | | The context menu item is only enabled if the actor has no children, ie. no genres associated. Since naming is hard, also rename some slots to more descriptive names.
* Fix old files detectionArno2020-07-291-2/+2
| | | | | There was a long standing issue with filenames containing special characters for regular expressions. Finally fix this!
* Add refresh actors in search dialogArno2020-07-292-1/+27
| | | | | Make it possible to call it by context menu and hook it up to deleteSeries.
* Delete seriesparts from search dialogArno2020-07-292-2/+44
| | | | | Allow to delete seriesparts without files to be deleted from the search dialog.
* Add collapse and expand all to SearchDialogArno2020-07-292-4/+24
| | | | | Thought about using QSignalMapper for this, but that would be too convoluted, thus the inline functions.
* Fix QMatrix deprectationsArno2020-07-251-5/+5
|
* Fix QComboBox deprecation warningsArno2020-07-252-2/+2
|
* Fix delta() deprecation warningArno2020-07-251-2/+2
|
* Fix qrand() deprecation warningsArno2020-07-251-2/+3
|
* Fix deprecation warning QString::SkipEmptyPartsArno2020-07-251-1/+1
|
* Read and write settings for search dialogArno2020-07-252-4/+42
|
* Implement search for subtitlesArno2020-07-252-2/+54
|
* Open movie properties dialog on doubleclickArno2020-07-252-0/+17
| | | | | When searching for actors, show a MoviePropertiesDialog instead of expanding the item.
* Get series and files for actor when searchingArno2020-07-252-0/+65
|
* Add genres to actor in enhanced search dialogArno2020-07-252-0/+25
| | | | Get all genres for the current actor and add them as child.
* Implement actor searchArno2020-07-252-0/+33
|
* Layout for enhanced search dialogArno2020-07-253-36/+122
| | | | | Add Actor and Title search. This commit only makes visual changes and moves some code around. The search itself is not implemented yet.
* Fix some more deprecation warningsArno2020-07-192-2/+2
|
* Fix QDirModel deprecation warningsArno2020-07-192-7/+9
|
* Fix Qt::Windowflags nullptr deprecation warningsArno2020-07-198-8/+8
|
* Use QTransform instead of QMatrixArno2020-07-191-5/+5
| | | | The compiler told me that the interface is deprecated.
* Guess subject from descript.ion fileArno2020-07-197-0/+69
| | | | | | | | The expression matching is the same as in ShemovCleaner, but here we have a lot more levels of indirection. The guessing is done automatically when archiveMovie is invoked. If the directory contains a file descript.ion, it is parsed and the result injected into the MetadataEditorWidget.
* Increase maximum days for slide showArno2020-03-145-39/+8
| | | | Set it to 9999. While at it, remove some dead code and fix includes.
* Make it possible to edit the filenoArno2020-01-042-3/+9
| | | | | Default value is 0 (not SQL NULL, but zero) if none is given. Shouldn't hurt.