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

fixes #592 - Add options to import missing and future episodes

This commit is contained in:
Luke Pulverenti 2013-10-16 19:35:11 -04:00
parent 6d4e555bb8
commit b23426bb93
13 changed files with 167 additions and 18 deletions

View file

@ -288,7 +288,7 @@
browseButtonContainer.show();
if (item.Type != 'Person' && item.Type != 'Genre' && item.Type != 'Studio' && item.Type != 'GameGenre' && item.Type != 'MusicGenre') {
if (item.Type != 'Person' && item.Type != 'Genre' && item.Type != 'Studio' && item.Type != 'GameGenre' && item.Type != 'MusicGenre' && item.LocationType != 'Virtual') {
playButtonContainer.show();
queueButtonContainer.show();
}
@ -457,7 +457,11 @@
html += '<label for="selectCommand">Select command</label>';
html += '<select id="selectCommand" data-mini="true">';
html += '<option value="Play" selected>Play</label>';
if (item.LocationType == 'Virtual') {
html += '<option value="Play" selected>Browse</label>';
} else {
html += '<option value="Play" selected>Play</label>';
}
if (item.Chapters && item.Chapters.length) {
html += '<option value="PlayFromChapter">Play from scene</label>';