mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-07 00:10:24 +00:00
Lint
This commit is contained in:
parent
d709f2c741
commit
68b31f995a
1 changed files with 17 additions and 4 deletions
|
|
@ -3,13 +3,26 @@ const platform = require('./platform');
|
|||
let options = [{ label: 'Disabled', value: 'internal' }];
|
||||
|
||||
if (platform.name === 'ios') {
|
||||
options = options.concat([{ label: 'VLC', value: 'vlc' }, { label: 'Outplayer', value: 'outplayer' }, { label: 'Infuse', value: 'infuse' }]);
|
||||
options = options.concat([
|
||||
{ label: 'VLC', value: 'vlc' },
|
||||
{ label: 'Outplayer', value: 'outplayer' },
|
||||
{ label: 'Infuse', value: 'infuse' }
|
||||
]);
|
||||
} else if (platform.name === 'android') {
|
||||
options = options.concat([{ label: 'Allow Choosing', value: 'choose' }, { label: 'VLC', value: 'vlc' }, { label: 'Just Player', value: 'justplayer' },{ label: 'MX Player', value: 'mxplayer' }]);
|
||||
options = options.concat([
|
||||
{ label: 'Allow Choosing', value: 'choose' },
|
||||
{ label: 'VLC', value: 'vlc' },
|
||||
{ label: 'Just Player', value: 'justplayer' },
|
||||
{ label: 'MX Player', value: 'mxplayer' }
|
||||
]);
|
||||
} else if (['windows', 'macos', 'linux'].includes(platform.name)) {
|
||||
options = options.concat([{ label: 'VLC', value: 'vlc' }]);
|
||||
options = options.concat([
|
||||
{ label: 'VLC', value: 'vlc' }
|
||||
]);
|
||||
} else {
|
||||
options = options.concat([{ label: 'M3U Playlist', value: 'm3u' }]);
|
||||
options = options.concat([
|
||||
{ label: 'M3U Playlist', value: 'm3u' }
|
||||
]);
|
||||
}
|
||||
|
||||
module.exports = options;
|
||||
|
|
|
|||
Loading…
Reference in a new issue