Fix UniqueID matching for MediaInfo v18

This commit is contained in:
DariusIII
2018-08-14 10:30:17 +02:00
parent 50b21d2d1e
commit 58fc09d815
2 changed files with 5 additions and 6 deletions
+3 -5
View File
@@ -256,11 +256,9 @@ class ReleaseExtra
}
if ($type === 'General') {
if (isset($track['UniqueID'])) {
$uniqueId = $track['UniqueID'];
if (! empty($uniqueId)) {
$this->addUID($releaseID, $uniqueId);
}
if (isset($track['UniqueID']) && preg_match('/\(0x(?P<hash>[0-9a-f]{32})\)/i', $track['UniqueID'], $matches)) {
$uniqueId = $matches['hash'];
$this->addUID($releaseID, $uniqueId);
}
if (isset($track['Format'])) {
+2 -1
View File
@@ -1,5 +1,6 @@
2018-08-14 DariusIII
* Chg: Remove unused makeCodecPretty class, change some of the functions from public to private and change their reurn types
* Fix: Fix UniqueID matching for MediaInfo v18
* Chg: Remove unused makeCodecPretty class, change some of the functions from public to private and change their return types
* Chg: Update ReleaseExtra class, add MediaInfo 18 support
2018-08-13 DariusIII
* Chg: Update spatie/laravel-permission to version 2.14.0