Syntax24 4 Posted March 29, 2025 Posted March 29, 2025 QQs: When developing a Plugin in Visual Studio what should the build action be set to? Is there a prefered Framework Version - Example net6.0, net2.0, etc. Image attached shows where I always get stuck at. I also attached Log File. Thank you in advance! embyserver (4).txt
Luke 42077 Posted March 30, 2025 Posted March 30, 2025 Hi, have you taken a look at this? https://github.com/MediaBrowser/Emby/wiki/How-to-build-a-Server-Plugin
Syntax24 4 Posted March 30, 2025 Author Posted March 30, 2025 Yes I have and unfortunately it hasn't been updated since 2018 so I wanted to ensure I was getting the most accurate an up to date information from anyone who recently created a plugin.
Luke 42077 Posted March 30, 2025 Posted March 30, 2025 6 minutes ago, Syntax24 said: Yes I have and unfortunately it hasn't been updated since 2018 so I wanted to ensure I was getting the most accurate an up to date information from anyone who recently created a plugin. The answer to your second question can be found there, and it is still current. You don't need any build action. 1
Syntax24 4 Posted March 30, 2025 Author Posted March 30, 2025 I am still stuck and cannot move past this point no matter what I do, I have even used AI to check my code compared to https://github.com/MediaBrowser/Emby/wiki/How-to-build-a-Server-Plugin and https://dev.emby.media/doc/plugins/ui/index.html even having it review videos to see if my steps have been accurate ...
Syntax24 4 Posted March 30, 2025 Author Posted March 30, 2025 Every time I try to click on my plug-in that I am creating I get the error message that is in the above screenshot. It’s a possibility that my file structure isn’t correct. Is there a good place for me to go and reference that?
Syntax24 4 Posted March 30, 2025 Author Posted March 30, 2025 This is the error I consistently receive no matter what I change or adapt
Syntax24 4 Posted March 31, 2025 Author Posted March 31, 2025 Server log is attached to the first message but here is my most recent. embyserver (10).txt
Luke 42077 Posted March 31, 2025 Posted March 31, 2025 Are you sure that is the log file from when the problem was experienced?
Syntax24 4 Posted March 31, 2025 Author Posted March 31, 2025 Yes, that's the problem. I can't tell anything from the log.
Syntax24 4 Posted March 31, 2025 Author Posted March 31, 2025 Are you asking the folder layout or for the script?
Luke 42077 Posted March 31, 2025 Posted March 31, 2025 But also how you wired it up in RetroGamePlugin.cs
Luke 42077 Posted March 31, 2025 Posted March 31, 2025 Here is a good example to compare to: https://github.com/MediaBrowser/GameBrowser 1
Syntax24 4 Posted April 1, 2025 Author Posted April 1, 2025 What do you mean by how I wired up RetroGamePlugin.cs
Luke 42077 Posted April 1, 2025 Posted April 1, 2025 Well did you look at the example plug-in I linked to?
Syntax24 4 Posted April 1, 2025 Author Posted April 1, 2025 Yes, i worked today so i haven't had a chance to compare the 2 yet
Luke 42077 Posted April 1, 2025 Posted April 1, 2025 OK there should be code in there that you can just copy paste. 1
Syntax24 4 Posted April 3, 2025 Author Posted April 3, 2025 Ok, I am working all week I will try this weekend 1
Syntax24 4 Posted April 7, 2025 Author Posted April 7, 2025 As an update I was able to use the Emby SDK Master to correctly load a plugin. I am now just continuing to build. 1
Syntax24 4 Posted April 8, 2025 Author Posted April 8, 2025 (edited) @LukeI am missing something when it comes to having Emby recognize an html file. For some reason I can get the plugin page to load as long as there isn't an html in the files, once I create an html I can never get my custom settings screen to load. Any Pro Tips. I am marking them as an embedded resource. I have also attached a copy of my Log Files. The Plugin is named "Amani RetroCloud". embyserver (16).txt Edited April 8, 2025 by Syntax24
Luke 42077 Posted April 8, 2025 Posted April 8, 2025 Make sure you're using a nuget package that has a version number that is equal to or less than the version of the server you are running, not greater. 1
Syntax24 4 Posted April 10, 2025 Author Posted April 10, 2025 (edited) I verified all DLL files 4.8.11 same as server version Edited April 10, 2025 by Syntax24
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now