1
0
Fork 0
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:
Luke Pulverenti 2015-08-24 23:13:04 -04:00
parent 4094adb5a7
commit f491228119
114 changed files with 1076 additions and 310 deletions

View file

@ -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);