Jump to content
softworkz
Message added by softworkz,

Works with the stable release >= 4. 8.2 and the latest betas!

Recommended Posts

Posted

Isn't the injection of the menu item currently broken anyway?

Multiverse
Posted

Installation was via Emby WebUI, it is in the Emby plugins folder.

arrbee99
Posted

I know I'm really good at missing the obvious, but... thought I'd give it a go. Installed, restarted, no sign of it in menu, clear cache in Firefox according Firefox instructions, no sign of it in plug-ins. Reinstall, it doesn't say it's installed already. No sign of it in menus or plug-ins.

Server log?

Posted

 

On 10/9/2023 at 1:37 PM, Multiverse said:

I've tried to install it on 4.8.0.51, but after the restart threre is no plugin inside Emby. But it is inside my plugin folder!

BTW: I'm running Emby Server on Debian Bookworm (Stable).

I'm having the same issue as Multiverse. Running the official docker beta version on Unraid. Here is part of my log if it helps...
 

2023-10-16 13:27:41.898 Error App: Error creating Emby.DataExplorer.DataExplorerPlugin
	*** Error Report ***
	Version: 4.8.0.53
	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3
	Operating system: Linux version 5.19.17-Unraid (root@Develop) (gcc (GCC) 12.2.0, GNU ld version 2.39-slack151) #2 SMP PREEMPT_DYNAMIC Wed Nov 2 11:54:15 PDT 2022
	Framework: .NET 6.0.20
	OS/Process: x64/x64
	Runtime: system/System.Private.CoreLib.dll
	Processor count: 32
	Data path: /config
	Application path: /system
	SimpleInjector.ActivationException: SimpleInjector.ActivationException: No registration for type DataExplorerPlugin could be found and an implicit registration could not be made. Unable to modify itemcontextmenu.js (2)
	 ---> System.InvalidOperationException: Unable to modify itemcontextmenu.js (2)
	   at Emby.DataExplorer.Api.ContextMenuHelper.ModifyContextMenu(IServerConfigurationManager configurationManager)
	   at Emby.DataExplorer.Api.ContextMenuHelper.InstallFiles(IServerConfigurationManager configurationManager)
	   at Emby.DataExplorer.DataExplorerPlugin..ctor(IApplicationHost applicationHost)
	   at lambda_method87(Closure )
	   at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
	   at SimpleInjector.InstanceProducer.GetInstance()
	   --- End of inner exception stack trace ---
	   at SimpleInjector.InstanceProducer.GetInstance()
	   at SimpleInjector.Container.GetInstanceFromProducer(InstanceProducer instanceProducer, Type serviceType)
	   at SimpleInjector.Container.GetInstanceForRootType(Type serviceType)
	   at SimpleInjector.Container.GetInstance(Type serviceType)
	   at Emby.Server.Implementations.ApplicationHost.CreateInstanceSafe(Tuple`2 typeInfo)
	Source: SimpleInjector
	TargetSite: System.Object GetInstance()
	InnerException: System.InvalidOperationException: Unable to modify itemcontextmenu.js (2)
	Source: Emby.DataExplorer
	TargetSite: Void ModifyContextMenu(MediaBrowser.Controller.Configuration.IServerConfigurationManager)
	   at Emby.DataExplorer.Api.ContextMenuHelper.ModifyContextMenu(IServerConfigurationManager configurationManager)
	   at Emby.DataExplorer.Api.ContextMenuHelper.InstallFiles(IServerConfigurationManager configurationManager)
	   at Emby.DataExplorer.DataExplorerPlugin..ctor(IApplicationHost applicationHost)
	   at lambda_method87(Closure )
	   at SimpleInjector.InstanceProducer.BuildAndReplaceInstanceCreatorAndCreateFirstInstance()
	   at SimpleInjector.InstanceProducer.GetInstance()
	

 

  • Thanks 2
Posted

Just to confirm its not a mistake, has the plugin been removed from the repository for beta users as well?

Posted

It’s been pulled for now because it will need to be rebuilt for the 4.8 server.

  • 3 months later...
Posted
On 10/22/2023 at 9:36 PM, Luke said:

It’s been pulled for now because it will need to be rebuilt for the 4.8 server.

Luke, I'd like to have this plugin back, please... any outlook as to when this will be updated?

Posted

Hi, it’s on the todo list for review. Thanks.

  • Like 1
  • 2 months later...
Posted

A new version is available in the catalog now which is compatible with stable releases >= 4. 8.2 and the latest betas!

 

Important: Refresh your browser cache after installation and server restart.

  • Like 1
  • Thanks 2
MarauderEMBY
Posted

Cool... Thanks for the update ;)

  • Like 1
arrbee99
Posted

Just having a quick play. Two things -

Maybe its my display / settings, but there's a space down the right that isn't used which would be quite nice

EmbyMediaInfo.thumb.jpg.c0e5575472ffa04dee87c6e83538bec5.jpg

and whenever I click on the Folder icon for backdrops etc it just opens a browser window with 'The Address wasn't Understood' ?

arrbee99
Posted

...though it occurs to me that I should try without my css

Posted (edited)
10 minutes ago, arrbee99 said:

there's a space down the right that isn't used

There's a maximum column width. 

For example, in a case with only 2 columns, these would be spread too far across the screen horizontally, so you wouldn't be able to discriminate rows anymore.

 

10 minutes ago, arrbee99 said:

and whenever I click on the Folder icon for backdrops etc it just opens a browser window with 'The Address wasn't Understood'

You need a browser plugin to open local folders as described earlier in this conversation. Wasn't it even your very own request to make that possible?

Edited by softworkz
Posted

Having just installed this for the first time, it looks like it will be a very useful tool for troubleshooting data inconsistencies. On the very first random Music Album that I just tried (out of 1000s) I immediately found a difference between MusicBrainz and Discogs data (Discogs being incorrect). Using this plugin will therefore likely be much faster than having to first check via the individual data provider sites. Great work - well done!!!

  • Agree 1
  • Thanks 1
arrbee99
Posted
13 minutes ago, softworkz said:

There's a maximum column width. 

For example, in a case with only 2 columns, these would be spread too far across the screen horizontally, so you wouldn't be able to discriminate rows anymore.

 

You need a browser plugin to open local folders as described earlier in this conversation. Wasn't it even your very own request to make that possible?

Oops. I guess I really need to skim a bit less and actually read a bit more...

  • Haha 1
  • 6 months later...
Posted

From plugin development standpoint, I'm wondering how to inject a menu item and how to localize it. Is there any document I could refer to?

  • Agree 1
Posted
40 minutes ago, sjtuross said:

From plugin development standpoint, I'm wondering how to inject a menu item and how to localize it. Is there any document I could refer to?

This is currently not supported. Please note that the Data Explorer only works when you access the web ui from the server directly. It doesn't work in any app or via app.emby.media, so the first thing to determine is whether it's still interesting for you under these limitations.

If yes, you'd probably need to explain what exactly you're intending to do and then you might or might not get permission to use that inofficial method.

Posted
55 minutes ago, sjtuross said:

From plugin development standpoint, I'm wondering how to inject a menu item and how to localize it. Is there any document I could refer to?

Yep - would love to have this ability (but on all Emby clients) - 'Add to Watchlist' would be my #1 item ..

Posted
55 minutes ago, softworkz said:

If yes, you'd probably need to explain what exactly you're intending to do and then you might or might not get permission to use that inofficial method.

Yes, I'm thinking about adding a clone operation to media library shortcut menu. For dev/test purpose, I constantly need to create new libraries with similar options, but it's tedious to manually create a new library and click all the options.

Posted

The primary concern is that this could serve as an entry point for hackers into Emby apps, as in case of Javascript, you cannot limit plugin code to do just certain things.

A current idea is to allow this kind of integratoin only by using the new Plugin UI, a declarative way to design user interfaces from C# code only. But a few more things would need to be added to make this a viable path since it's currently focused on building UI for settings on the server dashboard, where it is in charge of the whole view it presents. 

Even when it would be allowed: there are no APIs at the JS side which you could use. Everything is permanently changing, so whatever a plugin would have figured out what/how it can do, it will become broken soon, from one day to another - without notiice. And that would massively backfire on us, in form of users complaining about broken functionality.

  • Thanks 1
Posted
9 minutes ago, sjtuross said:

Yes, I'm thinking about adding a clone operation to media library shortcut menu. For dev/test purpose, I constantly need to create new libraries with similar options, but it's tedious to manually create a new library and click all the options.

Okay, that's for @Luketo decide on, then. I think it will also depend on which plans we have in this area for the future.

Posted
On 27/11/2022 at 10:00, softworkz said:

As I already have what I need, I wanted to check out first, what is being asked for. But this is surely a hot candidate.
Multiple sources could be nicely shown in a multi-column table for comparison.

@softworkz

Sorry to ask, as I know you have a lot on your plate, but any news or progress on the multi-version/multi-source version ?

The reason I ask is a recent post (not mine) where I wanted to check the metadata Parental Rating and for me the DE Plugin is actually showing what I would have considered the secondary 'version'.  I thought it would have showed the 'first' version that was created (ie lowest itemid#)

On the diagnosis - I'm thinking the other 'versions' may not have properly imported metadata (rating), but I can't [easily] check this with this otherwise perfect Plugin ... ;)

Thanks ! 

Posted
20 hours ago, rbjtech said:

Sorry to ask, as I know you have a lot on your plate, but any news or progress on the multi-version/multi-source version ?

I'm afraid, but there are no immediate plans for this at the moment.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...