Page 11 of 33 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 325

Thread: Mezzmo Kodi Addon Update

  1. #101
    Join Date
    Feb 2017
    Posts
    60

    Default

    Quote Originally Posted by jbinkley60 View Post
    Here's the issue from the debug logs:

    2020-11-16 20:02:25.895 T:3484304192 DEBUG: Mezzmo items left: 1
    2020-11-16 20:04:38.153 T:3635372864 DEBUG: Previous line repeats 426 times.

    The addon has 1 item that it is unable to load and so it goes into a loop, which it normally breaks out of when the number of items is 0.

    Can you try debug again but this time enable the Kodi DB actor information copy and Kodi DB change Detection options ? This should tell us which movie it is hanging on or where it is stopping.


    Thanks,

    Jeff
    This movie is the actual last in my library, no other apparent errors, it doesn't specify what the remaining item is, though I am pretty sure it's a sub-folder.

    http://10.0.0.29:53168/content/9lFC4...52326x4385.jpg
    2020-11-17 04:24:52.602 T:3189764928 DEBUG: The movie name is: Zatoichi
    2020-11-17 04:24:52.602 T:3189764928 DEBUG: Mezzmo items left: 1
    2020-11-17 04:25:46.695 T:3635372864 DEBUG: Previous line repeats 160 times.
    Can you try to make a file folder structure like this, it seems to be when a sub folder has the same name on each share that causes it to break, for example if I remove "TV Series" from the Y:\ drive (or the other one) the folder will work fine on kodi, once I add it back it goes into the loop again

    Capture.JPG
    Capture2.JPG
    Capture3.JPG
    Capture4.JPG
    (in mezzmo it seems to merge the 2 folders fine, but maybe somehow causes a glitch in kodi?)
    (add some movies in each folder)
    Last edited by odin; 11-17-2020 at 10:54 PM.

  2. #102
    Join Date
    Jun 2012
    Posts
    987

    Default

    Quote Originally Posted by odin View Post
    This movie is the actual last in my library, no other apparent errors, it doesn't specify what the remaining item is, though I am pretty sure it's a sub-folder.



    Can you try to make a file folder structure like this, it seems to be when a sub folder has the same name on each share that causes it to break, for example if I remove "TV Series" from the Y:\ drive (or the other one) the folder will work fine on kodi, once I add it back it goes into the loop again

    Capture.JPG
    Capture2.JPG
    Capture3.JPG
    Capture4.JPG
    (in mezzmo it seems to merge the 2 folders fine, but maybe somehow causes a glitch in kodi?)
    (add some movies in each folder)
    I've added some loop detection code which will stop the loop if 2 consecutive iterations show that no new items are added. This will account for any situations where the items retuned counter doesn't match the number of items displayed.

    Can you try the test code at this link ?

    If it works properly then you'll see a message in the logs like:

    Mezzmo items not displayed: 1

    The version number is 1.1.1.2a .


    Thanks,

    Jeff

  3. #103
    Join Date
    Feb 2017
    Posts
    60

    Default

    Quote Originally Posted by jbinkley60 View Post
    I've added some loop detection code which will stop the loop if 2 consecutive iterations show that no new items are added. This will account for any situations where the items retuned counter doesn't match the number of items displayed.

    Can you try the test code at this link ?

    If it works properly then you'll see a message in the logs like:

    Mezzmo items not displayed: 1

    The version number is 1.1.1.2a .


    Thanks,

    Jeff
    It seems to work correctly now, no longer shows busy, the sub-folder also shows and it appears to list all the content.

    2020-11-17 14:06:19.312 T:3896554304 DEBUG: The movie name is: Zatoichi
    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.
    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'
    2020-11-17 14:01:45.098 T:3754910528 WARNING: Attempt to use invalid handle 7
    2020-11-17 14:01:45.098 T:3754910528 WARNING: Previous line repeats 1 times.
    2020-11-17 14:01:45.098 T:3754910528 INFO: CPythonInvoker(31, /storage/.kodi/addons/plugin.video.mezzmo/default.py): script successfully run
    2020-11-17 14:01:45.098 T:3754910528 DEBUG: onExecutionDone(31, /storage/.kodi/addons/plugin.video.mezzmo/default.py)
    2020-11-17 14:01:45.272 T:3513283392 DEBUG: Thread waiting 3513283392 terminating
    2020-11-17 14:01:45.277 T:4088978880 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
    2020-11-17 14:01:45.279 T:4088978880 DEBUG: Saving fileitems [plugin://plugin.video.mezzmo/?contentdirectory=http%3a%2f%2f10.0.0.29%3a53168%2 fContentDirectory%2fcontrol&mode=server&objectID=t az1l0z4l2l1&parentID=0]
    2020-11-17 14:01:45.363 T:4088978880 DEBUG: -- items: 1018, sort method: 0, ascending: false
    2020-11-17 14:01:45.423 T:3513283392 DEBUG: Thread BackgroundLoader start, auto delete: false
    2020-11-17 14:01:45.448 T:3513283392 INFO: easy_acquire - Created session to http://10.0.0.29
    2020-11-17 14:01:45.504 T:3224154944 DEBUG: Thread JobWorker start, auto delete: true
    2020-11-17 14:01:45.506 T:3224154944 INFO: easy_acquire - Created session to http://10.0.0.29
    2020-11-17 14:01:45.568 T:3754910528 INFO: Python interpreter stopped
    2020-11-17 14:01:45.568 T:3754910528 DEBUG: Thread LanguageInvoker 3754910528 terminating
    2020-11-17 14:01:45.628 T:3513283392 DEBUG: CCurlFile::GetMimeType - http://10.0.0.29:53168/content/9lFC4...52268x5bcc.jpg -> image/jpeg
    2020-11-17 14:01:45.630 T:3513283392 ERROR: CCurlFile::Stat - Failed: Unsupported protocol(1) for http://10.0.0.29:53168/content/9lFC4...52269x60a7.jpg
    2020-11-17 14:01:45.631 T:3513283392 DEBUG: CCurlFile::GetMimeType - http://10.0.0.29:53168/content/9lFC4...52269x60a7.jpg -> failed
    2020-11-17 14:01:45.632 T:3754910528 DEBUG: Thread JobWorker start, auto delete: true

  4. #104
    Join Date
    Jun 2012
    Posts
    987

    Default

    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
    Last edited by jbinkley60; 11-18-2020 at 08:16 AM.

  5. #105
    Join Date
    Feb 2017
    Posts
    60

    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!

  6. #106
    Join Date
    Jun 2012
    Posts
    987

    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 10:55 AM.

  7. #107
    Join Date
    Feb 2017
    Posts
    60

    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

  8. #108
    Join Date
    Jun 2012
    Posts
    987

    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 08:25 PM.

  9. #109
    Join Date
    Jun 2012
    Posts
    987

    Default

    An updated version of the Mezzmo Kodi addon for both Kodi v18 (v1.1.1.3) and Kodi 19 beta
    v2.0.0.1j) have been posted on GitHub. These versions contain a bug fix.

    Here's the list of enhancements and bug fixes:


    v1.1.1.3 Kodi 18

    • Fixed an issue where the addon could go into a loop if there was
    a mismatch with the number of items it was attempting to retrieve
    from Mezzmo.


    v2.0.0.1k Kodi 19

    • Fixed an issue where the addon could go into a loop if there was
    a mismatch with the number of items it was attempting to retrieve
    from Mezzmo.



    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.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. My thanks to Odin for identifying the bug
    fixed in these releases. I would like to understand how many of you use the addon to play music
    from Mezzmo ? This could help guide future development.




    Jeff

  10. #110
    Join Date
    Feb 2017
    Posts
    60

    Default

    I think I found another issue, I don't know if it's fixable though, when the mezzmo kodi plugin populates the movie library screen (most recent , movies, watch random ..etc), I found it doesn't include the subtitles (external) to the movie, to play the subtiles for the movie I have to go all the way into addons- mezzmo - mezzmo - movies (find the movie) and play it from here then it will include the subtitles for the movie I am playing..

    I hope this makes sense

Similar Threads

  1. Addon for Kodi 18
    By Pendashy in forum Mezzmo Questions and Support
    Replies: 5
    Last Post: 11-20-2018, 06: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, 08:21 AM
  3. Mezzmo addon for Kodi
    By twochannel in forum Mezzmo Wish List and Feedback
    Replies: 7
    Last Post: 12-13-2016, 01:26 PM
  4. Mezzmo for KODI
    By AWSHO in forum Mezzmo Wish List and Feedback
    Replies: 1
    Last Post: 09-22-2016, 08: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, 07: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
  •