mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-20 04:18:19 -07:00
Replace context menu 'ViewArtist' with 'ViewAlbumArtist' option for players and fix texting bits
This commit is contained in:
parent
0e2b960ae7
commit
f9119cc2f6
@ -288,10 +288,11 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'appRouter',
|
|||||||
icon: 'album'
|
icon: 'album'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// Show Album Artist by default, as a song can have multiple artists, which specific one would this option refer to?
|
||||||
if (options.openArtist !== false && item.ArtistItems && item.ArtistItems.length) {
|
// Although some albums can have multiple artists, it's not as common as songs.
|
||||||
|
if (options.openArtist !== false && item.AlbumArtists && item.AlbumArtists.length) {
|
||||||
commands.push({
|
commands.push({
|
||||||
name: globalize.translate('ViewArtist'),
|
name: globalize.translate('ViewAlbumArtist'),
|
||||||
id: 'artist',
|
id: 'artist',
|
||||||
icon: 'person'
|
icon: 'person'
|
||||||
});
|
});
|
||||||
@ -458,7 +459,7 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'appRouter',
|
|||||||
getResolveFunction(resolve, id)();
|
getResolveFunction(resolve, id)();
|
||||||
break;
|
break;
|
||||||
case 'artist':
|
case 'artist':
|
||||||
appRouter.showItem(item.ArtistItems[0].Id, item.ServerId);
|
appRouter.showItem(item.AlbumArtists[0].Id, item.ServerId);
|
||||||
getResolveFunction(resolve, id)();
|
getResolveFunction(resolve, id)();
|
||||||
break;
|
break;
|
||||||
case 'playallfromhere':
|
case 'playallfromhere':
|
||||||
|
@ -161,7 +161,7 @@ define(['require', 'datetime', 'itemHelper', 'events', 'browser', 'imageLoader',
|
|||||||
if (currentPlayer) {
|
if (currentPlayer) {
|
||||||
if (currentPlayer.id === 'htmlaudioplayer' && (currentPlayer._currentTime <= 5 || !playbackManager.previousTrack(currentPlayer))) {
|
if (currentPlayer.id === 'htmlaudioplayer' && (currentPlayer._currentTime <= 5 || !playbackManager.previousTrack(currentPlayer))) {
|
||||||
// Cancel this event if doubleclick is fired
|
// Cancel this event if doubleclick is fired
|
||||||
if (e.originalEvent.detail > 1 && playbackManager.previousTrack(currentPlayer)) {
|
if (e.detail > 1 && playbackManager.previousTrack(currentPlayer)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
playbackManager.seekPercent(0, currentPlayer);
|
playbackManager.seekPercent(0, currentPlayer);
|
||||||
|
@ -707,7 +707,7 @@ define(['browser', 'datetime', 'backdrop', 'libraryBrowser', 'listView', 'imageL
|
|||||||
if (currentPlayer) {
|
if (currentPlayer) {
|
||||||
if (currentPlayer.id === 'htmlaudioplayer' && (currentPlayer._currentTime <= 5 || !playbackManager.previousTrack(currentPlayer))) {
|
if (currentPlayer.id === 'htmlaudioplayer' && (currentPlayer._currentTime <= 5 || !playbackManager.previousTrack(currentPlayer))) {
|
||||||
// Cancel this event if doubleclick is fired
|
// Cancel this event if doubleclick is fired
|
||||||
if (e.originalEvent.detail > 1 && playbackManager.previousTrack(currentPlayer)) {
|
if (e.detail > 1 && playbackManager.previousTrack(currentPlayer)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
playbackManager.seekPercent(0, currentPlayer);
|
playbackManager.seekPercent(0, currentPlayer);
|
||||||
|
@ -1521,7 +1521,7 @@
|
|||||||
"Vertical": "Vertical",
|
"Vertical": "Vertical",
|
||||||
"VideoRange": "Video range",
|
"VideoRange": "Video range",
|
||||||
"ViewAlbum": "View album",
|
"ViewAlbum": "View album",
|
||||||
"ViewArtist": "View artist",
|
"ViewAlbumArtist": "View album artist",
|
||||||
"ViewPlaybackInfo": "View playback info",
|
"ViewPlaybackInfo": "View playback info",
|
||||||
"Watched": "Watched",
|
"Watched": "Watched",
|
||||||
"Wednesday": "Wednesday",
|
"Wednesday": "Wednesday",
|
||||||
@ -1554,5 +1554,4 @@
|
|||||||
"UnsupportedPlayback": "Jellyfin cannot decrypt content protected by DRM but all content will be attempted regardless, including protected titles. Some files may appear completely black due to encryption or other unsupported features, such as interactive titles.",
|
"UnsupportedPlayback": "Jellyfin cannot decrypt content protected by DRM but all content will be attempted regardless, including protected titles. Some files may appear completely black due to encryption or other unsupported features, such as interactive titles.",
|
||||||
"EnableBlurhash": "Enable blurred placeholders for images",
|
"EnableBlurhash": "Enable blurred placeholders for images",
|
||||||
"EnableBlurhashHelp": "Images that are still being loaded will be displayed with a blurred placeholder"
|
"EnableBlurhashHelp": "Images that are still being loaded will be displayed with a blurred placeholder"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1205,7 +1205,7 @@
|
|||||||
"ValueTimeLimitSingleHour": "Tiempo límite: 1 hora",
|
"ValueTimeLimitSingleHour": "Tiempo límite: 1 hora",
|
||||||
"ValueVideoCodec": "Códec de video: {0}",
|
"ValueVideoCodec": "Códec de video: {0}",
|
||||||
"ViewAlbum": "Ver album",
|
"ViewAlbum": "Ver album",
|
||||||
"ViewArtist": "Ver artista",
|
"ViewAlbumArtist": "Ver artista del álbum",
|
||||||
"ViewPlaybackInfo": "Ver información de la reproducción",
|
"ViewPlaybackInfo": "Ver información de la reproducción",
|
||||||
"Watched": "Visto",
|
"Watched": "Visto",
|
||||||
"Wednesday": "Miércoles",
|
"Wednesday": "Miércoles",
|
||||||
@ -1560,5 +1560,6 @@
|
|||||||
"EnableDetailsBannerHelp": "Mostrar imagen de banner en el tope de la página de detalles del elemento.",
|
"EnableDetailsBannerHelp": "Mostrar imagen de banner en el tope de la página de detalles del elemento.",
|
||||||
"EnableDetailsBanner": "Barra de Detalles",
|
"EnableDetailsBanner": "Barra de Detalles",
|
||||||
"ShowMore": "Mostrar más",
|
"ShowMore": "Mostrar más",
|
||||||
"ShowLess": "Mostrar menos"
|
"ShowLess": "Mostrar menos",
|
||||||
|
"ViewAlbumArtist": "Ver artista del álbum"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user