| Commit message (Collapse) | Author | Age | Files | Lines | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Make it possible to define more than just one usb storage and store them
to the new QSettings item "paths/usball", a QStringList while
repurposing the old setting "paths/usb" for writing.
When reading, iterate over all entries in usball until the file is
found. For writing, or moving files to archive, use paths/usb as target.
 | 
| | 
| 
| 
| 
|  | 
Display explicitly included genres with a check mark, and others with a
cross mark.
 | 
| | 
| 
| 
| 
|  | 
Don't show excluded genres in ArchiveBrowser. To make this work, revamp
the filtering login in ArchiveBrowserModelProxy.
 | 
| | 
| 
| 
| 
| 
|  | 
It works basically, but it could use a few improvements, like filtering
out genres which we don't want to archive, and maybe make the size
filter work in addition to it.
 | 
| | 
| 
| 
| 
| 
| 
|  | 
This takes quite a toll on the startup time, because it executes an
extra Query for each item in the archive, but I hope it's worth it. The
final goal being to filter the archive by genres, so uninteresting moves
can be moved easier.
 | 
| | 
| 
| 
| 
|  | 
Installed qmake2cmake via AUR and converted SheMov. Worked
perfectly!
 | 
| | 
| 
| 
| 
|  | 
Check for a date first. If there is one, remove and set it. If not,
continue trying to extract other data from the title.
 | 
| | 
| 
| 
| 
|  | 
Continuing to use the filename pattern: use the first capture group
split by '&' as possible actors.
 | 
| | 
| 
| 
| 
|  | 
Check the filename for the common pattern <actors - title - date>. If
found, parse it and apply the result to the appropriate widgets.
 | 
| |  | 
 | 
| |  | 
 | 
| | 
| 
| 
| 
|  | 
Include files in the quest for md5sums, not only files_origin.
While at it, fix some constness warnings in the very same file.
 | 
| |  | 
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
| 
|  | 
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.
 | 
| | 
| 
| 
| 
|  | 
Dunno if necessary, but they came up in the previous debugging session,
so just do it...
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
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.
 | 
| | 
| 
| 
| 
|  | 
Without this the new movie wizard ist too small, so use a completely
arbitrary value of 512.
 | 
| | 
| 
| 
| 
| 
|  | 
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.
 | 
| | 
| 
| 
| 
| 
|  | 
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.
 | 
| | 
| 
| 
| 
|  | 
As it seems, qApp->activateWindow() is not state of the art any more, so
use QWidget::setActiveWindow(). Whatever...
 | 
| | 
| 
| 
|  | 
When we have to use the filename for title, replace dots with spaces.
 | 
| |  | 
 | 
| | 
| 
| 
| 
|  | 
Use QString::arg() instead of ::snprintf because of a comiler truncation
warning.
 | 
| | 
| 
| 
| 
|  | 
QCryptgraphicHash::addData() now expects an QByteArrayView instead of an
QByteArray, so please it...
 | 
| | 
| 
| 
|  | 
If there is no title in the container, use the filename instead.
 | 
| | 
| 
| 
|  | 
It changed size according to the length of the file name, so restrict it.
 | 
| | 
| 
| 
| 
| 
|  | 
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.
 | 
| | 
| 
| 
|  | 
... instead of the viewer
 | 
| | 
| 
| 
|  | 
I guess it was bitrotten anyway...
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
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...
 | 
| | 
| 
| 
| 
|  | 
First, add a QAction to copy the MD5sum from FSWidget to Clipboard. Then
enhance the SearchDialog to support MD5sums from files_origin *only*.
 | 
| | 
| 
| 
| 
|  | 
The filename was never compared to the current index, so everything was
appended to the first match. Fix it by adding the needed comparison.
 | 
| | 
| 
| 
| 
| 
| 
|  | 
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.
 | 
| | 
| 
| 
|  | 
Don't raise SearchDialog every time MainWindow is clicked.
 | 
| | 
| 
| 
| 
| 
| 
|  | 
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.
 | 
| | 
| 
| 
| 
|  | 
There was a long standing issue with filenames containing special
characters for regular expressions. Finally fix this!
 | 
| | 
| 
| 
| 
|  | 
Make it possible to call it by context menu and hook it up to
deleteSeries.
 | 
| | 
| 
| 
| 
|  | 
Allow to delete seriesparts without files to be deleted from the search
dialog.
 | 
| | 
| 
| 
| 
|  | 
Thought about using QSignalMapper for this, but that would be too
convoluted, thus the inline functions.
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| |  | 
 | 
| | 
| 
| 
| 
|  | 
When searching for actors, show a MoviePropertiesDialog instead of
expanding the item.
 | 
| |  | 
 | 
| | 
| 
| 
|  | 
Get all genres for the current actor and add them as child.
 |