No, Are there any concerns with it affecting my current TV Shows in the Kodi DB?
I wanted to check with you first, and make sure before I enable it.
Thanks Jeff.
Last edited by RonB; 08-13-2020 at 06:39 AM.
Mezzmo 6.0.7.0 - Mezzmo Kodi Matrix Plugin 2.1.7.7.
Nvidia Shield 2017
Windows 10 - Intel 6 core i5 - 24GB Ram - 129TB Storage
It shouldn't impact them because the Mezzmo addon checks for duplicates based upon series name, season and episode. Backup your Kodi database to be certain. Are the current TV shows in Mezzmo already in the Kodi database and show up in the addon in the actor search ? If so, what software is inserting them into the Kodi database ? Do you play them through Mezzmo and the addon ?
I've got a first cut of the background sync process working under Kodi 18. It is working pretty good. I want to do some tweaking on the logic and how often / how many Mezzmo records it syncs. I should have the Kodi 19 port done by Monday or sooner. It will require a Mezzmo patch to v6.0.5.0r which gives me a predefined playlist name to leverage for the sync process. You can request it from the support team.
Jeff
Last edited by jbinkley60; 08-13-2020 at 07:11 AM.
I'm not sure I understand the question, but I'll explain my setup.
I originally used Kodi for a front end for my PVR recorder, TV scheduler (NextPVR), Weather and of course the Mezzmo plugin.
But, after learning more about Kodi, I had it handle the TV shows, and Movies instead of Mezzmo, because the long
initial startup was driving me crazy. I had spoken with Mezzmo staff about the issue, and they suggested dividing the
Movies into smaller folders to speed loading time, as Mezzmo re-loads them every time you select that folder.
That helped, but there was still considerable lag. I was getting about 15 seconds to load 300 movies.
Now, I'm having Kodi access my servers folders via SMB shares using the same folder structure that Mezzmo has.
This keeps the look similar.
I would have much preferred to use Mezzmo, as it is much easier to have one central DB to monitor "watched lists" between
my other (Roku) devices, and IMO handles scraping better.
Mezzmo is also easier to maintain as far as backups, etc. Every time my Kodi DB gets messed up, it's a MAJOR hassle to fix.
So far your efforts are making the plug-in work better, and I think that the background syncing will help tremendously with the loading times.
I'll do a backup this weekend, and enable "Add TV Episodes to Kodi DB". I'll let you know if there are any issues.
Thanks for your effort, and I look forward to helping with testing.
Mezzmo 6.0.7.0 - Mezzmo Kodi Matrix Plugin 2.1.7.7.
Nvidia Shield 2017
Windows 10 - Intel 6 core i5 - 24GB Ram - 129TB Storage
Thanks Ron,
You answered my question with the SMB sharing and native importing into Kodi. I think the addon functionality will now likely replace what you have been doing with the Kodi native SMB approach. One thing you might consider is saving your current database off to another location (or just rename it), delete the current Kodi DB file MyVideos17.db file, enable TV shows in the addon and restart Kodi. This will allow you see what the TV shows look like natively in the addon through Mezzmo. There are a couple of pieces of functionality that Kodi has that I haven't fully replicated like genre searches because those can be done natively in Mezzmo.
I agree running everything through Mezzmo is better and gives you more flexibility and a central point of management. You also get things like sharing bookmarks across devices running Kodi so you can stop / pause a movie on one device and pick it up on another. I manage all of my TV shows, movies and videos through Mezzmo, including a ton of OTA recordings coming in through my HDHomrrun system. Mezzmo picks them up automatically and adds them to the Mezzmo database.
As for the background sync process, I finished coding it today.
Here's what I am planning to release in the next version. You'll note a nightly rebuild of the Kodi database from Mezzmo
Major rewrite of the code which adds Mezzmo artwork to the Kodi database.
2/3rds of the code was eliminated and functionality was added so that
the artwork will be updated when a Mezzmo metadata change is detected in
a video. Previously only a video codec change would cause the video
artwork to be updated.
Added background sync feature that syncs Kodi with Mezzmo.
- Syncs 400 most recently added Mezzmo videos on Kodi startup
- Syncs next 800 Mezzmo videos each hour until all videos are added and
then loops back through the Mezzmo database looking for new videos
and metadata changes.
- Kodi DB clear and resync of all Mezzmo data between midnight and 1AM
- Automatically disables real time updates after full synchronization
and leverages the background sync process to detect changes.
*** Important notes ***
- Mezzmo version 6.0.5.0r patch is required for sync capability.
Please request from support@conceiva.com
- The sync functionality does not honor Mezzmo playlist sharing
permissions and syncs all Mezzmo videos to Kodi regardless of
playlist permissions.
Feature feedback welcome. The next step is porting to the Kodi 19 code base.
Jeff
Last edited by jbinkley60; 08-14-2020 at 07:04 AM.
An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.0.9.5) and Kodi 19 beta
v2.0.0.0s) have been posted on GitHub. These versions contain significant enhancements
including the background sync process.
v1.0.9.5 Kodi 18
• Major rewrite of the code which adds Mezzmo artwork to the Kodi database.
2/3rds of the code was eliminated and functionality was added so that
the artwork will be updated when a Mezzmo metadata change is detected in
a video. Previously only a video codec change would cause the video
artwork to be updated.
• Added background sync feature that syncs Kodi with Mezzmo.
- Syncs 400 most recently added Mezzmo videos on Kodi startup
- Syncs next 800 Mezzmo videos each hour until all videos are added
and then loops back through the Mezzmo database looking for new
videos and metadata changes.
- Kodi DB clear and resync of all Mezzmo data between midnight and 1AM
- Automatically disables real time updates after full synchronization
and leverages the background sync process to detect changes.
*** Important notes ***
- Mezzmo version 6.0.5.0r patch is required for sync capability.
Please request from support@conceiva.com
- The sync functionality does not honor Mezzmo playlist sharing
permissions and syncs all Mezzmo videos to Kodi regardless of
playlist permissions.
v2.0.0.0s Kodi 19
• Major rewrite of the code which adds Mezzmo artwork to the Kodi database.
2/3rds of the code was eliminated and functionality was added so that
the artwork will be updated when a Mezzmo metadata change is detected in
a video. Previously only a video codec change would cause the video
artwork to be updated.
• Added background sync feature that syncs Kodi with Mezzmo.
- Syncs 400 most recently added Mezzmo videos on Kodi startup
- Syncs next 800 Mezzmo videos each hour until all videos are added
and then loops back through the Mezzmo database looking for new
videos and metadata changes.
- Kodi DB clear and resync of all Mezzmo data between midnight and 1AM
- Automatically disables real time updates after full synchronization
and leverages the background sync process to detect changes.
*** Important notes ***
- Mezzmo version 6.0.5.0r patch is required for sync capability.
Please request from support@conceiva.com
- The sync functionality does not honor Mezzmo playlist sharing
permissions and syncs all Mezzmo videos to Kodi regardless of
playlist permissions.
There are separate links for the Kodi 18 and Kodi 19 versions. The Kodi 19 version is based upon the
latest Kodi 18 v1.0.9.5 code.
Kodi 18 link
Kodi 19 link
Click on the download source as a zip option and then to add it to Kodi by using the install from zip file option.
These code releases are a major rewrite and restructuring of the addon code so
it is quite possible some new bugs were introduced. If you think you see odd
behavior or log messages please let me know.
Feedback and feature requests are always welcome.
Jeff
Last edited by jbinkley60; 08-16-2020 at 06:00 AM.
An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.0.9.6) and Kodi 19 beta
v2.0.0.0t) have been posted on GitHub. These versions contain a number of fixes and enhancements
database changes to address things seen with the new background sync processing.
Here's the list of enhancements and bug fixes:
v1.0.9.6 Kodi 18
• Fixed issue where sync process could run while a video was playing.
• Added feature to check on Kodi startup if the database is in sync
with Mezzmo and disable real time updating in the Kodi addon options
and leverage the background sync process to detect changes. If they
are not in sync real time updating remains enabled until sync occurs.
• Added feature to handle certain Kodi Linux clients which alternate
between IP address and DNS names for artwork and icon URLs. Previously
the addon would detect that as a change and update the Kodi database.
Now it can handle either format.
• Added Kodi database reindexing after the daily sync process in order
to maintain performance.
• Added Kodi log messages showing the number of Mezzmo records in the Kodi
database after each hourly sync process.
v2.0.0.0t Kodi 19
• Fixed issue where sync process could run while a video was playing.
• Added feature to check on Kodi startup if the database is in sync
with Mezzmo and disable real time updating in the Kodi addon options
and leverage the background sync process to detect changes. If they
are not in sync real time updating remains enabled until sync occurs.
• Added feature to handle certain Kodi Linux clients which alternate
between IP address and DNS names for artwork and icon URLs. Previously
the addon would detect that as a change and update the Kodi database.
Now it can handle either format.
• Added Kodi database reindexing after the daily sync process in order
to maintain performance.
• Added Kodi log messages showing the number of Mezzmo records in the Kodi
database after each hourly sync process.
There are separate links for the Kodi 18 and Kodi 19 versions. The Kodi 19 version is based upon the
latest Kodi 18 v1.0.9.6 code.
Kodi 18 link
Kodi 19 link
Click on the download source as a zip option and then to add it to Kodi by using the install from zip file option.
These releases should be the last changes for a bit unless a bug is reported. I tried to capture
all open issues and bugs with this release.
Feedback and feature requests are always welcome.
Jeff
Jeff,
I have installed version "s" and have noticed the following:
1.) Using "Mark as watched" in Kodi does not work consistently, and "mark as unwatched" does not work at all for me.
2.) Long delay (~10 seconds) when stopping a TV show when partially watched, or when it ends.
Also I'm getting a lot of the following errors in the log:
WARNING <general>: CPythonInvoker(85, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.mezzmo/default.py): the python script
"/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.mezzmo/default.py" has left several classes in memory that we couldn't clean up. The
classes include: N9XBMCAddon9xbmcaddon5AddonE
2020-08-17 12:51:55.948 T:31420 INFO <general>: Python interpreter stopped
2020-08-17 12:51:56.825 T:31382 ERROR
<general>: CCurlFile::Stat - Failed: Unsupported protocol(1) for http://192.168.1.102:53168/content/9...24E-4e59-8E9C-
A63F7B65F7E7zklzjpeg_tnzjpegzjpegz320z320z24zjl716 28xc547.jpg
2020-08-17 12:51:56.845 T:31382
I see you just recently updated, I'll give the latest release a try and let you know.
Thanks again for the effort!
Mezzmo 6.0.7.0 - Mezzmo Kodi Matrix Plugin 2.1.7.7.
Nvidia Shield 2017
Windows 10 - Intel 6 core i5 - 24GB Ram - 129TB Storage
Ron,
Thanks for the feedback. None of the errors you indicate should be caused by any of the recent code changes. I never use the mark watched and unwatched flags in Kodi so I'll have to do some testing there. Mezzmo tracks this by the % of a video which is watched based upon time and then updates when the percentage is reached. The addon does update the play count in Kpdi but none of that code has changed for quite some time. The CCurlFile file errors are something I am seeing on newer clients with more modern URL libraries. I think it has something to do with the HTTP calls to Mezzmo for artwork. I haven't had a chance to ask Peter about these. I see them on LibreElec but not on OSMC or Windows. One question, when playing files do you use the addon or the native Kodi interface ?
Thanks,
Jeff
Jeff,
I'm using the add-on to play the videos.
One thing I should mention. I'm using the Rapier skin, which is not listed in the Mezzmo add-on, but it seems to work fine.
In the add-on for View settings, they don't really function with my skin, but the views are natively showing as thumbnails.
I have had a few crashes, but this might be caused by Matrix being "Alpha".
Based on what I can tell from the logs, this is happening when I'm navigating through the add-on while it's updating the DB?
ETA: The watched list works as intended when I pause the Video, or when it's finished playing.
We'll see how the performance is after a few days. That should give Mezzmo, and the add-on time to sync up.
Thanks again!
Last edited by RonB; 08-18-2020 at 07:17 AM. Reason: Added info
Mezzmo 6.0.7.0 - Mezzmo Kodi Matrix Plugin 2.1.7.7.
Nvidia Shield 2017
Windows 10 - Intel 6 core i5 - 24GB Ram - 129TB Storage
Bookmarks