mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add more live tv buttons
This commit is contained in:
parent
4094adb5a7
commit
f491228119
114 changed files with 1076 additions and 310 deletions
|
@ -315,6 +315,14 @@
|
|||
});
|
||||
}
|
||||
|
||||
if (commands.indexOf('record') != -1) {
|
||||
items.push({
|
||||
name: Globalize.translate('ButtonRecord'),
|
||||
id: 'record',
|
||||
ironIcon: 'videocam'
|
||||
});
|
||||
}
|
||||
|
||||
if (commands.indexOf('removefromplaylist') != -1) {
|
||||
items.push({
|
||||
name: Globalize.translate('ButtonRemoveFromPlaylist'),
|
||||
|
@ -415,6 +423,8 @@
|
|||
break;
|
||||
case 'album':
|
||||
Dashboard.navigate('itemdetails.html?id=' + albumid);
|
||||
case 'record':
|
||||
Dashboard.navigate('livetvnewrecording.html?programid=' + itemId);
|
||||
break;
|
||||
case 'artist':
|
||||
Dashboard.navigate('itemdetails.html?context=music&id=' + artistid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue