Media Type for tracks. Same PR from before with a couple minor fixes

This commit is contained in:
Codenift 2019-10-16 20:20:34 -04:00
parent 7701d0f438
commit 07a4117bd4
18 changed files with 281 additions and 130 deletions

View file

@ -54,7 +54,8 @@ class Application_Model_StoredFile
"cuein" => "DbCueIn",
"cueout" => "DbCueOut",
"description" => "DbDescription",
"artwork" => "DbArtwork"
"artwork" => "DbArtwork",
"media_type" => "DbMediaType"
);
function __construct($file, $con) {
@ -672,7 +673,7 @@ SQL;
"bit_rate", "sample_rate", "isrc_number", "encoded_by", "label",
"copyright", "mime", "language", "filepath", "owner_id",
"conductor", "replay_gain", "lptime", "is_playlist", "is_scheduled",
"cuein", "cueout", "description", "artwork" );
"cuein", "cueout", "description", "artwork", "media_type" );
}
public static function searchLibraryFiles($datatables)