No I went straight to 19, in fact the system updated itself a week or so ago. Did my log file help at all?
Ian
No I went straight to 19, in fact the system updated itself a week or so ago. Did my log file help at all?
Ian
An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.1.1.9) and
Kodi v19 (v2.1.1.9) have been posted on GitHub. These versions contain a new
diagnostic feature where you can see statistics when you browse playlists which
will show how fast the Mezzmo server is responding and how fast your Kodi device
is processing the data. There's also a minor fix for the Kodi 19 version. Here's a
sample output for the new diagnostic feature:
Kodi on Intel NUC LibreElec
2021-03-13 14:56:09.725 T:140169445357312 NOTICE: Mezzmo stats: Playlist name is Recently Added
2021-03-13 14:56:09.725 T:140169445357312 NOTICE: Mezzmo stats: 0.71s server time 0.62s parsing time
2021-03-13 14:56:09.725 T:140169445357312 NOTICE: Mezzmo stats: 150 items displayed in 1.33s = 112.87 items/sec
Kodi on Raspberry Pi 4 LibreElec
2021-03-13 10:08:40.784 T:1921807216 NOTICE: Mezzmo stats: Playlist name is Recently Added
2021-03-13 10:08:40.784 T:1921807216 NOTICE: Mezzmo stats: 1.90s server time 2.26s parsing time
2021-03-13 10:08:40.784 T:1921807216 NOTICE: Mezzmo stats: 150 items displayed in 4.16s = 36.08 items/sec
v1.1.1.9 Kodi 18
• Added a setting to enable performance logging on playlists with
50 or more items. The total time to load a playlist, the playlist
items per second and the Mezzmo server response time will all be
logged to the Kodi logfile. Automatically disabled after the daily
sync to avoid bloating the Kodi logfile.
v2.1.1.9 Kodi 19
• Added a setting to enable performance logging on playlists with
50 or more items. The total time to load a playlist, the playlist
items per second and the Mezzmo server response time will all be
logged to the Kodi logfile. Automatically disabled after the daily
sync to avoid bloating the Kodi logfile.
• Fixed Kodi 18 style logging call introduced in version 2.0.0.0k .
There are separate links for the Kodi 18 and Kodi 19 versions. The Kodi 19 version is based upon the
latest Kodi 18 v1.1.1.9 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.
Feedback and feature requests are always welcome. I would like to understand how many of you use the
addon to play music from Mezzmo ? This could help guide future feature development.
Jeff
An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.1.2.0) and
Kodi v19 (v2.1.2.0) have been posted on GitHub. These versions contain a new
user requested feature to provide the ability to exclude syncing some Mezzmo
videos with the Kodi database. Examples might be home movies and others which
may not have metadata or you don't want to sync for some reason. I found this
a very helpful enhancement and have used it on a number of my Mezzmo videos.
v1.1.2.0 Kodi 18
• Added Kodi DB nosync feature. Adding a category named "nosync" to
a video file will keep it from being added to the Kodi database.
• Improved sync logging to show total number of Live Channels and
nosync videos along with the overall Mezzmo / Kodi sync percentage.
v2.1.2.0 Kodi 19
• Added Kodi DB nosync feature. Adding a category named "nosync" to
a video file will keep it from being added to the Kodi database.
• Improved sync logging to show total number of Live Channels and
nosync videos along with the overall Mezzmo / Kodi sync percentage.
There are separate links for the Kodi 18 and Kodi 19 versions. The Kodi 19 version is based upon the
latest Kodi 18 v1.1.2.0 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.
Many thanks to Ron B. for the nosync feature enhancement suggestion.
Feedback and feature requests are always welcome. I would like to understand how many of you use the
addon to play music from Mezzmo ? This could help guide future feature development.
Jeff
Clean install of v19 Kodi on Windows. Everything at the defaults, the v19 addon doesn't seem to work for me and I receive this error in the kodi log:
: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'UnboundLocalError'>
Error Contents: local variable 'contenturl' referenced before assignment
Traceback (most recent call last):
File "C:\Users\user\AppData\Roaming\Kodi\addons\plugin. video.mezzmo\default.py", line 12, in <module>
mezzmo.start()
File "C:\Users\user\AppData\Roaming\Kodi\addons\plugin. video.mezzmo\resources\lib\mezzmo.py", line 1308, in start
listServers(False)
File "C:\Users\user\AppData\Roaming\Kodi\addons\plugin. video.mezzmo\resources\lib\mezzmo.py", line 179, in listServers
media.kodiCleanDB(contenturl,'') # Call function to delete Kodi actor database if user enabled.
UnboundLocalError: local variable 'contenturl' referenced before assignment
-->End of Python script error report<--
This error appears to be caused by having the Kodi DB clear option selected in the addon settings before you have selected a Mezzmo server. Please make sure you uncheck the clear Kodi DB option and have selected a Mezzmo server. Note that if the background sync option is enabled it will do a clear database automatically each day. You might want to download the latest version of the addon which I just posted. I realized that the Mezzmo server icon might have been missing in the version you were running for a new installation.
Jeff
Last edited by jbinkley60; 03-24-2021 at 07:29 PM.
An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.1.2.1) and
Kodi v19 (v2.1.2.1) have been posted on GitHub. These versions contain a number
of bug fixes and new features.
v1.1.2.1 Kodi 18
• Fixed Kodi DB record count to only count Mezzmo records in the Kodi
database vs. all Kodi DB records
• Improved the last played time to include both the date and time vs.
only the date.
• Improved the premiered date to include both the date and year vs.
only the year.
• Added syncing the Mezzmo date_added field to the Kodi database so
that the native Kodi interface will match Mezzmo.
*** Note this feature requires a Mezzmo update. Please contact
Mezzmo support for the update ***
v2.1.2.1 Kodi 19
• Fixed a nosync and Live Channel count error introduced in v2.1.2.0
• Fixed issue where Kodi 19 service.autoexec function to automatically
start the addon would not work with newer Kodi builds like LibreElec
due to a default parsing parameter change in Python 3.8 and higher.
• Fixed missing Mezzmo server icons on new installation of the addon.
• Fixed Kodi DB record count to only count Mezzmo records in the Kodi
database vs. all Kodi DB records
• Improved the last played time to include both the date and time vs.
only the date.
• Improved the premiered date to include both the date and year vs.
only the year.
• Added syncing the Mezzmo date_added field to the Kodi database so
that the native Kodi interface will match Mezzmo.
*** Note this feature requires a Mezzmo update. Please contact
Mezzmo support for the update ***
There are separate links for the Kodi 18 and Kodi 19 versions. The Kodi 19 version is based upon the
latest Kodi 18 v1.1.2.1 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.
Note for those using the nosync feature to not sync some of your Mezzmo database to Kodi
you can request a Mezzmo update from support which has the ability to mark folders and
entire folder structures automatically with the nosync option when new files are added to
Mezzmo.
Also with Kodi 19 the old autoexec.py method to automatically start the addon has been
replaced with a service.autoexec method. I am considering adding the ability to be able to
bookmark a folder with an autostart flag and have the addon automatically go to that folder
on startup vs. manually creating the autoexec.py and service.autoexec methods. If there
is enough interest I'll look at how much coding would be needed.
Feedback and feature requests are always welcome. I would like to understand how many of you use the
addon to play music from Mezzmo ? This could help guide future feature development.
Jeff
Last edited by jbinkley60; 03-24-2021 at 07:47 PM.
An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.1.2.2) and
Kodi v19 (v2.1.2.2) has been posted on GitHub. These versions contain a bug
fix for Kodi 19 and an enhancement for tracking Mezzmo items that do not get
inserted into the Kodi database.
v1.1.2.2 Kodi 18
• Added a new separate nosync tracking database in Kodi to allow real
time tracking of nosync and Live Channels not written to the main
Kodi database. The new database name is Mezzmo10.db. Nosync and
Live channel log counters will now update with each hourly background
sync process.
v2.1.2.2 Kodi 19
• Fixed sync issue with LibreElec running on a Raspberry Pi 4 where a
few Mezzmo records would not be inserted into either the Kodi or new
Mezzmo10 databases.
• Added a new separate nosync tracking database in Kodi to allow real
time tracking of nosync and Live Channels not written to the main
Kodi database. The new database name is Mezzmo10.db. Nosync and
Live channel log counters will now update with each hourly background
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.1.2.2 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.
Note for those using the nosync feature to not sync some of your Mezzmo database to Kodi
you can request a Mezzmo update from support which has the ability to mark folders and
entire folder structures automatically with the nosync option when new files are added to
Mezzmo.
Also with Kodi 19 the old autoexec.py method to automatically start the addon has been
replaced with a service.autoexec method. I am considering adding the ability to be able to
bookmark a folder with an autostart flag and have the addon automatically go to that folder
on startup vs. manually creating the autoexec.py and service.autoexec methods. If there
is enough interest I'll look at how much coding would be needed.
Feedback and feature requests are always welcome. I would like to understand how many of you use the
addon to play music from Mezzmo ? This could help guide future feature development.
Jeff
Last edited by jbinkley60; 03-26-2021 at 10:52 PM.
By accident I have been able to reproduce this error. It is caused by the addon starting without finding any user selected Mezzmo servers. This line in particular:
media.kodiCleanDB(contenturl,'') # Call function to delete Kodi actor database if user enabled.
The contenturl is supposed to be your Mezzmo server. As long as your Kodi client can see your Mezzmo server and you have at some point saved the setting by selecting a Mezzmo server you can never get the error above. Since this was a clean installation and you probably hadn't ever selected a Mezzmo server, this is why the error occurred.
It is 2 lines of code to fix this and I have already tested it. I'll push it out with the next addon update, unless you need it sooner.
Thanks,
Jeff
An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.1.2.3) and
Kodi v19 (v2.1.2.3) has been posted on GitHub. These versions contain a couple
of bug fixes and an enhancement for automatically starting the Mezzmo addon
wherever you like with a single mouse click in the context menu. No more dealing
with the various ways Kodi handles autoexec across the different versions of Kodi.
If you use this feature make sure you disable any current autoexec start methods
for the addon.
v1.1.2.3 Kodi 18
• Fixed error condition if the addon tried to start and no Mezzmo servers
were found or selected.
• Fixed invalid handle messages in the Kodi logfile when browsing Mezzmo.
• Added autostart feature to allow you to mark / unmark a folder via the
context menu. A folder marked for autostart will cause the addon to
start the addon automatically and load that folder whenever Kodi is
restarted. You no longer need to deal with the various ways Kodi
handles autoexec.py or manually determining the path to a folder.
v2.1.2.3 Kodi 19
• Fixed error condition if the addon tried to start and no Mezzmo servers
were found or selected.
• Fixed invalid handle messages in the Kodi logfile when browsing Mezzmo.
• Added autostart feature to allow you to mark / unmark a folder via the
context menu. A folder marked for autostart will cause the addon to
start the addon automatically and load that folder whenever Kodi is
restarted. You no longer need to deal with the various ways Kodi
handles autoexec.py or manually determining the path to a folder.
There are separate links for the Kodi 18 and Kodi 19 versions. The Kodi 19 version is based upon the
latest Kodi 18 v1.1.2.3 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.
Feedback and feature requests are always welcome. I would like to understand how many of you use the
addon to play music from Mezzmo ? This could help guide future feature development.
Jeff
Bookmarks