PDA

View Full Version : Mezzmo on Kodi taking very long to boot up



ruslah
12-26-2018, 08:31 PM
Just recently, my Mezzmo addon has been taking a very long time to boot up. I'm talking up to nearly 4 minutes after I select the addon in Kodi.

It has only just started happening the past week or so. I've been using it for close to two years without any issue at all, so it's strange that it has suddenly started playing up. I have recently done a fresh install of Kodi (I am on 17.3) and it was working fine for a couple of weeks. Nothing else has changed. I only use a couple of other addons and they work fine.

So when I click on the Mezzmo addon, it will go to a blank screen with the loading icon. It will keep loading for yeah, close to 4 minutes before it comes up with the Refresh and Mezzmo icon. After that it works as normal.

I have the latest update for Mezzmo. I have also checked the SSDP, it is set to 5.

So yeah, it is usable, it's just become annoyingly slow. Any help would be great thanks :cool:

jbinkley60
12-31-2018, 11:27 AM
I've seen this happen once before when the saved servers settings in the /.kodi/userdata/addon_data/plugin.video.mezzmo/settings.xml file had a bad entry of a server which no longer existed. You can try renaming this file and then restart the addon and see if that fixes it or make a backup copy and remove the saved servers portion of this file. Either will determine whether this is the issue. if not just rename / copy toe old file back.

Peter
01-02-2019, 09:44 AM
Have you recently added any items at the top level of the library which may be taking a long time to load? If you add a folder at this level with a lot of files/folders in it Mezzmo may count the files in the folder prior to delivering it to the device.

ruslah
01-08-2019, 08:39 PM
I've seen this happen once before when the saved servers settings in the /.kodi/userdata/addon_data/plugin.video.mezzmo/settings.xml file had a bad entry of a server which no longer existed. You can try renaming this file and then restart the addon and see if that fixes it or make a backup copy and remove the saved servers portion of this file. Either will determine whether this is the issue. if not just rename / copy toe old file back.

You champion, this was exactly the problem.

Sorry for not replying earlier, I had it set up to email me a notification when there was a reply, but unbeknownst to me it had gone to my spam folder and I didn't bother checking back here yet :eek:

I actually wish that I had seen the reply earlier, because a few days later I went to hell and back trying to fix it. I was having a few other network issues for some reason (I don't think I've set up my other router properly as an access point and was getting conflicting IP's). Spent a good few hours fixing that and finally setting a static IP for my RaspberryPi. Still didn't fix the Mezzmo problem however. So then I finally bit the bullet and done a fresh install of Kodi (this time going from Libreelec to OSMC). For some reason I was having a really hard time getting Samba to work so I could access files directly from the PC. That took another few hours. After that, I ended up going back to Libreelec and Samba worked fine straight away without having to sort anything else out.

So then I fired up Mezzmo and it loaded up straight away. So my issue was finally sorted thankfully... For about 5 days anyway. Then for whatever reason, it started loading up slow again and I was back to square one. So I hopped back on here, saw your reply and done exactly like you said (renamed the settings.xml). Fired up Mezzmo again and it booted up in about 2 seconds :D

So why it is doing this, I don't know? Either way, I'm happy that it's fixed. If it happens again, I'll try to take note of anything I've done. It's a very easy fix anyway. Thank you both for your replies, I appreciate it!

jbinkley60
01-09-2019, 12:06 AM
Peter,

This may be an opportunity to update the logic in the Mezzmo Addon. The problem occurs when Mezzmo is reinstalled and the connection string for the Mezzmo server changes due to the reinstallation and the addon continues to try the old server string.

Peter
01-09-2019, 08:59 AM
This problem would also occur if the server was not running

jbinkley60
01-09-2019, 11:53 AM
Excellent point. I never thought of that. I always have mine running ;)

ruslah
01-19-2019, 08:32 PM
Would there be anything else causing this at all? It's happened about 3 times since my last post. My PC (and therefore the Mezzmo server) has been running all day and I don't think I've turned off the Raspberry-Pi for at least a month. Just tried to start it then and it took about 3 minutes to start. Changing the settings.xml file name fixed it straight away. Something funny definitely going on. It's no drama at all really now that I know how to fix it, just a bit strange that's all.

Peter
01-21-2019, 09:01 AM
Please check to see if the IP of the PC running Mezzmo is changing, if it is then the plugin will not be able to connect to the server. You can try assigning a static IP address to the PC so that the IP address does not change.

ruslah
01-21-2019, 09:10 AM
Thank you, I will try that once the kids go to bed tonight.