Results 1 to 10 of 327

Thread: Mezzmo Kodi Addon Update

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2017
    Posts
    62

    Default

    Quote Originally Posted by jbinkley60 View Post
    Thanks for the update. I see a typo in the log message above:

    2020-11-17 14:01:45.097 T:3754910528 DEBUG: EXCEPTION IN (/storage/.kodi/addons/plugin.video.mezzmo/resources/lib/mezzmo.py, LINE 717 "xbmc.log('Mezzmo items not displayed: ' + str(pitemsleft), xbmc.LOGDNOTICE)"): 'module' object has no attribute 'LOGDNOTICE'

    The code fix is working evidenced by:

    2020-11-17 14:06:19.313 T:3896554304 DEBUG: Mezzmo items left: 1
    2020-11-17 14:06:19.727 T:3896554304 DEBUG: Previous line repeats 1 times.

    It looped one time.

    I've uploaded 1.1.1.2b which fixes the log exception error above and will give you the correct log message. You won't need to run debug. Also, you can reenable the other options in the addon if you'd like. Everything should work now. I am especially curious of the background sync. It should work fine and uses slightly different code for retrieving and syncing your database. Thanks for reporting the error. If this test version works I will merge the fix into the mainline code.


    jeff
    I Updated to 1.1.1.2b and everything is still working great, I will let you know if I find any other issues, I cleared the kodi library and rebooted background sync seems to work from what I can tell.


    Thanks for the quick updates!

  2. #2
    Join Date
    Jun 2012
    Posts
    1,034

    Default

    Thanks. Can you verify you are seeing the proper error message in the logs when you browse the playlist which had been having issues ?

    Mezzmo items not displayed: 1

    And then can I see a sync event set of logs ? They will look something like:

    2020-11-17 18:23:19.903 T:20644 NOTICE: Mezzmo textures cache timers 0 rows updated.
    2020-11-17 18:23:19.911 T:20644 NOTICE: Mezzmo sync beginning.
    2020-11-17 18:23:29.974 T:20644 NOTICE: Mezzmo total Kodi DB record count: 11826
    2020-11-17 18:23:29.974 T:20644 NOTICE: Mezzmo total Mezzmo record count: 11826
    2020-11-17 18:23:29.979 T:20644 NOTICE: Mezzmo sync process in sync. Real time updates disabled.
    2020-11-17 18:23:29.981 T:20644 NOTICE: Mezzmo sync completed. 2000 videos in 0m 10s checked.

    They will appear hourly. These will let me know that everything is working properly.

    I appreciate your help.


    Jeff
    Last edited by jbinkley60; 11-18-2020 at 11:55 AM.

  3. #3
    Join Date
    Feb 2017
    Posts
    62

    Default

    Quote Originally Posted by jbinkley60 View Post
    Thanks. Can you verify you are seeing the proper error message in the logs when you browse the playlist which had been having issues ?

    Mezzmo items not displayed: 1

    And then can I see a sync event set of logs. They will look something like:

    2020-11-17 18:23:19.903 T:20644 NOTICE: Mezzmo textures cache timers 0 rows updated.
    2020-11-17 18:23:19.911 T:20644 NOTICE: Mezzmo sync beginning.
    2020-11-17 18:23:29.974 T:20644 NOTICE: Mezzmo total Kodi DB record count: 11826
    2020-11-17 18:23:29.974 T:20644 NOTICE: Mezzmo total Mezzmo record count: 11826
    2020-11-17 18:23:29.979 T:20644 NOTICE: Mezzmo sync process in sync. Real time updates disabled.
    2020-11-17 18:23:29.981 T:20644 NOTICE: Mezzmo sync completed. 2000 videos in 0m 10s checked.

    They will appear hourly. These will let me know that everything is working properly.

    I appreciate your help.


    Jeff

    Yeah the notice seems to work great now (no need for debug either).


    2020-11-17 17:11:02.307 T:3241141056 DEBUG: The movie name is: Zatoichi
    2020-11-17 17:11:02.308 T:3241141056 DEBUG: Mezzmo items left: 1
    2020-11-17 17:11:02.768 T:3241141056 DEBUG: Previous line repeats 1 times.
    2020-11-17 17:11:02.768 T:3241141056 NOTICE: Mezzmo items not displayed: 1
    2020-11-17 17:11:02.769 T:3241141056 WARNING: Attempt to use invalid handle 13
    2020-11-17 17:11:02.769 T:3241141056 WARNING: Previous line repeats 1 times.

    Here is the first sync log (after library clear and reboot.)

    2020-11-17 17:22:15.770 T:3738170176 NOTICE: Mezzmo textures cache timers 228 rows updated.
    2020-11-17 17:22:16.803 T:3738170176 NOTICE: Mezzmo sync beginning.
    2020-11-17 17:22:20.785 T:3738170176 NOTICE: Mezzmo checkDBpath parent path added: 57 http://10.0.0.29:53168/
    2020-11-17 17:22:20.977 T:3738170176 NOTICE: There was a Mezzmo streamdetails or artwork change detected: VID 20201102 142110
    2020-11-17 17:22:20.978 T:3738170176 NOTICE: Mezzmo streamdetails artwork rowcount = : 4
    2020-11-17 17:22:22.275 T:3738170176 NOTICE: There was a Mezzmo metadata change detected: Rogue
    2020-11-17 17:22:22.279 T:3738170176 NOTICE: There was a Mezzmo streamdetails or artwork change detected: Rogue
    2020-11-17 17:22:22.279 T:3738170176 NOTICE: Mezzmo streamdetails artwork rowcount = : 4
    2020-11-17 17:22:22.877 T:3738170176 NOTICE: There was a Mezzmo metadata change detected: Untitled
    2020-11-17 17:22:22.879 T:3738170176 NOTICE: There was a Mezzmo streamdetails or artwork change detected: Untitled
    2020-11-17 17:22:22.879 T:3738170176 NOTICE: Mezzmo streamdetails artwork rowcount = : 4
    2020-11-17 17:22:22.947 T:3738170176 NOTICE: There was a Mezzmo metadata change detected: Untitled
    2020-11-17 17:22:22.949 T:3738170176 NOTICE: There was a Mezzmo streamdetails or artwork change detected: Untitled
    2020-11-17 17:22:22.949 T:3738170176 NOTICE: Mezzmo streamdetails artwork rowcount = : 4
    2020-11-17 17:22:23.045 T:3738170176 NOTICE: There was a Mezzmo metadata change detected: Untitled
    2020-11-17 17:22:23.046 T:3738170176 NOTICE: There was a Mezzmo streamdetails or artwork change detected: Untitled
    2020-11-17 17:22:23.046 T:3738170176 NOTICE: Mezzmo streamdetails artwork rowcount = : 4
    2020-11-17 17:22:23.067 T:3738170176 NOTICE: There was a Mezzmo metadata change detected: Untitled
    2020-11-17 17:22:23.069 T:3738170176 NOTICE: There was a Mezzmo streamdetails or artwork change detected: Untitled
    2020-11-17 17:22:23.069 T:3738170176 NOTICE: Mezzmo streamdetails artwork rowcount = : 4
    2020-11-17 17:22:23.809 T:3738170176 NOTICE: There was a Mezzmo metadata change detected: GOPR0035
    2020-11-17 17:22:23.810 T:3738170176 NOTICE: There was a Mezzmo streamdetails or artwork change detected: GOPR0035
    2020-11-17 17:22:23.810 T:3738170176 NOTICE: Mezzmo streamdetails artwork rowcount = : 4
    2020-11-17 17:22:24.443 T:3738170176 NOTICE: Mezzmo total Kodi DB record count: 780
    2020-11-17 17:22:24.445 T:3738170176 NOTICE: Mezzmo total Mezzmo record count: 2615
    2020-11-17 17:22:24.480 T:3738170176 NOTICE: Mezzmo sync process not yet in sync. Real time updates enabled.
    2020-11-17 17:22:24.497 T:3738170176 NOTICE: Mezzmo sync completed. 400 videos in 0m 7s checked.
    here is some more sync logs, at first I was concerned it only had 780 records in the kodi db but as i let it idle for a hour or two it updated more records over time
    https://pastebin.com/EgBDU4FN

  4. #4
    Join Date
    Jun 2012
    Posts
    1,034

    Default

    Everything looks good. Yes, when you clear the database it will take up to 6 intervals (hours) to totally complete a database background sync. This is a safety precaution to avoid bogging down lower powered devices and potentially impact performance (or locking the database for extended periods of time). To make up for that real time updates are enabled. This means as you browse Mezzmo it will sync anything which hasn't been caught yet by the background processing. Once sync is achieved the addon disables real time syncing since it is no longer needed. This slightly improves browsing speed since database checking is eliminated once real time sync is disabled. The addon will do all of this automatically.

    The last thing the sync process does is once a day between midnight and 6AM it does a full resync. It clears the Mezzmo data from Kodi and rebuilds everything at one time and then disables real time syncing. It does this to get rid of old Mezzmo records which may have been deleted and ensures sync between Kodi and Mezzmo. If you have dupe checking enabled it will also tell you where you have duplicate entries in your Mezzmo database. I can see a few above in your logs. Typically they look like:

    2020-11-17 17:22:23.809 T:3738170176 NOTICE: There was a Mezzmo metadata change detected: GOPR0035
    2020-11-17 17:22:23.810 T:3738170176 NOTICE: There was a Mezzmo streamdetails or artwork change detected: GOPR0035
    2020-11-17 17:22:23.810 T:3738170176 NOTICE: Mezzmo streamdetails artwork rowcount = : 4

    It is saying it saw the same name twice GOPR0035 and either the metadata or the stream details (i.e. audio, video or container format) are different. The first time folks use the addon this is typical and after some cleanup it is a nice way to help keep your Mezzmo database clean.


    Jeff
    Last edited by jbinkley60; 11-18-2020 at 09:25 PM.

Similar Threads

  1. Addon for Kodi 18
    By Pendashy in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 11-20-2018, 07:59 AM
  2. KODI 17.6 and Mezzmo add-on
    By joe33067 in forum Mezzmo Questions and Support
    Replies: 6
    Last Post: 01-22-2018, 09:21 AM
  3. Mezzmo addon for Kodi
    By twochannel in forum Mezzmo Wish List and Feedback
    Replies: 7
    Last Post: 12-13-2016, 02:26 PM
  4. Mezzmo for KODI
    By AWSHO in forum Mezzmo Wish List and Feedback
    Replies: 1
    Last Post: 09-22-2016, 09:26 AM
  5. Mezzmo & Kodi - Plugin not seeing server but Kodi does
    By Roofus in forum Mezzmo Questions and Support
    Replies: 6
    Last Post: 08-05-2016, 08:43 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •