mirror of
https://github.com/jellyfin/jellyfin-plugin-bookshelf.git
synced 2024-11-27 15:40:47 +00:00
Merge pull request #122 from softworkz/MetadataViewer
MetadataViewer: Fix menu visibility (was no longer displayed for seasons and episodes)
This commit is contained in:
commit
67fcc52198
@ -56,8 +56,9 @@ namespace MetadataViewer
|
||||
{
|
||||
mark1Hit = false;
|
||||
sb.AppendLine();
|
||||
sb.AppendLine(" if (isMobileApp && options.identify !== false) {");
|
||||
sb.AppendLine(" if (itemHelper.canIdentify(user, item.Type)) {");
|
||||
sb.AppendLine(" if (item.ProviderIds) {");
|
||||
sb.AppendLine(" var provIds = JSON.stringify(item.ProviderIds);");
|
||||
sb.AppendLine(" if (provIds && provIds.length > 5) {");
|
||||
sb.AppendLine(" commands.push({");
|
||||
sb.AppendLine(" name: 'View Raw Metadata',");
|
||||
sb.AppendLine(" id: 'showmetadata'");
|
||||
|
@ -5,8 +5,8 @@ using System.Runtime.InteropServices;
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("MetadataViewer Beta 10")]
|
||||
[assembly: AssemblyDescription("Beta 10")]
|
||||
[assembly: AssemblyTitle("MetadataViewer Beta 12")]
|
||||
[assembly: AssemblyDescription("Beta 12")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("MetadataViewer")]
|
||||
|
Loading…
Reference in New Issue
Block a user