From c7bca18b5e7a70aa8eb9405b3758a6b6becef55c Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Mon, 2 Nov 2015 20:28:39 -0800 Subject: [PATCH] Added AAC to the list of cacheable formats and wrote some inline documentation. --- app/Track.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/Track.php b/app/Track.php index 352d54a5..0a25d422 100644 --- a/app/Track.php +++ b/app/Track.php @@ -93,9 +93,21 @@ class Track extends Model ], ]; + /** + * `TrackFiles` in these formats, with the exception of any master files, will + * be generated upon user request and kept around temporarily. + * + * After updating this array, run `php artisan rebuild:track-cache` to bring + * the track store into a consistent state. + * + * The strings in this array must match keys in the `Track::$Formats` array. + * + * @var array + */ public static $CacheableFormats = [ 'OGG Vorbis', 'ALAC', + 'AAC' ]; public static function summary()