mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 22:47:59 +01:00
T357: Don't be picky about master files' sample rates anymore.
This commit is contained in:
parent
583b03f132
commit
5f865dca6b
1 changed files with 2 additions and 3 deletions
|
@ -53,8 +53,7 @@ class UploadTrackCommand extends CommandBase
|
|||
'required|'
|
||||
. ($this->_allowLossy ? '' : 'audio_format:'. implode(',', $this->_losslessFormats).'|')
|
||||
. ($this->_allowShortTrack ? '' : 'min_duration:30|')
|
||||
. 'audio_channels:1,2|'
|
||||
. 'sample_rate:44100,48000,88200,96000,176400,192000'
|
||||
. 'audio_channels:1,2'
|
||||
]);
|
||||
|
||||
if ($validator->fails()) {
|
||||
|
@ -151,4 +150,4 @@ class UploadTrackCommand extends CommandBase
|
|||
'name' => $track->name
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue