GUI: mux: set title from Blu-ray disc library

But only if no title has been set yet.

See also #2644.
This commit is contained in:
Moritz Bunkus 2019-11-01 09:21:26 +01:00
parent 3bf77af198
commit 0cf2975e4f
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,9 @@
disc library meta data will be parsed, and the biggest thumbnail, if
present, will be added as a new attachment with name `cover.jpg` (extension
depends on thumbnail's extension). Implements #2644.
* MKVToolNix GUI: multiplexer: when adding a playlist from a Blu-ray disc, the
title from the disc library meta data will be set as the new file title if
the disc library meta data contains one & no title has been set yet.
## Bug fixes

View File

@ -1247,6 +1247,9 @@ Tab::addDataFromIdentifiedBlurayFiles(QList<SourceFilePtr> const &files) {
if (!info)
continue;
if (!info->m_title.empty())
setTitleMaybe(Q(info->m_title));
addAttachmentsFromIdentifiedBluray(*info);
}
}