Skip to content

Commit

Permalink
Merge pull request #330 from maurLce/master
Browse files Browse the repository at this point in the history
Update QuicktimeContentRatingLookup() to utilize the newer 'rtng' explicit value
  • Loading branch information
JamesHeinrich authored Jul 6, 2021
2 parents 6dcbca8 + c2b35ac commit bd3e9d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion getid3/module.audio-video.quicktime.php
Original file line number Diff line number Diff line change
Expand Up @@ -2606,8 +2606,9 @@ public function QuicktimeContentRatingLookup($rtng) {
static $QuicktimeContentRatingLookup = array();
if (empty($QuicktimeContentRatingLookup)) {
$QuicktimeContentRatingLookup[0] = 'None';
$QuicktimeContentRatingLookup[1] = 'Explicit';
$QuicktimeContentRatingLookup[2] = 'Clean';
$QuicktimeContentRatingLookup[4] = 'Explicit';
$QuicktimeContentRatingLookup[4] = 'Explicit (old)';
}
return (isset($QuicktimeContentRatingLookup[$rtng]) ? $QuicktimeContentRatingLookup[$rtng] : 'invalid');
}
Expand Down

0 comments on commit bd3e9d0

Please sign in to comment.