Jump to content

Plugin Catalog Not Allowing Downloads


throgmorton

Recommended Posts

throgmorton

The Plugin Catalog in the WMC app doesn't seem to properly download files from the server (Testing with EMC 3.0.315.0) .  Basically I simply deleted one of my themes and tried to download it again and it basically hangs at installing the theme.  This was brought to my attention by a user having issues installing the theme.  I tried uploading a new version to the site and all seemed to process well but still it won't seem to download the file and basically just sticks a file with 0 bytes in the \programdata\plugin directory.

 

This is not limited to my themes as I tried to install the backdrop screen saver and the cover screen saver and the same issues occured.

Edited by throgmorton
Link to comment
Share on other sites

The Plugin Catalog in the WMC app doesn't seem to properly download files from the server (Testing with EMC 3.0.315.0) .  Basically I simply deleted one of my themes and tried to download it again and it basically hangs at installing the theme.  This was brought to my attention by a user having issues installing the theme.  I tried uploading a new version to the site and all seemed to process well but still it won't seem to download the file and basically just sticks a file with 0 bytes in the \programdata\plugin directory.

 

This is not limited to my themes as I tried to install the backdrop screen saver and the cover screen saver and the same issues occured.

The whole download of themes in the Plug in part is hosed.

 

Just restarted my PC and lost Destiny which it shows is not installed how can that be. Something awefully wrong here

 

@@Luke and @@ebr can you check what the difficulties are with the EMC Plugin Catalogue.

 

Thanks

Link to comment
Share on other sites

My setup is just so totally hosed and have no idea how this happened as I did no changes in the WMC setup. Here is now my present situation. I had gotten all your themes but the WMC plugin catalogue now says.

 

Ascendancy = Not installed

Imperium = Not installed

Destiny = Not installed

Regency = Not installed

Supremacy = Not Installed

 

Didn't expect this kind of trouble and problem. When I restarted the server because Destiny was the theme selected in WMC configuration since it is no longer showing as installed it put in its place Chocolate.

 

The fun with updates.

Edited by One2Go
Link to comment
Share on other sites

jachin99

Without speaking for Throgmorton I can tell you that once you have them, they are compatible with .316

Edited by jachin99
Link to comment
Share on other sites

Well I used to have all of them paid for them. No idea how they got deleted. I still have several of them like Centrality, Maelstrom, Harmony, Kismet and Vanilla.

 

There are a few updates in the plugin catalogue

Link to comment
Share on other sites

throgmorton

Well I used to have all of them paid for them. No idea how they got deleted. I still have several of them like Centrality, Maelstrom, Harmony, Kismet and Vanilla.

 

There are a few updates in the plugin catalogue

 

This is a total guess on my part but what I think happened based on the themes that remain is you probably didn't have the latest versions of my themes and so when you did this upgrade to the newer version of Emby it probably recognized that the plugins were out of date and just tried to download the new versions.  So with the catalog not functioning properly it probably just simply erased the old DLLs without getting the new ones.

 

Again this is a total guess on my part but could be the reason...

Link to comment
Share on other sites

No you are spot on with that assessment and if Destiny had an update then that explains why it was deleted and how Chocolate became now the default. Does it automatically check for any updates of the themes and then downloads them in the background?

 

Finally were you able to resolve the weather api issue that exists with Yahoo?

 

Thanks

O2G

Link to comment
Share on other sites

throgmorton

I think there is an option somewhere in the configuration menu that checks and installs on background if I'm not mistaken.

 

With regards to weather as I mentioned in the other thread needs some adjustment to core. So this needs to be done on that end. From what I've read is they would need to register the app with yahoo and then request access to the weather. This should still all be free but it's another layer of security yahoo has put in place. Then they will need to update the URL link they are using. Once that is all done I'm hoping there hasn't been any changes to the XML structure they are using so everything should work right away once that is completed.

 

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

jachin99

If you install the release version of EMC, does the plug-in download work?

If this is absoluetly vital to figuring out the problem then I can install the release version and test.

Link to comment
Share on other sites

If this is absoluetly vital to figuring out the problem then I can install the release version and test.

 

It would be very helpful because I don't know of anything that has changed here.  So I'm thinking it may be an external problem.

 

Thanks!

Link to comment
Share on other sites

jachin99

I tried centrality, and gamebrowser and they each download an assembly that is 0 kb

Edited by jachin99
Link to comment
Share on other sites

I tried centrality, and gamebrowser and they each download an assembly that is 0 kb

 

This was with the stable version of EMC?

Link to comment
Share on other sites

throgmorton

This was with the stable version of EMC?

Out of curiosity what version is the stable version? Just so it can be double checked that the stable version is installed.

 

 

Sent from my iPhone using Tapatalk

Edited by throgmorton
Link to comment
Share on other sites

The stable version is a none starter for all who have the new version of the server. You need the beta version as none of the Blu-ray or DVD folders will work with the stable version it does not detect that this is a Blu-ray or DVD it detects it as H.264 and H.262 and thus launches the wrong external player.

 

However it may be helpful determining why the download is 0 Bytes.

 

I since updated the DLLs manually sins Throg was so kind and posted a Dropbox link.

Link to comment
Share on other sites

throgmorton

The reason @@ebr is asking to check with stable release is simply to determine if it was something that got broken along the way.

 

If anything when I get home tonight I will download and install the stable release and do some tests

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

throgmorton

So I downloaded and reverted back to 307 but still no dice...

 

The logger seems to suggest that the plugin is installing..

2019-01-18 17:21:37.1528,Info,,Installing plugin from https://embydata.com/admin/service/packageFiles/Centrality.dll_4.0.0.6.exe to C:\ProgramData\MediaBrowser-Classic\Plugins\Centrality.dll,30,Worker thread for Common

I also checked if I could download from the provided URL and it wasn't an issue.

 

So it leads me to this part of the code which is for some reason not working. It should enter the if statement and does seem to create the target file which is why the file is at 0 bytes but doesn't seem to want to download with the Async call.  There doesn't seem to be a try-throw statement on the Async call but maybe its throwing some sort of error?

      public void InstallPlugin(string sourcePath, string targetName,
                MediaBrowser.Library.Network.WebDownload.PluginInstallUpdateCB updateCB,
                MediaBrowser.Library.Network.WebDownload.PluginInstallFinishCB doneCB,
                MediaBrowser.Library.Network.WebDownload.PluginInstallErrorCB errorCB) {
            string target = Path.Combine(ApplicationPaths.AppPluginPath, targetName);

            Logger.ReportInfo("Installing plugin from {0} to {1}", sourcePath, target);

            if (sourcePath.ToLower().StartsWith("http")) {
                // Initialise Async Web Request
                var BUFFER_SIZE = 1024;
                var fileURI = new Uri(sourcePath);

                var request = WebRequest.Create(fileURI);
                var requestState = new Network.WebDownload.State(BUFFER_SIZE, target);
                requestState.request = request;
                requestState.fileURI = fileURI;
                requestState.progCB = updateCB;
                requestState.doneCB = doneCB;
                requestState.errorCB = errorCB;

                var result = (IAsyncResult)request.BeginGetResponse(new AsyncCallback(ResponseCallback), requestState);
            }
            else {
                File.Copy(sourcePath, target, true);
                InitialisePlugin(target);
            }

            // Moved code to InitialisePlugin()
            //Function needs to be called at end of Async dl process as well
        }

Link to comment
Share on other sites

Yeah, I'm at a bit of a loss here as well.

 

I also tried a direct download which worked but, for some reason, the async call is just never returning it appears.  @@bigjohn are we positive that we haven't created a certificate problem or anything?

Link to comment
Share on other sites

@@ebr nothing has changed with any certificates since December 9. Did this problem just start within the last few days?

Link to comment
Share on other sites

throgmorton

@@ebr nothing has changed with any certificates since December 9. Did this problem just start within the last few days?

 

I think that's impossible to tell, it was just noticed recently, but it could have been a problem for a while...

Link to comment
Share on other sites

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