1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update recording stop

This commit is contained in:
Luke Pulverenti 2016-03-06 23:56:45 -05:00
parent 847dee9062
commit fdbc225f11
7 changed files with 28 additions and 19 deletions

View file

@ -62,13 +62,22 @@ define(['appSettings', 'apiClientResolver', 'events'], function (appsettings, ap
return self.get('language');
};
self.skipLength = function (val) {
self.skipBackLength = function (val) {
if (val != null) {
self.set('skipLength', val.toString());
self.set('skipBackLength', val.toString());
}
return parseInt(self.get('skipLength') || '15000');
return parseInt(self.get('skipBackLength') || '15000');
};
self.skipForwardLength = function (val) {
if (val != null) {
self.set('skipForwardLength', val.toString());
}
return parseInt(self.get('skipForwardLength') || '15000');
};
self.serverConfig = function (config) {