Jump to content

Music Videos inside Kodi's Movie view


xbmcgotham

Recommended Posts

xbmcgotham

Hi @Angelblue05

 

I cant get the following to be fixed.

 

In emby the music videos are added as music videos and movies as movies. Both show up separate withing emby GUI interface.

 

However when using emby for kodi, the music videos are put in the same view as the movies.

 

This is not correct as they should be viewed only within kodi's music video section.

 

How to fix this?

 

Thanks

Link to comment
Share on other sites

Angelblue05

What type of library in Emby did you set in for your music videos ?

 

I have a test library for music videos and don't have this issue. My music videos show up under music videos in Kodi.

Edited by Angelblue05
Link to comment
Share on other sites

Angelblue05

Really strange.

 

Just to make sure, can you try doing a reset of your local database (launching the emby add-on > reset local database).

Save the log from when everything resyncs to kodi and provide that if the issue is not corrected.

 

I've seen these type of issues when we receive the added event from the server before the media type is properly assigned. I believe that value defaults to movie and this happens. I think I'll modify the logic to ignore added events and only work off updated events when everything should be properly set.

 

Keep me posted.

Edited by Angelblue05
Link to comment
Share on other sites

xbmcgotham

I agree.

 

However I had already reinstalled kodi and added the emby libraries again as I thought something might have gone wrong with the initial scraping by emby

 

I also had done a local db reset, but no change.

 

Is it still needed to do the local db reset and provide you with log?

 

If it is something in the add-on, when could this be updated in the code? Or is there a manual fix I could do on my end?

Link to comment
Share on other sites

Angelblue05

Ok so you've tried resetting since? Never mind then...

 

Enable debug in the add-on settings > advanced (no Kodi debug). In the webclient, select one of the music videos > 3 dots menu > edit info > Save. Wait a minute, then provide that Kodi log. Thank you.

Edited by Angelblue05
Link to comment
Share on other sites

xbmcgotham

Good morning @@Angelblue05

 

Please find below the log. Let me know if you need anything else.

 

 

09:54:57.822 T:5984  NOTICE: EMBY.kodimonitor -> New log level: 2
09:55:42.115 T:4484  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"LibraryChanged","Data":{"FoldersAddedTo":[],"FoldersRemovedFrom":[],"ItemsAdded":[],"ItemsRemoved":[],"ItemsUpdated":["b6de523771aa21eea3e997fe9c6d1106"],"CollectionFolders":[]}}
09:55:42.115 T:4484  NOTICE: EMBY.librarysync -> Queue update: [u'b6de523771aa21eea3e997fe9c6d1106']
09:55:42.442 T:624  NOTICE: EMBY.database -> opened: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\emby.db - 445629024
09:55:42.442 T:624  NOTICE: EMBY.database -> Verifying emby DB
09:55:42.449 T:624  NOTICE: EMBY.database -> opened: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\MyVideos107.db - 468289392
09:55:42.459 T:624  NOTICE: EMBY.database -> opened: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\MyMusic60.db - 435831536
09:55:42.468 T:624  NOTICE: EMBY.artwork -> DEBUG:: image cache thread count: 25
09:55:42.492 T:4776  NOTICE: Previous line repeats 1 times.
09:55:42.492 T:4776  NOTICE: EMBY.downloadutils -> DEBUG:: ===== ENTER downloadUrl =====
09:55:42.492 T:4776  NOTICE: EMBY.downloadutils -> DEBUG:: {'url': 'http://XXX:8096/emby/Users/751cc484ddd443fb8e33ba583ead1eff/Items?format=json''json': None, 'params': {'Fields': 'Path,Genres,SortName,Studios,Writer,ProductionYear,Taglines,CommunityRating,OfficialRating,CumulativeRunTimeTicks,Metascore,AirTime,DateCreated,MediaStreams,People,Overview,CriticRating,CriticRatingSummary,Etag,ShortOverview,ProductionLocations,Tags,ProviderIds,ParentId,RemoteTrailers,SpecialEpisodeNumbers,MediaSources,VoteCount', 'Ids': u'b6de523771aa21eea3e997fe9c6d1106'}, 'timeout': 30}
09:55:42.515 T:4776  NOTICE: EMBY.downloadutils -> DEBUG:: ====== 200 Success ======
09:55:42.515 T:4776  NOTICE: EMBY.downloadutils -> DEBUG:: Response: {u'Items': [{u'Genres': [], u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 24.0000916, u'Width': 1920, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'DisplayTitle': u'1080P H264', u'Language': u'und', u'NalLengthSize': u'4', u'CodecTimeBase': u'261749/12564000', u'RealFrameRate': 24, u'CodecTag': u'avc1', u'Level': 40, u'RefFrames': 1, u'TimeBase': u'1/1000', u'BitRate': 2539745, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 1080, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'BitDepth': 8, u'IsExternal': False}, {u'Profile': u'LC', u'IsInterlaced': False, u'DisplayTitle': u'Und AAC stereo Default', u'CodecTag': u'mp4a', u'Language': u'und', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'aac', u'ChannelLayout': u'stereo', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/44100', u'IsAnamorphic': False, u'TimeBase': u'1/44100', u'SampleRate': 44100, u'BitRate': 125062, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Container': u'mov,mp4,m4a,3gp,3g2,mj2', u'LocationType': u'FileSystem', u'LocalTrailerCount': 0, u'IsHD': True, u'Etag': u'543b6ca4c9f21c87d81daf7a932499c0', u'RemoteTrailers': [], u'AspectRatio': u'', u'Type': u'Movie', u'ServerId': u'bf41675ced204d67b8c0d24cc91f4d76', u'SortName': u'0000000003 doors down  when you re young', u'Tags': [], u'ProductionLocations': [], u'IsFolder': False, u'ProviderIds': {}, u'Path': u'\\\\XXX\\media\\VIDEOS\\Music\\OTHER\\3 Doors Down - When You re Young.mp4', u'BackdropImageTags': [], u'Name': u'3 Doors Down - When You re Young', u'MediaType': u'Video', u'Taglines': [], u'ParentId': u'02a67d9c19d965a22a9d5056f68d0667', u'MediaSources': [{u'SupportsDirectStream': True, u'Container': u'mp4', u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 1, u'SupportsDirectPlay': True, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 24.0000916, u'Width': 1920, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'DisplayTitle': u'1080P H264', u'Language': u'und', u'NalLengthSize': u'4', u'CodecTimeBase': u'261749/12564000', u'RealFrameRate': 24, u'CodecTag': u'avc1', u'Level': 40, u'RefFrames': 1, u'TimeBase': u'1/1000', u'BitRate': 2539745, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 1080, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'BitDepth': 8, u'IsExternal': False}, {u'Profile': u'LC', u'IsInterlaced': False, u'DisplayTitle': u'Und AAC stereo Default', u'CodecTag': u'mp4a', u'Language': u'und', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'aac', u'ChannelLayout': u'stereo', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/44100', u'IsAnamorphic': False, u'TimeBase': u'1/44100', u'SampleRate': 44100, u'BitRate': 125062, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'\\\\XXX\\media\\VIDEOS\\Music\\OTHER\\3 Doors Down - When You re Young.mp4', u'RequiresOpening': False, u'Bitrate': 2670409, u'IsRemote': False, u'Name': u'3 Doors Down - When You re Young.mp4', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'GenPtsInput': False, u'VideoType': u'VideoFile', u'ETag': u'7d2ac1af947e9d1d5ea1a26f7e56e8aa', u'RunTimeTicks': 2617479936L, u'SupportsProbing': True, u'Id': u'b6de523771aa21eea3e997fe9c6d1106'}], u'UserData': {u'PlayCount': 0, u'Key': u'b6de5237-71aa-21ee-a3e9-97fe9c6d1106', u'PlaybackPositionTicks': 0, u'IsFavorite': False, u'Played': False}, u'Studios': [], u'People': [], u'Overview': u'', u'DateCreated': u'2012-12-08T00:29:13.0000000Z', u'VideoType': u'VideoFile', u'ImageTags': {u'Primary': u'd839e366ef8bbb4b23fb0a4abd20deff'}, u'RunTimeTicks': 2617479936L, u'GenreItems': [], u'Id': u'b6de523771aa21eea3e997fe9c6d1106'}], u'TotalRecordCount': 1}
09:55:42.519 T:4484  NOTICE: EMBY.websocket_client -> Message: {"MessageType":"UserUpdated","Data":{"Name":"HomeTheater","ServerId":"bf41675ced204d67b8c0d24cc91f4d76","Id":"751cc484ddd443fb8e33ba583ead1eff","HasPassword":true,"HasConfiguredPassword":true,"HasConfiguredEasyPassword":false,"LastLoginDate":"2018-02-11T20:50:04.8250000Z","LastActivityDate":"2018-02-12T09:55:42.5060000Z","Configuration":{"PlayDefaultAudioTrack":true,"DisplayMissingEpisodes":false,"GroupedFolders":[],"SubtitleMode":"Default","DisplayCollectionsView":false,"EnableLocalPassword":false,"OrderedViews":[],"LatestItemsExcludes":[],"HidePlayedInLatest":true,"RememberAudioSelections":true,"RememberSubtitleSelections":true,"EnableNextEpisodeAutoPlay":true},"Policy":{"IsAdministrator":false,"IsHidden":false,"IsDisabled":false,"BlockedTags":[],"EnableUserPreferenceAccess":true,"AccessSchedules":[],"BlockUnratedItems":[],"EnableRemoteControlOfOtherUsers":false,"EnableSharedDeviceControl":true,"EnableLiveTvManagement":true,"EnableLiveTvAccess":true,"EnableMediaPlayback":true,"EnableAudioPlaybackTranscoding":true,"EnableVideoPlaybackTranscoding":true,"EnablePlaybackRemuxing":true,"EnableContentDeletion":false,"EnableContentDeletionFromFolders":[],"EnableContentDownloading":true,"EnableSyncTranscoding":true,"EnabledDevices":[],"EnableAllDevices":true,"EnabledChannels":[],"EnableAllChannels":true,"EnabledFolders":[],"EnableAllFolders":true,"InvalidLoginAttemptCount":0,"EnablePublicSharing":false,"RemoteClientBitrateLimit":0}}}
09:55:42.521 T:624  NOTICE: EMBY.objects._common -> DEBUG:: Processing update: [{u'Genres': [], u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 24.0000916, u'Width': 1920, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'DisplayTitle': u'1080P H264', u'Language': u'und', u'NalLengthSize': u'4', u'CodecTimeBase': u'261749/12564000', u'RealFrameRate': 24, u'CodecTag': u'avc1', u'Level': 40, u'RefFrames': 1, u'TimeBase': u'1/1000', u'BitRate': 2539745, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 1080, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'BitDepth': 8, u'IsExternal': False}, {u'Profile': u'LC', u'IsInterlaced': False, u'DisplayTitle': u'Und AAC stereo Default', u'CodecTag': u'mp4a', u'Language': u'und', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'aac', u'ChannelLayout': u'stereo', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/44100', u'IsAnamorphic': False, u'TimeBase': u'1/44100', u'SampleRate': 44100, u'BitRate': 125062, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Container': u'mov,mp4,m4a,3gp,3g2,mj2', u'LocationType': u'FileSystem', u'LocalTrailerCount': 0, u'IsHD': True, u'Etag': u'543b6ca4c9f21c87d81daf7a932499c0', u'RemoteTrailers': [], u'AspectRatio': u'', u'Type': u'Movie', u'ServerId': u'bf41675ced204d67b8c0d24cc91f4d76', u'SortName': u'0000000003 doors down  when you re young', u'Tags': [], u'ProductionLocations': [], u'IsFolder': False, u'ProviderIds': {}, u'Path': u'\\\\XXX\\media\\VIDEOS\\Music\\OTHER\\3 Doors Down - When You re Young.mp4', u'BackdropImageTags': [], u'Name': u'3 Doors Down - When You re Young', u'MediaType': u'Video', u'Taglines': [], u'ParentId': u'02a67d9c19d965a22a9d5056f68d0667', u'MediaSources': [{u'SupportsDirectStream': True, u'Container': u'mp4', u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 1, u'SupportsDirectPlay': True, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 24.0000916, u'Width': 1920, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'DisplayTitle': u'1080P H264', u'Language': u'und', u'NalLengthSize': u'4', u'CodecTimeBase': u'261749/12564000', u'RealFrameRate': 24, u'CodecTag': u'avc1', u'Level': 40, u'RefFrames': 1, u'TimeBase': u'1/1000', u'BitRate': 2539745, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 1080, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'BitDepth': 8, u'IsExternal': False}, {u'Profile': u'LC', u'IsInterlaced': False, u'DisplayTitle': u'Und AAC stereo Default', u'CodecTag': u'mp4a', u'Language': u'und', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'aac', u'ChannelLayout': u'stereo', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/44100', u'IsAnamorphic': False, u'TimeBase': u'1/44100', u'SampleRate': 44100, u'BitRate': 125062, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'\\\\XXX\\media\\VIDEOS\\Music\\OTHER\\3 Doors Down - When You re Young.mp4', u'RequiresOpening': False, u'Bitrate': 2670409, u'IsRemote': False, u'Name': u'3 Doors Down - When You re Young.mp4', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'GenPtsInput': False, u'VideoType': u'VideoFile', u'ETag': u'7d2ac1af947e9d1d5ea1a26f7e56e8aa', u'RunTimeTicks': 2617479936L, u'SupportsProbing': True, u'Id': u'b6de523771aa21eea3e997fe9c6d1106'}], u'UserData': {u'PlayCount': 0, u'Key': u'b6de5237-71aa-21ee-a3e9-97fe9c6d1106', u'PlaybackPositionTicks': 0, u'IsFavorite': False, u'Played': False}, u'Studios': [], u'People': [], u'Overview': u'', u'DateCreated': u'2012-12-08T00:29:13.0000000Z', u'VideoType': u'VideoFile', u'ImageTags': {u'Primary': u'd839e366ef8bbb4b23fb0a4abd20deff'}, u'RunTimeTicks': 2617479936L, u'GenreItems': [], u'Id': u'b6de523771aa21eea3e997fe9c6d1106'}]
09:55:42.521 T:624  NOTICE: EMBY.objects.movies -> movieid: 1815 fileid: 1824 pathid: 10
09:55:42.525 T:624  NOTICE: EMBY.downloadutils -> DEBUG:: ===== ENTER downloadUrl =====
09:55:42.525 T:624  NOTICE: EMBY.downloadutils -> DEBUG:: {'url': u'http://XXX:8096/emby/Items/b6de523771aa21eea3e997fe9c6d1106/Ancestors?UserId=751cc484ddd443fb8e33ba583ead1eff&format=json''json': None, 'params': None, 'timeout': 30}
09:55:42.800 T:624  NOTICE: EMBY.downloadutils -> DEBUG:: ====== 200 Success ======
09:55:42.801 T:624  NOTICE: EMBY.downloadutils -> DEBUG:: Response: [{u'Genres': [], u'CanDelete': False, u'LocationType': u'FileSystem', u'ParentId': u'37c0444de3ee99446e819cc1a248bad9', u'CanDownload': False, u'ExternalUrls': [], u'Etag': u'f291574f33664768044f8b3d895b5468', u'ScreenshotImageTags': [], u'RemoteTrailers': [], u'ServerId': u'bf41675ced204d67b8c0d24cc91f4d76', u'Type': u'Folder', u'SortName': u'other', u'PlayAccess': u'Full', u'Tags': [], u'IsFolder': True, u'LockedFields': [], u'ProviderIds': {}, u'DisplayPreferencesId': u'02a67d9c19d965a22a9d5056f68d0667', u'Path': u'\\\\XXX\\media\\VIDEOS\\Music\\OTHER', u'BackdropImageTags': [], u'Name': u'OTHER', u'LockData': False, u'Taglines': [], u'SupportsSync': True, u'PrimaryImageAspectRatio': 1.78571428571429, u'ChildCount': 220, u'UserData': {u'IsFavorite': False, u'Played': False, u'PlayedPercentage': 0, u'UnplayedItemCount': 220, u'PlaybackPositionTicks': 0, u'Key': u'02a67d9c-19d9-65a2-2a9d-5056f68d0667', u'PlayCount': 0}, u'Studios': [], u'People': [], u'DateCreated': u'2016-02-03T15:17:10.8230414Z', u'ImageTags': {u'Primary': u'f46010ba33f2676457e9712b4dc4be48'}, u'GenreItems': [], u'RecursiveItemCount': 220, u'Id': u'02a67d9c19d965a22a9d5056f68d0667'}, {u'Genres': [], u'CanDelete': False, u'LocationType': u'FileSystem', u'ParentId': u'e9d5075a555c1cbc394eec4cef295274', u'CanDownload': False, u'ExternalUrls': [], u'Etag': u'629479b6f88e584693fb45a14f2365fe', u'ScreenshotImageTags': [], u'RemoteTrailers': [], u'ServerId': u'bf41675ced204d67b8c0d24cc91f4d76', u'Type': u'CollectionFolder', u'SortName': u'music videos', u'PlayAccess': u'Full', u'Tags': [], u'IsFolder': True, u'LockedFields': [], u'ProviderIds': {}, u'DisplayPreferencesId': u'e2c00f297a5f80af390f52f72e782147', u'Path': u'C:\\Users\\XXX\\AppData\\Roaming\\Emby-Server\\programdata\\root\\default\\Music Videos', u'BackdropImageTags': [], u'Name': u'Music Videos', u'CollectionType': u'movies', u'LockData': False, u'Taglines': [], u'SupportsSync': True, u'PrimaryImageAspectRatio': 1.77777777777778, u'ChildCount': 9, u'UserData': {u'PlayCount': 0, u'Key': u'e2c00f29-7a5f-80af-390f-52f72e782147', u'PlaybackPositionTicks': 0, u'IsFavorite': False, u'Played': False}, u'Studios': [], u'People': [], u'DateCreated': u'2018-02-01T10:36:13.9934000Z', u'ImageTags': {u'Primary': u'2a5a48b261c64ae74f83791e2df91ea9'}, u'GenreItems': [], u'Id': u'e2c00f297a5f80af390f52f72e782147'}, {u'Genres': [], u'CanDelete': False, u'LocationType': u'FileSystem', u'CanDownload': False, u'ExternalUrls': [], u'Etag': u'a8d1dee162f06ef16cbf8d10ddaea72d', u'ScreenshotImageTags': [], u'RemoteTrailers': [], u'ServerId': u'bf41675ced204d67b8c0d24cc91f4d76', u'Type': u'UserRootFolder', u'SortName': u'media folders', u'PlayAccess': u'Full', u'Tags': [], u'IsFolder': True, u'LockedFields': [], u'ProviderIds': {}, u'DisplayPreferencesId': u'b21ccc945ed35ac08c3b35d5de9e71f3', u'Path': u'C:\\Users\\XXX\\AppData\\Roaming\\Emby-Server\\programdata\\root\\default', u'BackdropImageTags': [], u'Name': u'Media Folders', u'LockData': False, u'Taglines': [], u'SupportsSync': True, u'ChildCount': 23, u'UserData': {u'PlayCount': 0, u'Key': u'e9d5075a-555c-1cbc-394e-ec4cef295274', u'PlaybackPositionTicks': 0, u'IsFavorite': False, u'Played': False}, u'Studios': [], u'People': [], u'DateCreated': u'2018-01-08T11:11:56.8606000Z', u'ImageTags': {}, u'GenreItems': [], u'Id': u'e9d5075a555c1cbc394eec4cef295274'}]
09:55:42.802 T:624  NOTICE: EMBY.objects.movies -> DEBUG:: View tag found: Music Videos
09:55:42.802 T:624  NOTICE: EMBY.objects.movies -> UPDATE movie itemid: b6de523771aa21eea3e997fe9c6d1106 - Title: 3 Doors Down - When You re Young
09:55:42.816 T:624  NOTICE: EMBY.objects._kodi_common -> DEBUG:: Adding Tags: [u'Music Videos']
09:55:42.817 T:624  NOTICE: EMBY.database -> closing: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\MyMusic60.db - 435831536
09:55:42.818 T:624  NOTICE: EMBY.database -> number of rows updated: 12
09:55:43.080 T:624  NOTICE: EMBY.database -> commit: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\MyVideos107.db
09:55:43.080 T:624  NOTICE: EMBY.database -> closing: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\MyVideos107.db - 468289392
09:55:43.081 T:624  NOTICE: EMBY.database -> number of rows updated: 1
09:55:43.156 T:624  NOTICE: EMBY.database -> commit: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\emby.db
09:55:43.156 T:624  NOTICE: EMBY.database -> closing: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\emby.db - 445629024
09:55:43.156 T:624  NOTICE: EMBY.librarysync -> Updating emby database.
09:55:43.157 T:624  NOTICE: EMBY.librarysync -> DEBUG:: An exception occurred: Fast sync server plugin is not enabled.
09:55:43.157 T:624  NOTICE: EMBY.librarysync -> New sync time: client time -2 min: 2018-02-12T09:53:43Z
09:55:43.165 T:624  NOTICE: EMBY.librarysync -> Updating video library.
09:55:43.213 T:5380  NOTICE: VideoInfoScanner: Starting scan ..
09:55:43.252 T:5984  NOTICE: EMBY.kodimonitor -> DEBUG:: Kodi library scan video running
09:55:43.252 T:5984  NOTICE: EMBY.kodimonitor -> Method: VideoLibrary.OnScanStarted Data: null
09:55:43.305 T:5380  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:00
09:55:43.353 T:5984  NOTICE: EMBY.kodimonitor -> Kodi library scan video finished
09:55:43.353 T:5984  NOTICE: EMBY.kodimonitor -> Method: VideoLibrary.OnScanFinished Data: null

 

I also noticed "09:55:43.157 T:624  NOTICE: EMBY.librarysync -> DEBUG:: An exception occurred: Fast sync server plugin is not enabled."

But as you can see in screenshots, its enabled in both emby as kodi.

 

Not sure if related, but kodi and emby server running on same PC but for some reason the loading of the images and info is slow compared to normal kodi usage. Is this related and can I make it faster?

 

5a816701cda20_PluginsMozillaFirefox.jpg

5a816710269af_Kodi_2.jpg

  • Like 1
Link to comment
Share on other sites

Angelblue05

Interesting about the fast sync. Well I can't tell because the beginning of the log is missing. Can you provide that?

 

But yes, not having the fast sync would cause a slow delay when starting up because it would fall back to a manual sync.

 

For your music videos:

 


 

 

Processing update: [{u'Genres': [], u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 24.0000916, u'Width': 1920, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'DisplayTitle': u'1080P H264', u'Language': u'und', u'NalLengthSize': u'4', u'CodecTimeBase': u'261749/12564000', u'RealFrameRate': 24, u'CodecTag': u'avc1', u'Level': 40, u'RefFrames': 1, u'TimeBase': u'1/1000', u'BitRate': 2539745, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 1080, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'BitDepth': 8, u'IsExternal': False}, {u'Profile': u'LC', u'IsInterlaced': False, u'DisplayTitle': u'Und AAC stereo Default', u'CodecTag': u'mp4a', u'Language': u'und', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'aac', u'ChannelLayout': u'stereo', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/44100', u'IsAnamorphic': False, u'TimeBase': u'1/44100', u'SampleRate': 44100, u'BitRate': 125062, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Container': u'mov,mp4,m4a,3gp,3g2,mj2', u'LocationType': u'FileSystem', u'LocalTrailerCount': 0, u'IsHD': True, u'Etag': u'543b6ca4c9f21c87d81daf7a932499c0', u'RemoteTrailers': [], u'AspectRatio': u'', u'Type': u'Movie', u'ServerId': u'bf41675ced204d67b8c0d24cc91f4d76', u'SortName': u'0000000003 doors down  when you re young', u'Tags': [], u'ProductionLocations': [], u'IsFolder': False, u'ProviderIds': {}, u'Path': u'\\\\XXX\\media\\VIDEOS\\Music\\OTHER\\3 Doors Down - When You re Young.mp4', u'BackdropImageTags': [], u'Name': u'3 Doors Down - When You re Young', u'MediaType': u'Video', u'Taglines': [], u'ParentId': u'02a67d9c19d965a22a9d5056f68d0667', u'MediaSources': [{u'SupportsDirectStream': True, u'Container': u'mp4', u'RequiresClosing': False, u'IgnoreDts': False, u'IgnoreIndex': False, u'DefaultAudioStreamIndex': 1, u'SupportsDirectPlay': True, u'MediaStreams': [{u'IsInterlaced': False, u'Index': 0, u'AverageFrameRate': 24.0000916, u'Width': 1920, u'Codec': u'h264', u'IsForced': False, u'AspectRatio': u'16:9', u'Type': u'Video', u'IsTextSubtitleStream': False, u'Profile': u'High', u'DisplayTitle': u'1080P H264', u'Language': u'und', u'NalLengthSize': u'4', u'CodecTimeBase': u'261749/12564000', u'RealFrameRate': 24, u'CodecTag': u'avc1', u'Level': 40, u'RefFrames': 1, u'TimeBase': u'1/1000', u'BitRate': 2539745, u'IsDefault': True, u'IsAnamorphic': False, u'SupportsExternalStream': False, u'Height': 1080, u'IsAVC': True, u'PixelFormat': u'yuv420p', u'BitDepth': 8, u'IsExternal': False}, {u'Profile': u'LC', u'IsInterlaced': False, u'DisplayTitle': u'Und AAC stereo Default', u'CodecTag': u'mp4a', u'Language': u'und', u'Index': 1, u'Type': u'Audio', u'IsForced': False, u'Level': 0, u'Channels': 2, u'Codec': u'aac', u'ChannelLayout': u'stereo', u'SupportsExternalStream': False, u'CodecTimeBase': u'1/44100', u'IsAnamorphic': False, u'TimeBase': u'1/44100', u'SampleRate': 44100, u'BitRate': 125062, u'IsTextSubtitleStream': False, u'IsDefault': True, u'IsExternal': False}], u'Type': u'Default', u'ReadAtNativeFramerate': False, u'RequiresLooping': False, u'Path': u'\\\\XXX\\media\\VIDEOS\\Music\\OTHER\\3 Doors Down - When You re Young.mp4', u'RequiresOpening': False, u'Bitrate': 2670409, u'IsRemote': False, u'Name': u'3 Doors Down - When You re Young.mp4', u'RequiredHttpHeaders': {}, u'SupportsTranscoding': True, u'Formats': [], u'Protocol': u'File', u'IsInfiniteStream': False, u'GenPtsInput': False, u'VideoType': u'VideoFile', u'ETag': u'7d2ac1af947e9d1d5ea1a26f7e56e8aa', u'RunTimeTicks': 2617479936L, u'SupportsProbing': True, u'Id': u'b6de523771aa21eea3e997fe9c6d1106'}], u'UserData': {u'PlayCount': 0, u'Key': u'b6de5237-71aa-21ee-a3e9-97fe9c6d1106', u'PlaybackPositionTicks': 0, u'IsFavorite': False, u'Played': False}, u'Studios': [], u'People': [], u'Overview': u'', u'DateCreated': u'2012-12-08T00:29:13.0000000Z', u'VideoType': u'VideoFile', u'ImageTags': {u'Primary': u'd839e366ef8bbb4b23fb0a4abd20deff'}, u'RunTimeTicks': 2617479936L, u'GenreItems': [], u'Id': u'b6de523771aa21eea3e997fe9c6d1106'}]

 

For some reason, the Type is reported as Movie and that is the problem. Something is wrong with your structure, even if it belongs to the music videos library, Emby considers it Type Movie instead of MusicVideo. Once it reports correctly, then everything should fall into place moving forward (you'd need to do a reset of your local database in Kodi to rectified the already messed up entries).

 

@@Luke

 

Not sure where to begin troubleshooting this.

Edited by Angelblue05
Link to comment
Share on other sites

xbmcgotham

By the beginning of the log, do you mean this part?

21:05:07.154 T:5700  NOTICE: special://profile/ is mapped to: special://masterprofile/
21:05:07.154 T:5700  NOTICE: -----------------------------------------------------------------------
21:05:07.154 T:5700  NOTICE: Starting Kodi (17.6 Git:20171114-a9a7a20). Platform: Windows NT x86 32-bit
21:05:07.154 T:5700  NOTICE: Using Release Kodi x32 build
21:05:07.154 T:5700  NOTICE: Kodi compiled Dec 10 2017 by MSVC 190024215 for Windows NT x86 32-bit version 10.0 (0x0A000000)
21:05:07.154 T:5700  NOTICE: Running on Acer Aspire X3200 with Windows 7 SP1, kernel: Windows NT x86 32-bit version 6.1
21:05:07.173 T:5700  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi
21:05:07.173 T:5700  NOTICE: Host CPU: Unknown, 2 cores available
21:05:07.173 T:5700  NOTICE: Desktop Resolution: 1920x1080 32Bit at 59Hz
21:05:07.173 T:5700  NOTICE: Running with restricted rights
21:05:07.173 T:5700  NOTICE: Aero is enabled
21:05:07.173 T:5700  NOTICE: special://xbmc/ is mapped to: C:\Program Files\Kodi
21:05:07.173 T:5700  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files\Kodi
21:05:07.173 T:5700  NOTICE: special://xbmcbinaddons/ is mapped to: C:\Program Files\Kodi/addons
21:05:07.173 T:5700  NOTICE: special://masterprofile/ is mapped to: C:\Users\XXX\AppData\Roaming\Kodi\userdata
21:05:07.173 T:5700  NOTICE: special://home/ is mapped to: C:\Users\XXX\AppData\Roaming\Kodi\
21:05:07.173 T:5700  NOTICE: special://temp/ is mapped to: C:\Users\XXX\AppData\Roaming\Kodi\cache
21:05:07.173 T:5700  NOTICE: special://logpath/ is mapped to: C:\Users\XXX\AppData\Roaming\Kodi\
21:05:07.173 T:5700  NOTICE: The executable running is: C:\Program Files\Kodi\kodi.exe
21:05:07.192 T:5700  NOTICE: Local hostname: Emby-Server
21:05:07.192 T:5700  NOTICE: Log File is located: C:\Users\XXX\AppData\Roaming\Kodi\/kodi.log
21:05:07.192 T:5700  NOTICE: -----------------------------------------------------------------------
21:05:07.638 T:5700  NOTICE: load settings...
21:05:07.688 T:5700 WARNING: CSettingString: unknown options filler "timezonecountries" of "locale.timezonecountry"
21:05:07.688 T:5700 WARNING: CSettingString: unknown options filler "timezones" of "locale.timezone"
21:05:07.710 T:5700  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
21:05:07.710 T:5700  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
21:05:07.710 T:5700  NOTICE: Default Video Player: VideoPlayer
21:05:07.710 T:5700  NOTICE: Default Audio Player: paplayer
21:05:07.710 T:5700  NOTICE: Disabled debug logging due to GUI setting. Level 0.
21:05:07.710 T:5700  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
21:05:07.710 T:5700  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
21:05:07.711 T:5700  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
21:05:07.725 T:5700  NOTICE: Loaded playercorefactory configuration
21:05:07.725 T:5700  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
21:05:07.725 T:5700  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
21:05:07.747 T:5700  NOTICE: Running database version Addons27
21:05:08.015 T:5700  NOTICE: ADDONS: Using repository repository.xbmc.org
21:05:08.015 T:5700  NOTICE: ADDONS: Using repository repository.emby.kodi
21:05:08.110 T:5060  NOTICE: CAESinkWASAPI::EnumerateDevicesEx: stream type "STREAM_TYPE_DTSHD" on device "NVIDIA HDMI Out (NVIDIA High Definition Audio)" seems to be not supported.
21:05:08.114 T:5060  NOTICE: CAESinkWASAPI::EnumerateDevicesEx: stream type "STREAM_TYPE_TRUEHD" on device "NVIDIA HDMI Out (NVIDIA High Definition Audio)" seems to be not supported.
21:05:08.121 T:5060  NOTICE: CAESinkWASAPI::EnumerateDevicesEx: stream type "STREAM_TYPE_EAC3" on device "NVIDIA HDMI Out (NVIDIA High Definition Audio)" seems to be not supported.
21:05:08.171 T:5060  NOTICE: CAESinkWASAPI::EnumerateDevicesEx: stream type "STREAM_TYPE_DTS" on device "NVIDIA HDMI Out (NVIDIA High Definition Audio)" seems to be not supported.
21:05:08.173 T:5060  NOTICE: CAESinkWASAPI::EnumerateDevicesEx: stream type "STREAM_TYPE_AC3" on device "NVIDIA HDMI Out (NVIDIA High Definition Audio)" seems to be not supported.
21:05:08.185 T:5060  NOTICE: CAESinkWASAPI::EnumerateDevicesEx: sample rate 192khz on device "NVIDIA HDMI Out (NVIDIA High Definition Audio)" seems to be not supported.
21:05:08.214 T:5060  NOTICE: Found 2 Lists of Devices
21:05:08.214 T:5060  NOTICE: Enumerated DIRECTSOUND devices:
21:05:08.214 T:5060  NOTICE:     Device 1
21:05:08.214 T:5060  NOTICE:         m_deviceName      : {F8B1D54F-4C64-4A2D-9161-BBBF26936D9F}
21:05:08.214 T:5060  NOTICE:         m_displayName     : HDMI - NVIDIA HDMI Out (NVIDIA High Definition Audio)
21:05:08.214 T:5060  NOTICE:         m_displayNameExtra: DIRECTSOUND: NVIDIA HDMI Out (NVIDIA High Definition Audio)
21:05:08.214 T:5060  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
21:05:08.214 T:5060  NOTICE:         m_channels        : FL,FR
21:05:08.214 T:5060  NOTICE:         m_sampleRates     : 48000
21:05:08.214 T:5060  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_RAW
21:05:08.214 T:5060  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
21:05:08.214 T:5060  NOTICE:     Device 2
21:05:08.214 T:5060  NOTICE:         m_deviceName      : default
21:05:08.214 T:5060  NOTICE:         m_displayName     : default
21:05:08.214 T:5060  NOTICE:         m_displayNameExtra:
21:05:08.214 T:5060  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
21:05:08.214 T:5060  NOTICE:         m_channels        : FL,FR
21:05:08.214 T:5060  NOTICE:         m_sampleRates     : 48000
21:05:08.214 T:5060  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_RAW
21:05:08.214 T:5060  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
21:05:08.214 T:5060  NOTICE:     Device 3
21:05:08.214 T:5060  NOTICE:         m_deviceName      : {FDB1CFD7-2D2E-4626-885F-D395104DC62B}
21:05:08.214 T:5060  NOTICE:         m_displayName     : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
21:05:08.214 T:5060  NOTICE:         m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (2- High Definition Audio Device)
21:05:08.214 T:5060  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
21:05:08.214 T:5060  NOTICE:         m_channels        : FL,FR
21:05:08.214 T:5060  NOTICE:         m_sampleRates     : 44100
21:05:08.214 T:5060  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_RAW
21:05:08.214 T:5060  NOTICE:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512
21:05:08.214 T:5060  NOTICE: Enumerated WASAPI devices:
21:05:08.215 T:5060  NOTICE:     Device 1
21:05:08.215 T:5060  NOTICE:         m_deviceName      : {F8B1D54F-4C64-4A2D-9161-BBBF26936D9F}
21:05:08.215 T:5060  NOTICE:         m_displayName     : HDMI - NVIDIA HDMI Out (NVIDIA High Definition Audio)
21:05:08.215 T:5060  NOTICE:         m_displayNameExtra: WASAPI: NVIDIA HDMI Out (NVIDIA High Definition Audio)
21:05:08.215 T:5060  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
21:05:08.215 T:5060  NOTICE:         m_channels        : FL,FR
21:05:08.215 T:5060  NOTICE:         m_sampleRates     : 192000,48000,44100
21:05:08.215 T:5060  NOTICE:         m_dataFormats     : AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_RAW
21:05:08.215 T:5060  NOTICE:         m_streamTypes     : STREAM_TYPE_DTSHD,STREAM_TYPE_TRUEHD,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
21:05:08.215 T:5060  NOTICE:     Device 2
21:05:08.215 T:5060  NOTICE:         m_deviceName      : default
21:05:08.215 T:5060  NOTICE:         m_displayName     : default
21:05:08.215 T:5060  NOTICE:         m_displayNameExtra:
21:05:08.215 T:5060  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
21:05:08.215 T:5060  NOTICE:         m_channels        : FL,FR
21:05:08.215 T:5060  NOTICE:         m_sampleRates     : 192000,48000,44100
21:05:08.215 T:5060  NOTICE:         m_dataFormats     : AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_RAW
21:05:08.215 T:5060  NOTICE:         m_streamTypes     : STREAM_TYPE_DTSHD,STREAM_TYPE_TRUEHD,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
21:05:08.215 T:5060  NOTICE:     Device 3
21:05:08.215 T:5060  NOTICE:         m_deviceName      : {FDB1CFD7-2D2E-4626-885F-D395104DC62B}
21:05:08.215 T:5060  NOTICE:         m_displayName     : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
21:05:08.215 T:5060  NOTICE:         m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (2- High Definition Audio Device)
21:05:08.215 T:5060  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
21:05:08.215 T:5060  NOTICE:         m_channels        : FL,FR
21:05:08.215 T:5060  NOTICE:         m_sampleRates     : 192000,96000,88200,48000,44100
21:05:08.215 T:5060  NOTICE:         m_dataFormats     : AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_RAW
21:05:08.215 T:5060  NOTICE:         m_streamTypes     : STREAM_TYPE_DTSHD,STREAM_TYPE_TRUEHD,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_512,STREAM_TYPE_AC3
21:05:08.466 T:5700  NOTICE: Found screen: Generic PnP Monitor on NVIDIA GeForce 9200  , adapter 0.
21:05:08.466 T:5700  NOTICE: Primary mode: 1920x1080@ 59.94 - Full Screen
21:05:08.466 T:5700  NOTICE: Additional mode: 640x480@ 60.00 - Full Screen
21:05:08.467 T:5700  NOTICE: Additional mode: 640x480@ 72.00 - Full Screen
21:05:08.467 T:5700  NOTICE: Additional mode: 640x480@ 75.00 - Full Screen
21:05:08.467 T:5700  NOTICE: Additional mode: 720x480@ 60.00 - Full Screen
21:05:08.467 T:5700  NOTICE: Additional mode: 720x480@ 59.94 - Full Screen
21:05:08.467 T:5700  NOTICE: Additional mode: 720x576@ 50.00 - Full Screen
21:05:08.467 T:5700  NOTICE: Additional mode: 800x600@ 60.00 - Full Screen
21:05:08.468 T:5700  NOTICE: Additional mode: 800x600@ 72.00 - Full Screen
21:05:08.468 T:5700  NOTICE: Additional mode: 800x600@ 75.00 - Full Screen
21:05:08.468 T:5700  NOTICE: Additional mode: 1024x768@ 60.00 - Full Screen
21:05:08.468 T:5700  NOTICE: Additional mode: 1024x768@ 70.00 - Full Screen
21:05:08.468 T:5700  NOTICE: Additional mode: 1024x768@ 75.00 - Full Screen
21:05:08.468 T:5700  NOTICE: Additional mode: 1152x864@ 75.00 - Full Screen
21:05:08.469 T:5700  NOTICE: Additional mode: 1176x664@ 50.00 - Full Screen
21:05:08.469 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.469 T:5700  NOTICE: Additional mode: 1176x664@ 60.00 - Full Screen
21:05:08.469 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.469 T:5700  NOTICE: Additional mode: 1176x664@ 59.94 - Full Screen
21:05:08.470 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.470 T:5700  NOTICE: Additional mode: 1280x720@ 50.00 - Full Screen
21:05:08.470 T:5700  NOTICE: Additional mode: 1280x720@ 60.00 - Full Screen
21:05:08.470 T:5700  NOTICE: Additional mode: 1280x720@ 59.94 - Full Screen
21:05:08.470 T:5700  NOTICE: Additional mode: 1280x768@ 60.00 - Full Screen
21:05:08.471 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.471 T:5700  NOTICE: Additional mode: 1280x800@ 60.00 - Full Screen
21:05:08.471 T:5700  NOTICE: Additional mode: 1280x960@ 60.00 - Full Screen
21:05:08.472 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.472 T:5700  NOTICE: Additional mode: 1280x960@ 75.00 - Full Screen
21:05:08.472 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.472 T:5700  NOTICE: Additional mode: 1280x1024@ 60.00 - Full Screen
21:05:08.472 T:5700  NOTICE: Additional mode: 1280x1024@ 75.00 - Full Screen
21:05:08.472 T:5700  NOTICE: Additional mode: 1360x768@ 60.00 - Full Screen
21:05:08.473 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.473 T:5700  NOTICE: Additional mode: 1366x768@ 60.00 - Full Screen
21:05:08.473 T:5700  NOTICE: Additional mode: 1600x900@ 60.00 - Full Screen
21:05:08.473 T:5700  NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
21:05:08.474 T:5700  NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
21:05:08.474 T:5700  NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
21:05:08.474 T:5700  NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
21:05:08.474 T:5700  NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
21:05:08.474 T:5700  NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
21:05:08.474 T:5700  NOTICE: Additional mode: 1680x1050@ 59.94 - Full Screen
21:05:08.475 T:5700  NOTICE: Additional mode: 1680x1050@ 60.00 - Full Screen
21:05:08.475 T:5700  NOTICE: Additional mode: 1768x992@ 25.00i - Full Screen
21:05:08.475 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.475 T:5700  NOTICE: Additional mode: 1768x992@ 30.00i - Full Screen
21:05:08.476 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.476 T:5700  NOTICE: Additional mode: 1768x992@ 29.97i - Full Screen
21:05:08.476 T:5700  NOTICE: Previous line repeats 2 times.
21:05:08.476 T:5700  NOTICE: Additional mode: 1920x1080@ 60.00 - Full Screen
21:05:08.476 T:5700  NOTICE: Additional mode: 1920x1080@ 59.94 - Full Screen
21:05:08.477 T:5700  NOTICE: Additional mode: 1920x1080@ 25.00i - Full Screen
21:05:08.477 T:5700  NOTICE: Additional mode: 1920x1080@ 30.00i - Full Screen
21:05:08.477 T:5700  NOTICE: Additional mode: 1920x1080@ 29.97i - Full Screen
21:05:08.477 T:5700  NOTICE: Additional mode: 1920x1080@ 50.00 - Full Screen
21:05:08.477 T:5700  NOTICE: Additional mode: 1920x1080@ 24.00 - Full Screen
21:05:08.477 T:5700  NOTICE: Additional mode: 1920x1080@ 23.98 - Full Screen
21:05:08.478 T:5700  NOTICE: Additional mode: 1920x1080@ 25.00 - Full Screen
21:05:08.478 T:5700  NOTICE: Additional mode: 1920x1080@ 30.00 - Full Screen
21:05:08.478 T:5700  NOTICE: Additional mode: 1920x1080@ 29.97 - Full Screen
21:05:08.498 T:5700  NOTICE: Additional mode: 1440x900@ 60.00 - Full Screen
21:05:08.499 T:5700  NOTICE: Checking resolution 16
21:05:10.826 T:5928  NOTICE: Running database version Addons27
21:05:10.830 T:5928  NOTICE: Running database version ViewModes6
21:05:10.838 T:5928  NOTICE: Running database version Textures13
21:05:10.941 T:5928  NOTICE: Running database version MyMusic60
21:05:10.947 T:5928  NOTICE: Running database version MyVideos107
21:05:10.989 T:5928  NOTICE: Running database version TV29
21:05:11.004 T:5928  NOTICE: Running database version Epg11
21:05:11.507 T:3692   ERROR: AddOnLog: Joystick Support: Device "Sony Interactive Entertainment Wireless Controller": can't find <controller> tag
21:05:11.546 T:3692  NOTICE: PERIPHERALS::CPeripheralAddon::Register - new joystick device registered on addon->peripheral.joystick/0: Xbox 360-compatible controller
21:05:11.736 T:5700 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
21:05:11.934 T:5700  NOTICE: initialize done
21:05:11.934 T:5700  NOTICE: Running the application...
21:05:11.937 T:5700  NOTICE: CWebServer[8080]: Started
21:05:11.937 T:5700  NOTICE: starting upnp client
21:05:11.951 T:4272  NOTICE: ES: Starting UDP Event server on port 9777
21:05:11.951 T:4272  NOTICE: UDP: Listening on port 9777 (ipv6 : false)
21:05:14.028 T:5984  NOTICE: EMBY.service -> Delaying emby startup by: 0 sec...
21:05:14.037 T:5984  NOTICE: EMBY.service_entry -> ======== START EMBY ========
21:05:14.037 T:5984  NOTICE: EMBY.service_entry -> Python Version: 2.7.13 (default, Jul 13 2017, 20:56:54) [MSC v.1900 32 bit (Intel)]
21:05:14.049 T:5984  NOTICE: EMBY.service_entry -> Platform: Windows
21:05:14.049 T:5984  NOTICE: EMBY.service_entry -> KODI Version: 17.6 Git:20171114-a9a7a20
21:05:14.049 T:5984  NOTICE: EMBY.service_entry -> EMBY Version: 2.3.62a
21:05:14.054 T:5984  NOTICE: EMBY.service_entry -> Using plugin paths: True
21:05:14.054 T:5984  NOTICE: EMBY.service_entry -> Log Level: 1
21:05:14.054 T:5984  NOTICE: EMBY.views -> Clearing nodes properties.
21:05:14.055 T:5984  NOTICE: EMBY.service_entry -> Loading existing views...
21:05:14.059 T:5984  NOTICE: EMBY.connectionmanager -> Begin ConnectionManager constructor
21:05:14.060 T:5984  NOTICE: EMBY.connectionmanager -> Begin connect
21:05:14.060 T:5984  NOTICE: EMBY.connectionmanager -> Begin getAvailableServers
21:05:14.061 T:5984  NOTICE: EMBY.credentials -> credentials initialized with: {u'Servers': [{u'Name': u'EMBY-SERVER', u'AccessToken': u'b82d850068d54638ba2f1a2a530591b6', u'RemoteAddress': u'http://91.142.235.14:8096', u'UserId': u'751cc484ddd443fb8e33ba583ead1eff', u'LocalAddress': u'http://XXX:8096', u'DateLastAccessed': u'2018-02-11T20:50:05Z', u'LastConnectionMode': 2, u'Id': u'bf41675ced204d67b8c0d24cc91f4d76', u'Users': [{u'IsSignedInOffline': True, u'Id': u'751cc484ddd443fb8e33ba583ead1eff'}]}]}
21:05:14.061 T:5984  NOTICE: EMBY.connectionmanager -> Begin getConnectServers
21:05:15.066 T:5984  NOTICE: EMBY.connectionmanager -> Found Servers: [{u'Name': u'EMBY-SERVER', u'Id': u'bf41675ced204d67b8c0d24cc91f4d76', u'Address': u'http://XXX:8096'}]
21:05:15.070 T:5984  NOTICE: EMBY.credentials -> credentialsupdated
21:05:15.071 T:5984  NOTICE: EMBY.connectionmanager -> Begin connectToServers, with 1 servers
21:05:15.071 T:5984  NOTICE: EMBY.connectionmanager -> begin connectToServer
21:05:15.071 T:5984  NOTICE: EMBY.connectionmanager -> beginning connection tests
21:05:15.071 T:5984  NOTICE: EMBY.connectionmanager -> testing connection mode 2 with server EMBY-SERVER
21:05:15.071 T:5984  NOTICE: EMBY.connectionmanager -> tryConnect url: http://XXX:8096/emby/system/info/public
21:05:15.150 T:5984  NOTICE: EMBY.connectionmanager -> ConnectionManager response status: 200
21:05:15.150 T:5984  NOTICE: EMBY.connectionmanager -> calling onSuccessfulConnection with connection mode 2 with server EMBY-SERVER
21:05:15.586 T:5984  NOTICE: EMBY.connectionmanager -> ConnectionManager response status: 200
21:05:15.601 T:5984  NOTICE: Previous line repeats 1 times.
21:05:15.601 T:5984  NOTICE: EMBY.credentials -> credentialsupdated
21:05:15.601 T:5984  NOTICE: EMBY.connectionmanager -> resolving connectToServers with result['State']: {'ConnectUser': None, 'State': 3, 'Servers': [{u'Name': u'EMBY-SERVER', u'AccessToken': u'b82d850068d54638ba2f1a2a530591b6', u'RemoteAddress': u'http://91.142.235.14:8096', u'UserId': u'751cc484ddd443fb8e33ba583ead1eff', 'WakeOnLanInfos': [{'MacAddress': u'00-FF-60-1D-5F-1D'}], u'LocalAddress': u'http://XXX:8096', u'DateLastAccessed': '2018-02-11T21:05:15Z', u'LastConnectionMode': 2, u'Id': u'bf41675ced204d67b8c0d24cc91f4d76', u'Users': [{u'IsSignedInOffline': True, u'Id': u'751cc484ddd443fb8e33ba583ead1eff'}]}]}
21:05:15.601 T:5984  NOTICE: EMBY.connectmanager -> Started with: {'ConnectUser': None, 'State': 3, 'Servers': [{u'Name': u'EMBY-SERVER', u'AccessToken': u'b82d850068d54638ba2f1a2a530591b6', u'RemoteAddress': u'http://91.142.235.14:8096', u'UserId': u'751cc484ddd443fb8e33ba583ead1eff', 'WakeOnLanInfos': [{'MacAddress': u'00-FF-60-1D-5F-1D'}], u'LocalAddress': u'http://XXX:8096', u'DateLastAccessed': '2018-02-11T21:05:15Z', u'LastConnectionMode': 2, u'Id': u'bf41675ced204d67b8c0d24cc91f4d76', u'Users': [{u'IsSignedInOffline': True, u'Id': u'751cc484ddd443fb8e33ba583ead1eff'}]}]}
21:05:15.607 T:5984  NOTICE: EMBY.database -> opened: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\emby.db - 319392320
21:05:15.607 T:5984  NOTICE: EMBY.database -> Verifying emby DB
21:05:15.612 T:5984  NOTICE: EMBY.database -> opened: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\MyVideos107.db - 319391024
21:05:15.613 T:5984  NOTICE: EMBY.views -> Clearing nodes properties.
21:05:15.686 T:5984  NOTICE: EMBY.database -> closing: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\MyVideos107.db - 319391024
21:05:15.687 T:5984  NOTICE: EMBY.database -> closing: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\emby.db - 319392320
21:05:15.687 T:5984  NOTICE: EMBY.kodimonitor -> Kodi monitor started
21:05:15.693 T:5984  NOTICE: EMBY.connectionmanager -> Begin ConnectionManager constructor
21:05:15.754 T:5984  NOTICE: Previous line repeats 2 times.
21:05:15.754 T:5984  NOTICE: EMBY.credentials -> credentialsupdated
21:05:15.826 T:5984  NOTICE: EMBY.initialsetup -> Found server!
21:05:15.835 T:5984  NOTICE: EMBY.connectionmanager -> Begin ConnectionManager constructor
21:05:15.946 T:5984  NOTICE: Previous line repeats 2 times.
21:05:15.946 T:5984  NOTICE: EMBY.service_entry -> Server is online and ready
21:05:15.947 T:4360  NOTICE: EMBY.userclient -> ----====# Starting UserClient #====----
21:05:16.040 T:4360  NOTICE: EMBY.downloadutils -> requests session started on: http://XXX:8096
21:05:16.300 T:4360  NOTICE: EMBY.userclient -> current user: HomeTheater
21:05:16.312 T:4360  NOTICE: EMBY.userclient -> current userid: 751cc484ddd443fb8e33ba583ead1eff
21:05:19.168 T:4484  NOTICE: EMBY.websocket_client -> websocket url: ws://XXX:8096/embywebsocket?api_key=b82d850068d54638ba2f1a2a530591b6&deviceId=3F646A9F47EC4C82B7054AB6F6C9D160
21:05:19.168 T:4484  NOTICE: EMBY.websocket_client -> ----===## Starting WebSocketClient ##===----
21:05:19.217 T:624  NOTICE: EMBY.librarysync -> ---===### Starting LibrarySync ###===---
21:05:19.217 T:624  NOTICE: EMBY.utils -> verifying advanced settings
21:05:19.226 T:624  NOTICE: EMBY.librarysync -> Database version:
21:05:19.227 T:624  NOTICE: EMBY.librarysync -> SyncDatabase (started)
21:05:19.326 T:4484  NOTICE: EMBY.downloadutils -> SessionId: 2a7c7324d84578bc19343d4449aad933
21:05:19.840 T:624  NOTICE: EMBY.utils -> Toggling screensaver:  {u'jsonrpc': u'2.0', u'id': 1, u'result': True}
21:05:19.883 T:624  NOTICE: EMBY.database -> opened: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\emby.db - 319391168
21:05:19.883 T:624  NOTICE: EMBY.database -> Verifying emby DB
21:05:20.341 T:624  NOTICE: EMBY.database -> opened: C:\Users\XXX\AppData\Roaming\Kodi\userdata\Database\MyVideos107.db - 310283680
21:05:20.435 T:624  NOTICE: EMBY.views -> sorted views: [u'Aikido', u'Atmosphere Screens in HD', u'Audio Books', u'Books', u'Childrens Movies', u'Childrens TV Shows', u'Concerts', u'Diving Courses', u'Fitness', u'Home Pictures', u'Home Videos', u'Movies', u'Music Videos', u'Nintendo 64', u'Playstation', u'Playstation 2', u'Short Videos 2D & 3D', u'Travel Guides', u'TV Shows', u'XXX']
21:05:20.437 T:624  NOTICE: EMBY.views -> Clearing nodes properties.
21:05:21.252 T:624  NOTICE: EMBY.views -> Removing views: []
21:05:21.543 T:624  NOTICE: EMBY.librarysync -> Media folders: [{'id': u'5eab22eca31bede58618bb62a40bec6d', 'mediatype': 'movies', 'name': u'Diving Courses'}, {'id': u'4d10009f849cb0ec37d302fd30c3e8e0', 'mediatype': 'movies', 'name': u'Childrens Movies'}, {'id': u'b34574845035cd222917cc69435b145f', 'mediatype': 'movies', 'name': u'Concerts'}, {'id': u'd4f8a911e08796484671165749a5c987', 'mediatype': 'movies', 'name': u'Fitness'}, {'id': u'f137a2dd21bbc1b99aa5c0f6bf02a805', 'mediatype': 'movies', 'name': u'Movies'}, {'id': u'ac793910360a296c2573fddc20bf0597', 'mediatype': 'movies', 'name': u'Aikido'}, {'id': u'e2c00f297a5f80af390f52f72e782147', 'mediatype': 'movies', 'name': u'Music Videos'}]
21:05:21.543 T:624  NOTICE: EMBY.librarysync -> Processing: {'id': u'5eab22eca31bede58618bb62a40bec6d', 'mediatype': 'movies', 'name': u'Diving Courses'}
21:05:21.776 T:624  NOTICE: EMBY.objects.movies -> movieid: 1 fileid: 10 pathid: 10
Edited by xbmcgotham
Link to comment
Share on other sites

Angelblue05

That is correct, however did you have emby for kodi debug enabled?  Sorry, I need that to see why the fast sync is not working for you. 

Edited by Angelblue05
Link to comment
Share on other sites

xbmcgotham

@@Luke @@Angelblue05

 

I am currently re-adding the music videos to emby and than to kodi to see if a second try would make a difference. Will let you know when sync is ready.

 

in the mean time. I like to know if its possible to have emby for kodi only sync music files. As I have a few pie's that only function as music source. This would significantly impact the performance/band width of the pie's.

 

ps. when do incremental syncs happen in emby for kodi?

Edited by xbmcgotham
Link to comment
Share on other sites

xbmcgotham

@Luke @Angelblue05

 

It seems that emby doesn't want to run through its full import cycle and cuts of after a while.

 

How can I force emby to continue adding files when i want it to? It only adds a few movies every time it feels like it. sometimes none for a while. I have been resetting the local DB a few times. each time with interruption and not wanting to finish the initial sync. Is there not a way, like in kodi, to ask to update the DB by clicking?

 

I would also expect that the import would not cause hours as the emby server is located on the same PC as kodi. The loading of the images is also slow compared to the previous setup that would sync with the mysql DB on a NAS.

 

Hope there is a solution.

 

Thanks

Link to comment
Share on other sites

Angelblue05

Why not take it in steps. Make a test library for your music video, add one title. Then let Kodi sync that?

 

I just saw your previous post, the incremental sync only runs when the server trigger library scan events.

 

 

Sent from my iPhone using Tapatalk

Edited by Angelblue05
Link to comment
Share on other sites

xbmcgotham

@Angelblue05

 

Hi, it has been 8 hours and only 75 movies have been updated to kodi. Unfortunately I spend loads of time setting up emby to run as it does now, with a few clean installs. I wont be able to remove all again and start over again. If I cant trigger a full scan manually, I would suggest you send me a sql script or some tool that would help solve this problem. Looking forward to additional trouble shooting. Thanks

 

ps. Can you also think of putting a manual trigger in emby server GUI that will force a new update to kodi?

pps. Is it possible to directly point kodi to the emby library without using emby for kodi? Similar to connecting kodi to Mysql DB on a NAS?

 

Thanks for the additional music tip

 

 

UPDATE: I could not wait any longer so I have removed all of emby and kodi from PC and done a fresh install. I will try this one more time. Will update.

Edited by xbmcgotham
Link to comment
Share on other sites

xbmcgotham

Hi @Angelblue05 some questions while I am waiting for the sync:

 

1. Why does it take 1-2 seconds for each image to load while using Kodi? I expect that once the images are loaded initially in kodi it would not need to be loading it which such a delay. Did not have this problem with Mysql connection to kodi. Currently this behavior is impacting the user experience. Like to have this resolved by changing some settings. Can you let me know what to change.

2. Is it possible to directly point kodi to the emby library without using emby for kodi? Similar to connecting kodi to Mysql DB on a NAS? If this means that I initially need to wait longer for the import from emby to kodi, so be it. This would be better than having a slow gui I guess. please let me know how to set this up.

3. Why does emby scan through the whole library again when adding a new library. Is it possible to have emby only scan the newly added source instead of going through the already scanned sources? Settings has already been set so that a full library scan will only occur once a day and each library scan has "live scan" disabled.

4. Can you point me to a tutorial that shows how to map the different library types to kodi types. E.g. emby for kodi will map Movies, music videos and TV Shows to Kodi's Movies, music videos and TV shows section respectively. But emby has also got other library types e.g. home videos and home pictures. How can these me connected to Kodi's Picture and video section respectively? (Would be nice if you could map all the different emby library types to KODI in the emby for kodi add-on settings)

 

 

Thanks

Edited by xbmcgotham
Link to comment
Share on other sites

xbmcgotham

You seem to be having a lot of sync pain, you could try EmbyCon to see if it meets your needs.

EmbyCon does not sync.

 

Yes, unfortunately. :-)

 

But I was under the impression from previous communications that when using embycon i wouldn't be able to use certain kodi add-ons like cinemavision, and that it would not do music. Am I mistaken?

 

And would I need to manually update skins that I use with each update to populate it with data? Or is this now done automatically?

Edited by xbmcgotham
Link to comment
Share on other sites

Angelblue05

Sorry I was away for the day.

 

I will try to help you best I can.

 

 

1. Why does it take 1-2 seconds for each image to load while using Kodi? I expect that once the images are loaded initially in kodi it would not need to be loading it which such a delay. Did not have this problem with Mysql connection to kodi. Currently this behavior is impacting the user experience. Like to have this resolved by changing some settings. Can you let me know what to change.

2. Is it possible to directly point kodi to the emby library without using emby for kodi? Similar to connecting kodi to Mysql DB on a NAS? If this means that I initially need to wait longer for the import from emby to kodi, so be it. This would be better than having a slow gui I guess. please let me know how to set this up.

3. Why does emby scan through the whole library again when adding a new library. Is it possible to have emby only scan the newly added source instead of going through the already scanned sources? Settings has already been set so that a full library scan will only occur once a day and each library scan has "live scan" disabled.

4. Can you point me to a tutorial that shows how to map the different library types to kodi types. E.g. emby for kodi will map Movies, music videos and TV Shows to Kodi's Movies, music videos and TV shows section respectively. But emby has also got other library types e.g. home videos and home pictures. How can these me connected to Kodi's Picture and video section respectively? (Would be nice if you could map all the different emby library types to KODI in the emby for kodi add-on settings)

 

1. The artwork is set to be accessed via http. Kodi caches the artwork and that's what it uses for future uses. I don't see delays after the initial sync.

2. Sure. You don't have to use emby for kodi. Local setup.

3. No.

4. Home videos in place via pictures > add-ons > emby. The only content imported is tv shows, movies, music videos and music. The rest is dynamic listings.

 

I have music video library that displays within music videos. Music within music, tv show and movies in their proper kodi section.

 

But I thought you said the only issue was music videos showing up in movies. Can we take it one step at a time otherwise it makes it hell to troubleshoot whatever your issues are. Or you can move to a local setup, dlna or embycon. There are many alternative solutions.

Link to comment
Share on other sites

xbmcgotham

Hi @@Angelblue05, no worries, needed the time anyway to sync. :-)

Thanks again for helping out.

After many hours i was finally able to sync the emby DB to Kodi videos. Still need to do the music. I had to reinstall both emby and kodi and do a library by library sync. So adding one after another instead of running the whole sync in one run. The problem with music videos being tagged as movies looks to be fixed.

Luckily I did not get major errors during the sync however some that might need attention from emby. will share another time.

Some additional question below.


1. What happens if I change the emby user that is logged into KODI? Will it trigger a new DB sync from emby server as the new user might have different (parental) rights? Otherwise I will make sure it will not change users anymore.


So now that all video data is inside kodi, I like to be able to map certain emby libraries to kodi gui menus.

2. Can you give me an example how I would map an emby library to kodi. e.g. emby pictures to kodi pictures, you explained in previous post, but when I do this, I would need to browse to a location within the emby add-on plugin each time. this is to cumbersome and simple users would not find the pictures and the kodi remote will not work. i need to map it so its displayed right after clicking Pictures in Kodi gui, like you have it done for movies and tv shows with dynamic listings. How do I do set this up manually. (Tip. Would be great if you can add this option to the emby for kodi settings page. A mapping schedule)
 

You told me in the previous response that you dont need to use emby for kodi and can directly connect to emby server (I assume in a similar way as connecting to a mysql DB on a NAS?). This would solve delay in image display and the additional mapping problem.

3. Can you tell me how this is done. what settings need to me added to the advancedsettings.xml within kodi's user folder? Or if it is done differently, please let me know. I want to make sure that its connecting to the emby DB and not to a NAS share directly, which would defeat the purpose of upgrading to emby from the mysql kodi structure.

 

 

Looking forward to your response

 

Thanks
 

  • Like 1
Link to comment
Share on other sites

Angelblue05

1. I would not recommend it (although you technically can (you shouldn't) you'd need to run a manual sync to adjust the content). One Emby user per Kodi profile. The reason being, we build a lot around the user.

2. Well, if you know how to use Kodi then you know how to create home screen shortcuts. Just point to them via Video add-ons or Picture add-ons > emby > select the shortcut you want.

3. You can point Kodi sources to your Emby content. Like a normal Kodi setup is what I meant. Emby saves artwork, nfos to be compatible with Kodi. This is not recommended when using Emby for Kodi because Kodi may try to overwrite modifications the add-on makes.

 

The reason to use Emby for Kodi is if you want a similar setup to Kodi's default setup, but bypass the difficulties of handling your library directly in Kodi. The add-on is geared towards live updates from the server. When you change the metadata/artwork server side, the add-on will process those and update your content accordingly.

 

Let me know if that answers your questions. Sorry I don't have the time to elaborate as much as I'd like but I hope it clarifies some things for you. :)

Edited by Angelblue05
Link to comment
Share on other sites

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