|
|
@ -95,7 +95,6 @@ public class UserSettingsController { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
command = (UserSettingsCommand) model.asMap().get("command"); |
|
|
|
command = (UserSettingsCommand) model.asMap().get("command"); |
|
|
|
} |
|
|
|
} |
|
|
|
command.setAdmin(User.USERNAME_ADMIN.equals(command.getUsername())); |
|
|
|
|
|
|
|
command.setUsers(securityService.getAllUsers()); |
|
|
|
command.setUsers(securityService.getAllUsers()); |
|
|
|
command.setTranscodingSupported(transcodingService.isDownsamplingSupported(null)); |
|
|
|
command.setTranscodingSupported(transcodingService.isDownsamplingSupported(null)); |
|
|
|
command.setTranscodeDirectory(transcodingService.getTranscodeDirectory().getPath()); |
|
|
|
command.setTranscodeDirectory(transcodingService.getTranscodeDirectory().getPath()); |
|
|
|