AnthonyMusgrove / Emby-ScripterX

Run custom external application or script (batch/bash/powershell/php/python/node.js/custom) on various events within the Emby Server.
https://emby-scripterx.com
78 stars 6 forks source link

Package Installer not working. #52

Open AnthonyMusgrove opened 3 years ago

AnthonyMusgrove commented 3 years ago

Package installer doesn't allow uploading of zip files - synchronous functions are not allowed. TODO: Rewrite functions for async w/ callbacks

AnthonyMusgrove commented 2 years ago

So far so good, converted the installer functions to asynchronous execution; the installer works fine now - just need to have the interface update once the install is complete (at the moment it adds it to the list, but doesn't have all the correct details until the page is reloaded, this is due to the execution order no longer receiving the completed package object. This should be a simple fix, and therefore these changes will be available in the next release 4.0.0.5.

BenjaminPoncet commented 2 years ago

Hello, the upload of the package does not work on MacOs because the mime-type is not "application/x-zip-compressed" but "application/zip" as required by the https://www.iana.org/assignments/media-types/media-types.xhtml standard. Another Windows quirk...