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

rework subtitle editor

This commit is contained in:
Luke Pulverenti 2015-09-16 21:33:46 -04:00
parent fc775f9dd8
commit 0fca25c780
50 changed files with 302 additions and 120 deletions

View file

@ -246,6 +246,14 @@
});
}
if (commands.indexOf('managesubtitles') != -1) {
items.push({
name: Globalize.translate('ButtonManageSubtitles'),
id: 'managesubtitles',
ironIcon: 'closed-caption'
});
}
items.push({
name: Globalize.translate('ButtonOpen'),
id: 'open',
@ -473,6 +481,9 @@
}]
});
break;
case 'managesubtitles':
LibraryBrowser.editSubtitles(itemId);
break;
case 'externalplayer':
LibraryBrowser.playInExternalPlayer(itemId);
break;