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'
|
||||
});
|
||||
}
|
||||
|
||||
if (options.openArtist !== false && item.ArtistItems && item.ArtistItems.length) {
|
||||
// Show Album Artist by default, as a song can have multiple artists, which specific one would this option refer to?
|
||||
// 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({
|
||||
name: globalize.translate('ViewArtist'),
|
||||
name: globalize.translate('ViewAlbumArtist'),
|
||||
id: 'artist',
|
||||
icon: 'person'
|
||||
});
|
||||
@ -458,7 +459,7 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'appRouter',
|
||||
getResolveFunction(resolve, id)();
|
||||
break;
|
||||
case 'artist':
|
||||
appRouter.showItem(item.ArtistItems[0].Id, item.ServerId);
|
||||
appRouter.showItem(item.AlbumArtists[0].Id, item.ServerId);
|
||||
getResolveFunction(resolve, id)();
|
||||
break;
|
||||
case 'playallfromhere':
|
||||
|
@ -161,7 +161,7 @@ define(['require', 'datetime', 'itemHelper', 'events', 'browser', 'imageLoader',
|
||||
if (currentPlayer) {
|
||||
if (currentPlayer.id === 'htmlaudioplayer' && (currentPlayer._currentTime <= 5 || !playbackManager.previousTrack(currentPlayer))) {
|
||||
// Cancel this event if doubleclick is fired
|
||||
if (e.originalEvent.detail > 1 && playbackManager.previousTrack(currentPlayer)) {
|
||||
if (e.detail > 1 && playbackManager.previousTrack(currentPlayer)) {
|
||||
return;
|
||||
}
|
||||
playbackManager.seekPercent(0, currentPlayer);
|
||||
|
@ -707,7 +707,7 @@ define(['browser', 'datetime', 'backdrop', 'libraryBrowser', 'listView', 'imageL
|
||||
if (currentPlayer) {
|
||||
if (currentPlayer.id === 'htmlaudioplayer' && (currentPlayer._currentTime <= 5 || !playbackManager.previousTrack(currentPlayer))) {
|
||||
// Cancel this event if doubleclick is fired
|
||||
if (e.originalEvent.detail > 1 && playbackManager.previousTrack(currentPlayer)) {
|
||||
if (e.detail > 1 && playbackManager.previousTrack(currentPlayer)) {
|
||||
return;
|
||||
}
|
||||
playbackManager.seekPercent(0, currentPlayer);
|
||||
|
@ -1521,7 +1521,7 @@
|
||||
"Vertical": "Vertical",
|
||||
"VideoRange": "Video range",
|
||||
"ViewAlbum": "View album",
|
||||
"ViewArtist": "View artist",
|
||||
"ViewAlbumArtist": "View album artist",
|
||||
"ViewPlaybackInfo": "View playback info",
|
||||
"Watched": "Watched",
|
||||
"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.",
|
||||
"EnableBlurhash": "Enable blurred placeholders for images",
|
||||
"EnableBlurhashHelp": "Images that are still being loaded will be displayed with a blurred placeholder"
|
||||
|
||||
}
|
||||
|
@ -1205,7 +1205,7 @@
|
||||
"ValueTimeLimitSingleHour": "Tiempo límite: 1 hora",
|
||||
"ValueVideoCodec": "Códec de video: {0}",
|
||||
"ViewAlbum": "Ver album",
|
||||
"ViewArtist": "Ver artista",
|
||||
"ViewAlbumArtist": "Ver artista del álbum",
|
||||
"ViewPlaybackInfo": "Ver información de la reproducción",
|
||||
"Watched": "Visto",
|
||||
"Wednesday": "Miércoles",
|
||||
@ -1560,5 +1560,6 @@
|
||||
"EnableDetailsBannerHelp": "Mostrar imagen de banner en el tope de la página de detalles del elemento.",
|
||||
"EnableDetailsBanner": "Barra de Detalles",
|
||||
"ShowMore": "Mostrar más",
|
||||
"ShowLess": "Mostrar menos"
|
||||
"ShowLess": "Mostrar menos",
|
||||
"ViewAlbumArtist": "Ver artista del álbum"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user