2019-02-24 20:07:41 +00:00
|
|
|
define([
|
2020-05-04 12:44:12 +02:00
|
|
|
'jQuery',
|
|
|
|
'emby-button',
|
|
|
|
'emby-input',
|
|
|
|
'scripts/livetvcomponents',
|
|
|
|
'paper-icon-button-light',
|
|
|
|
'emby-itemscontainer',
|
|
|
|
'emby-collapse',
|
|
|
|
'emby-select',
|
|
|
|
'livetvcss',
|
|
|
|
'emby-checkbox',
|
|
|
|
'emby-slider',
|
|
|
|
'listViewStyle',
|
|
|
|
'dashboardcss',
|
|
|
|
'detailtablecss'], function () {
|
2019-02-24 20:07:41 +00:00
|
|
|
|
2019-03-18 23:48:34 +00:00
|
|
|
function defineRoute(newRoute) {
|
2020-06-17 15:45:23 +02:00
|
|
|
var path = newRoute.alias ? newRoute.alias : newRoute.path;
|
2020-05-04 12:44:12 +02:00
|
|
|
console.debug('defining route: ' + path);
|
|
|
|
newRoute.dictionary = 'core';
|
2019-02-24 20:07:41 +00:00
|
|
|
Emby.Page.addRoute(path, newRoute);
|
|
|
|
}
|
|
|
|
|
2020-05-04 12:44:12 +02:00
|
|
|
console.debug('defining core routes');
|
2019-03-18 23:41:40 +00:00
|
|
|
|
2019-12-15 22:42:33 +09:00
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/addserver.html',
|
|
|
|
path: '/controllers/session/addServer/index.html',
|
2019-12-15 22:42:33 +09:00
|
|
|
autoFocus: false,
|
2020-04-24 22:58:43 +09:00
|
|
|
anonymous: true,
|
|
|
|
startup: true,
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'session/addServer/index'
|
2019-12-15 22:42:33 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/selectserver.html',
|
|
|
|
path: '/controllers/session/selectServer/index.html',
|
2019-12-15 22:42:33 +09:00
|
|
|
autoFocus: false,
|
2020-04-24 22:58:43 +09:00
|
|
|
anonymous: true,
|
|
|
|
startup: true,
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'session/selectServer/index',
|
2020-05-04 12:44:12 +02:00
|
|
|
type: 'selectserver'
|
2019-12-15 22:42:33 +09:00
|
|
|
});
|
2020-05-12 06:28:14 +09:00
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/login.html',
|
|
|
|
path: '/controllers/session/login/index.html',
|
2020-05-12 06:28:14 +09:00
|
|
|
autoFocus: false,
|
|
|
|
anonymous: true,
|
|
|
|
startup: true,
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'session/login/index',
|
2020-05-12 06:28:14 +09:00
|
|
|
type: 'login'
|
|
|
|
});
|
2019-12-15 22:42:33 +09:00
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/forgotpassword.html',
|
|
|
|
path: '/controllers/session/forgotPassword/index.html',
|
2020-04-24 22:58:43 +09:00
|
|
|
anonymous: true,
|
|
|
|
startup: true,
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'session/forgotPassword/index'
|
2019-12-15 22:42:33 +09:00
|
|
|
});
|
2020-01-08 01:36:34 +09:00
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/forgotpasswordpin.html',
|
|
|
|
path: '/controllers/session/redeemPassword/index.html',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
|
|
|
anonymous: true,
|
|
|
|
startup: true,
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'session/redeemPassword/index'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
2020-04-24 22:58:43 +09:00
|
|
|
|
2019-12-15 22:42:33 +09:00
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/mypreferencesmenu.html',
|
|
|
|
path: '/controllers/user/menu/index.html',
|
2019-12-15 22:42:33 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade',
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'user/menu/index'
|
2019-12-15 22:42:33 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/myprofile.html',
|
|
|
|
path: '/controllers/user/profile/index.html',
|
2019-12-15 22:42:33 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade',
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'user/profile/index'
|
2019-12-15 22:42:33 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/mypreferencesdisplay.html',
|
|
|
|
path: '/controllers/user/display/index.html',
|
2019-12-15 22:42:33 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade',
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'user/display/index'
|
2019-12-15 22:42:33 +09:00
|
|
|
});
|
2020-04-12 00:44:30 -05:00
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/mypreferenceshome.html',
|
|
|
|
path: '/controllers/user/home/index.html',
|
2020-04-12 00:44:30 -05:00
|
|
|
autoFocus: false,
|
2020-05-05 20:42:15 -05:00
|
|
|
transition: 'fade',
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'user/home/index'
|
2020-04-12 00:44:30 -05:00
|
|
|
});
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-07-26 16:41:26 -05:00
|
|
|
path: '/myPreferencesQuickConnect.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade',
|
2020-07-26 16:41:26 -05:00
|
|
|
controller: 'user/quickConnect'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/mypreferencesplayback.html',
|
|
|
|
path: '/controllers/user/playback/index.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade',
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'user/playback/index'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/mypreferencessubtitles.html',
|
|
|
|
path: '/controllers/user/subtitles/index.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade',
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'user/subtitles/index'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2019-12-15 22:42:33 +09:00
|
|
|
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/dashboard.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/dashboard'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/dashboardgeneral.html',
|
|
|
|
controller: 'dashboard/general',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2020-04-12 00:44:30 -05:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/networking.html',
|
2020-04-12 00:44:30 -05:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/networking'
|
2020-04-12 00:44:30 -05:00
|
|
|
});
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/devices.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/devices/devices'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/device.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/devices/device'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-05 20:42:15 -05:00
|
|
|
path: '/quickConnect.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-05 20:42:15 -05:00
|
|
|
roles: 'admin',
|
|
|
|
controller: "quickConnect"
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/dlnaprofile.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/dlna/profile'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2020-01-08 01:36:34 +09:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/dlnaprofiles.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/dlna/profiles'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2020-05-12 06:28:14 +09:00
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/addplugin.html',
|
|
|
|
path: '/controllers/dashboard/plugins/add/index.html',
|
2020-05-12 06:28:14 +09:00
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'dashboard/plugins/add/index'
|
2020-05-12 06:28:14 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
|
|
|
path: '/library.html',
|
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/mediaLibrary'
|
2020-05-12 06:28:14 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
|
|
|
path: '/librarydisplay.html',
|
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/librarydisplay'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/dlnasettings.html',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/dlna/settings'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/edititemmetadata.html',
|
|
|
|
controller: 'edititemmetadata',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/encodingsettings.html',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/encodingsettings'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
2020-05-17 01:00:25 +09:00
|
|
|
defineRoute({
|
|
|
|
path: '/log.html',
|
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/logs'
|
|
|
|
});
|
|
|
|
defineRoute({
|
|
|
|
path: '/metadataimages.html',
|
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/metadataImages'
|
2020-05-17 01:00:25 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
|
|
|
path: '/metadatanfo.html',
|
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/metadatanfo'
|
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/notificationsetting.html',
|
|
|
|
path: '/controllers/dashboard/notifications/notification/index.html',
|
2020-05-17 01:00:25 +09:00
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'dashboard/notifications/notification/index'
|
2020-05-17 01:00:25 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/notificationsettings.html',
|
|
|
|
path: '/controllers/dashboard/notifications/notifications/index.html',
|
|
|
|
controller: 'dashboard/notifications/notifications/index',
|
2020-05-17 01:00:25 +09:00
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin'
|
|
|
|
});
|
|
|
|
defineRoute({
|
|
|
|
path: '/playbackconfiguration.html',
|
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/playback'
|
2020-05-17 01:00:25 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/availableplugins.html',
|
|
|
|
path: '/controllers/dashboard/plugins/available/index.html',
|
2020-05-17 01:00:25 +09:00
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'dashboard/plugins/available/index'
|
2020-05-17 01:00:25 +09:00
|
|
|
});
|
2020-06-10 21:33:08 +09:00
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/repositories.html',
|
|
|
|
path: '/controllers/dashboard/plugins/repositories/index.html',
|
2020-05-17 01:00:25 +09:00
|
|
|
autoFocus: false,
|
|
|
|
roles: 'admin',
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'dashboard/plugins/repositories/index'
|
2020-05-17 01:00:25 +09:00
|
|
|
});
|
2020-05-12 06:28:14 +09:00
|
|
|
|
2020-01-08 01:36:34 +09:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/home.html',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
controller: 'home',
|
|
|
|
transition: 'fade',
|
|
|
|
type: 'home'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
2020-05-12 06:28:14 +09:00
|
|
|
defineRoute({
|
|
|
|
path: '/search.html',
|
|
|
|
controller: 'searchpage'
|
|
|
|
});
|
2020-01-08 01:36:34 +09:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/list.html',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
controller: 'list',
|
|
|
|
transition: 'fade'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-06-17 15:45:23 +02:00
|
|
|
alias: '/details',
|
2020-06-21 13:47:33 +02:00
|
|
|
path: '/controllers/itemDetails/index.html',
|
|
|
|
controller: 'itemDetails/index',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2020-01-08 01:36:34 +09:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/livetv.html',
|
|
|
|
controller: 'livetv/livetvsuggested',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/livetvguideprovider.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'livetvguideprovider'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/livetvsettings.html',
|
2019-04-03 00:12:02 +01:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
controller: 'livetvsettings'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/livetvstatus.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'livetvstatus'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/livetvtuner.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'livetvtuner'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2020-01-08 01:36:34 +09:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/movies.html',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
controller: 'movies/moviesrecommended',
|
|
|
|
transition: 'fade'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/music.html',
|
|
|
|
controller: 'music/musicrecommended',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-07-26 15:40:12 +09:00
|
|
|
alias: '/installedplugins.html',
|
|
|
|
path: '/controllers/dashboard/plugins/installed/index.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-07-26 15:40:12 +09:00
|
|
|
controller: 'dashboard/plugins/installed/index'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/scheduledtask.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/scheduledtasks/scheduledtask'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/scheduledtasks.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/scheduledtasks/scheduledtasks'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/serveractivity.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/serveractivity'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/apikeys.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
|
|
|
controller: 'dashboard/apikeys'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/streamingsettings.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/streaming'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2020-01-08 01:36:34 +09:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/tv.html',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
controller: 'shows/tvrecommended',
|
|
|
|
transition: 'fade'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
2020-05-12 06:28:14 +09:00
|
|
|
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/useredit.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/users/useredit'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/userlibraryaccess.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/users/userlibraryaccess'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/usernew.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/users/usernew'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/userparentalcontrol.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/users/userparentalcontrol'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/userpassword.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/users/userpasswordpage'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/userprofiles.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin',
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/users/userprofilespage'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2019-12-15 20:47:47 +09:00
|
|
|
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/wizardremoteaccess.html',
|
|
|
|
path: '/controllers/wizard/remote/index.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
|
|
|
anonymous: true,
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'wizard/remote/index'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/wizardfinish.html',
|
|
|
|
path: '/controllers/wizard/finish/index.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
|
|
|
anonymous: true,
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'wizard/finish/index'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/wizardlibrary.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
2019-04-03 00:12:02 +01:00
|
|
|
anonymous: true,
|
2020-05-17 23:19:21 +09:00
|
|
|
controller: 'dashboard/mediaLibrary'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/wizardsettings.html',
|
|
|
|
path: '/controllers/wizard/settings/index.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
|
|
|
anonymous: true,
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'wizard/settings/index'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/wizardstart.html',
|
|
|
|
path: '/controllers/wizard/start/index.html',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
|
|
|
anonymous: true,
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'wizard/start/index'
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/wizarduser.html',
|
|
|
|
path: '/controllers/wizard/user/index.html',
|
|
|
|
controller: 'wizard/user/index',
|
2019-03-18 23:41:40 +00:00
|
|
|
autoFocus: false,
|
|
|
|
anonymous: true
|
|
|
|
});
|
2019-12-15 20:47:47 +09:00
|
|
|
|
2019-03-18 23:41:40 +00:00
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/video',
|
|
|
|
path: '/controllers/playback/video/index.html',
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade',
|
2020-07-26 15:09:40 +09:00
|
|
|
controller: 'playback/video/index',
|
2020-01-08 01:36:34 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
type: 'video-osd',
|
2020-01-08 01:36:34 +09:00
|
|
|
supportsThemeMedia: true,
|
|
|
|
fullscreen: true,
|
|
|
|
enableMediaControl: false
|
2019-03-18 23:41:40 +00:00
|
|
|
});
|
2019-12-15 20:47:47 +09:00
|
|
|
defineRoute({
|
2020-07-26 15:09:40 +09:00
|
|
|
alias: '/queue',
|
|
|
|
path: '/controllers/playback/queue/index.html',
|
|
|
|
controller: 'playback/queue/index',
|
2020-04-24 22:58:43 +09:00
|
|
|
autoFocus: false,
|
2020-05-04 12:44:12 +02:00
|
|
|
transition: 'fade',
|
2020-04-24 22:58:43 +09:00
|
|
|
fullscreen: true,
|
|
|
|
supportsThemeMedia: true,
|
|
|
|
enableMediaControl: false
|
|
|
|
});
|
2019-12-15 20:47:47 +09:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/configurationpage',
|
2019-12-15 20:47:47 +09:00
|
|
|
autoFocus: false,
|
2020-01-08 01:36:34 +09:00
|
|
|
enableCache: false,
|
|
|
|
enableContentQueryString: true,
|
2020-05-04 12:44:12 +02:00
|
|
|
roles: 'admin'
|
2020-01-08 01:36:34 +09:00
|
|
|
});
|
|
|
|
|
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/',
|
2020-01-08 01:36:34 +09:00
|
|
|
isDefaultRoute: true,
|
|
|
|
autoFocus: false
|
2019-12-15 20:47:47 +09:00
|
|
|
});
|
2020-04-24 22:58:43 +09:00
|
|
|
defineRoute({
|
2020-05-04 12:44:12 +02:00
|
|
|
path: '/index.html',
|
2020-04-24 22:58:43 +09:00
|
|
|
autoFocus: false,
|
|
|
|
isDefaultRoute: true
|
|
|
|
});
|
2019-04-25 11:16:01 -07:00
|
|
|
});
|