| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Add Actor and Title search. This commit only makes visual changes and
moves some code around. The search itself is not implemented yet.
|
| |
|
| |
|
| |
|
|
|
|
| |
The compiler told me that the interface is deprecated.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Set it to 9999. While at it, remove some dead code and fix includes.
|
|
|
|
|
| |
Default value is 0 (not SQL NULL, but zero) if none is given. Shouldn't
hurt.
|