T357: Don't be picky about master files' sample rates anymore.

This commit is contained in:
Peter Deltchev 2015-09-12 22:21:17 -07:00
parent 583b03f132
commit 5f865dca6b

View file

@ -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
]);
}
}
}