Jump to content

Sync Not Working


Recommended Posts

Posted

Just updated to the latest version and attempting a database reset however receiving an error. Log is attached. Let me know if anything else is needed. Thanks

kodi.log

Posted

After some playing around, the problem appears to be with music syncing. If music is disabled it works fine.

  • Like 1
Posted

Same problems here  :(

Posted

Switch to the Emby Stable repo, version 1.1.13 of the Emby add-on is still working for me and music sync after resetting the local database. 

Posted

I'm using Kodi 16 so stable isnt an option. I am using the new beta server plugin which has resolved the majority of the issues now that it isnt re-syncing all the time.

Posted

I've also found that Music is not getting synced in the beta builds, I even created a user with access to only music and tried to sync in Kodi with no results. I can post logs if needed.

xnappo
Posted

Yes.  Post a log.

 

The OPs problem is actually something with boxsets - just look like music because that is the last thing before music.

Posted

I created a user with access only to music and no other media.

 

See screenshot, sync get stuck here for a while.

 

55c037f2c7ce9_EmbyKodiMusicSync.jpg

 

I've attached the kodi.log with and without the debug set in the Emby plugin

 

Emby Server: 3.0.5693.21228

Emby Plugin: 1.1.24

kodi.log

kodi-emby_debug.log

Angelblue05
Posted

We are looking into it, thanks :)

  • Like 1
Angelblue05
Posted (edited)

@@Oxide

 

Can you try something? In the add-on folder inside %appdata%\Roaming\Kodi\addons\plugin.video.emby\resources\lib\ open in notepad DownloadUtils.py

 

Line 30 there is this line

timeout = 30

Change the value to 60 and restart Kodi. Let me know if it then lets you sync your music songs.

Edited by Angelblue05
Posted

After the edit it's now getting stuck on Processing Music Albums instead of Processing Music Artists

 

55c046cf2e6c2_ProcessingMusicAlbums.jpg

kodi.log

  • Like 1
Angelblue05
Posted (edited)

I'm just thinking the number of items that we query from the server is just too large...we will need to review the music queries to handle the larger number of items. I do not have this problem with music, it scans in everything, but I also have like 1500 songs. :)

Edited by Angelblue05
  • Like 1
Angelblue05
Posted (edited)

Can @@Oxide @@cw-kid or anyone having trouble syncing music, try this custom build? Just install over the current version, let music sync run and let me know if it completes.

 

I've inserted a limit of pulling 200 songs per call (and doing multiple calls instead) to the server so it's able to respond faster (I also temporarily increased the timeout value to 60 seconds, to give the server a better chance to respond within that time)

 

Edit: We will go from there :)

Edited by Angelblue05
  • Like 1
Posted

Thanks that build is working, although it does seem to get stuck at Processing Music Albums for a few minutes, then flies through the Songs.

kodi.log

  • Like 1
Angelblue05
Posted (edited)

Ok that's pretty good news, I will apply the same limit for albums and artists too then. :)

 

Edit: It might be a bit slow between sections (album and songs for example) because we are pulling all the songs from your server during that time so that's what the wait is for, but hopefully it will be able to complete in a reasonable amount of time.

Edited by Angelblue05
  • Like 1
Posted (edited)

Will try the new build and report back.

Edited by cw-kid
  • Like 1
Posted

Can also confirm version 1.1.25 of the Emby add-on now completes the initial sync OK and the music library is functional again. On a large music collection like mine the sync appears to get stuck on "Music Albums" 99% for like 20 minutes but it does eventually move on to process the "Music Songs" and then completes OK. 

Subsequent startup syncs also have this long delay but its working!

 

So fingers crossed the music sync issues are now sorted again. 

 

Thanks to the Devs for their hard working getting to the bottom of it.  :) 

 

Now to try the new fast incremental sync plug-in! 

  • Like 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...