mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 13:07:59 +01:00
Added AAC to the list of cacheable formats and wrote some inline documentation.
This commit is contained in:
parent
b441a58819
commit
c7bca18b5e
1 changed files with 12 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue