mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-03-29 22:37:46 +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 = [
|
public static $CacheableFormats = [
|
||||||
'OGG Vorbis',
|
'OGG Vorbis',
|
||||||
'ALAC',
|
'ALAC',
|
||||||
|
'AAC'
|
||||||
];
|
];
|
||||||
|
|
||||||
public static function summary()
|
public static function summary()
|
||||||
|
|
Loading…
Add table
Reference in a new issue