mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Fix UniqueID matching for MediaInfo v18
This commit is contained in:
@@ -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'])) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user