Jump to content

Github Repo Plugin Installer (Install plugins from github)


Recommended Posts

Posted

I got tired of having to manually load/update my plugins to servers so I wrote a plugin that if you give it a github repo url and it has a published release that has a .dll file it will install it. It also has a schedule task that will check nightly and install and optionally restart the server on new releases. The code base is targeting the 4.9 SDK no idea if that works on 4.8 systems.

bakes82/Emby.GitHubRepoPluginInstall

PluginMainPage.png.7a86113c00e3b2c08eb2a1bccef51469.png

PluginAddRepo.png.668a4bf73bb7f271c9098eca1a783891.png

image.thumb.png.60812c0981c07682b75b8d112c23c7e6.png

  • Like 4
  • Thanks 2
  • 1 month later...
Posted

Hello,

I installed the plugin on a server running version 4.9.0.40 BETA, with the following plugins configured:

  • HEVC Transcode Killer
  • Kill Script

Since then, this error has appeared.

Screenshot 2025-02-27 03.26.05.png

Posted

This is neat but y'all use at your own risk.  Be sure you know exactly what you are installing.  This could obviously be used to install just about anything on your machine.

Posted
19 hours ago, WDPR4100 said:

Hello,

I installed the plugin on a server running version 4.9.0.40 BETA, with the following plugins configured:

  • HEVC Transcode Killer
  • Kill Script

Since then, this error has appeared.

Screenshot 2025-02-27 03.26.05.png

I pushed out a release last night I believe that probably fixes the error. My guess is kill script doesn’t have any releases or any .dll releases, hence the object null reference, I saw the issue happen with an expired token but it probably fixes this issue also.

Posted
8 hours ago, ebr said:

This is neat but y'all use at your own risk.  Be sure you know exactly what you are installing.  This could obviously be used to install just about anything on your machine.

How is this different than any other plugin that exists? Every plugin installed has access to pull files from the internet to the machine once installed. I could write a plugin that has a scheduled task that will pull things behind the scene. So not sure what the explicit call out here is.

  • Like 1
Posted

Still the same errors for the moment

Posted
7 hours ago, WDPR4100 said:

Still the same errors for the moment

Yeah apparently I didnt push it last night, just wrote the commit message, its there now. 2025.02.28.1

Posted
7 hours ago, shocker said:

@bakes82quick question, in case a repo contains releases for Emby and Jellyfin, is this picket automatically for Emby by name search?  For example: https://github.com/ThePornDatabase/Jellyfin.Plugin.ThePornDB

It doesn’t currently, also that one wouldnt show any releases anyways because it’s publishing a .zip and this plugin looks for explicit.dll.

This plugin was designed for my private GitHub repos that I push out for other people as an easy way to manage the updates. I just know it’s a pita to manually search the forums/discord/email for the file to add and well if other dev could just publish it in the same format it would work.

Also possible someone takes it and makes it better and makes like a manifest type format like jellyfin does, though honestly that’s something Emby should just do and have it be part of the base platform.

  • Thanks 1
WDPR4100
Posted

@bakes82

would it be possible to update the emby.hevc and killstreams plugins?

sdragon001
Posted

So this is not working on Emby Server 4.8.10.0 but I have it working on Beta Server 4.9.0.40. 

bakes82
Posted
53 minutes ago, sdragon001 said:

So this is not working on Emby Server 4.8.10.0 but I have it working on Beta Server 4.9.0.40. 

So you didn’t read the first post?

sdragon001
Posted (edited)
On 1/25/2025 at 1:10 PM, bakes82 said:

The code base is targeting the 4.9 SDK no idea if that works on 4.8 systems.

“No idea if that works on 4.8 systems”  I’m confirming it’s not working as you stated you had no idea. 
 

when replying to others, maybe a thank you for confirming instead of trying to be rude, because that’s how that just came across. 
 

also, great job on this plugin, it does exactly what is needed it’s nice to see that someone took the time to dev this to help with automation. Thank you. 

Edited by sdragon001
bakes82
Posted
1 minute ago, sdragon001 said:

“No idea if that works on 4.8 systems”  I’m confirming it’s not working as you stated you had no idea. 
 

when replying to others, maybe a thank you for confirming instead of trying to be rude, because that’s how that just came across. 

No thanks, me saying its targeting 4.9 means all I care about is 4.9. I wasn't looking for confirmation, seems kinda obvious... Also why would you install a plugin with a higher version on a version thats lower.... Now if you installed it on a 5.0 system then yeah it "might" work since it should be backwards compatible, but why would a 4.9 plugin work on a 4.8 system.

  • Facepalm 1
Posted

could you kindly turn over the repos for the plugins? even privately. Thank you

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...