Merge pull request #892 from codenift/media_type

Track Types Feature
This commit is contained in:
Robb 2020-03-16 14:05:29 -04:00 committed by GitHub
commit 96f33f6250
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 3719 additions and 169 deletions

View file

@ -431,4 +431,20 @@ class FileDataHelper {
}
}
/**
* Track Type
*
* @return string Track type key value
*/
public static function saveTrackType()
{
if (isset($_COOKIE['tt_upload'])) {
$tt = $_COOKIE['tt_upload'];
} else {
// Use default track type
$tt = "MUS";
}
return $tt;
}
}