Jump to content

Fast sync fails: failed to retrieve the latest updates...


shred00

Recommended Posts

shred00

I'm getting frequent fast sync failures.  The Kodi plugin (version 2.3.61) reports:

10:22:44.851 T:2502171456  NOTICE: EMBY.librarysync -> RetentionDateTime: 1900-01-01 00:00:00
10:22:45.161 T:2502171456  NOTICE: EMBY.downloadutils -> ERROR:: === Bad status response: 400 ===
10:22:45.161 T:2502171456  NOTICE: EMBY.librarysync -> ERROR:: 400 Client Error: Bad Request for url: http://10.75.22.2:8096/emby/Emby.Kodi.SyncQueue/3abbfc1aaa864057bad867e6230f9184/GetItems?format=json&LastUpdateDT=2017-12-28T19%3A13%3A53Z
10:22:45.162 T:2502171456  NOTICE: EMBY.librarysync -> ERROR:: Failed to retrieve latest updates using fast sync.

The Emby server log reports:

2017-12-29 10:25:45.831 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Plugins?format=json. UserAgent: 
2017-12-29 10:25:45.909 Info InstallationManager: Opening /var/lib/emby-server/cache/serverpackages.json
2017-12-29 10:25:46.232 Info HttpClient: HttpClientManager.GetTempFileResponse url: https://www.mb3admin.com/admin/service/EmbyPackages.json
2017-12-29 10:25:46.239 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 408ms. http://10.75.22.2:8096/emby/Plugins?format=json 
2017-12-29 10:27:53.657 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json. UserAgent: 
2017-12-29 10:27:53.714 Info App: Emby.Kodi.SyncQueue: Server Time Requested...
2017-12-29 10:27:53.716 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 59ms. http://10.75.22.2:8096/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json 
2017-12-29 10:27:53.735 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Emby.Kodi.SyncQueue/3abbfc1aaa864057bad867e6230f9184/GetItems?format=json&LastUpdateDT=2017-12-28T19%3A13%3A53Z. UserAgent: 
2017-12-29 10:27:53.739 Info App: Emby.Kodi.SyncQueue:  SyncAPI Created and Listening at "/Emby.Kodi.SyncQueue/{UserID}/{LastUpdateDT}/GetItems?format=json" - {LastUpdateDT} must be a UTC DateTime formatted as yyyy-MM-ddTHH:mm:ssZ
2017-12-29 10:27:53.739 Info App: Emby.Kodi.SyncQueue:  SyncAPI Created and Listening at "/Emby.Kodi.SyncQueue/{UserID}/GetItems?LastUpdateDT={LastUpdateDT}&format=json" - {LastUpdateDT} must be a UTC DateTime formatted as yyyy-MM-ddTHH:mm:ssZ
2017-12-29 10:27:53.739 Info App: Emby.Kodi.SyncQueue:  The following parameters also exist to filter the results:
2017-12-29 10:27:53.739 Info App: Emby.Kodi.SyncQueue:  filter=movies,tvshows,music,musicvideos,boxsets
2017-12-29 10:27:53.739 Info App: Emby.Kodi.SyncQueue:  Results will be included by default and only filtered if added to the filter query...
2017-12-29 10:27:53.739 Info App: Emby.Kodi.SyncQueue:  the filter query must be lowercase in both the name and the items...
2017-12-29 10:27:53.739 Info App: Emby.Kodi.SyncQueue:  Sync Requested for UserID: '3abbfc1aaa864057bad867e6230f9184' with LastUpdateDT: '2017-12-28T19:13:53Z'
2017-12-29 10:27:53.928 Info App: Emby.Kodi.SyncQueue:  User Data Changed Info Found: 1065b7adc483bfbfbe3e98de16800e84
2017-12-29 10:27:54.027 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.2.40.0
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.13.0.123
	64-Bit OS: False
	64-Bit Process: False
	User Interactive: False
	Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Tue May  2 22:30:49 UTC 2017)
	Processor count: 2
	Program data path: /var/lib/emby-server
	Application directory: /usr/lib/emby-server/bin
	System.ArgumentNullException: Value cannot be null.
	Parameter name: text
	  at Emby.Common.Implementations.Serialization.JsonSerializer.DeserializeFromString[T] (System.String text) [0x0000b] in <979512556ccd4c3e89ed39741e159e03>:0 
	  at NanoApi.File.Read[T] () [0x00094] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	  at NanoApi.JsonFile`1[T].Select (System.Predicate`1[T] lambda) [0x00006] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	  at Emby.Kodi.SyncQueue.Data.DbRepo.GetItems (System.Int64 dtl, System.Int32 status, System.Boolean movies, System.Boolean tvshows, System.Boolean music, System.Boolean musicvideos, System.Boolean boxsets) [0x000b4] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	  at Emby.Kodi.SyncQueue.API.SyncAPI+<>c__DisplayClass8_0.<PopulateLibraryInfo>b__0 () [0x00014] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x00012] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Threading.Tasks.Task.Execute () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Kodi.SyncQueue.API.SyncAPI+<PopulateLibraryInfo>d__8.MoveNext () [0x00260] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	System.ArgumentNullException
	  at Emby.Common.Implementations.Serialization.JsonSerializer.DeserializeFromString[T] (System.String text) [0x0000b] in <979512556ccd4c3e89ed39741e159e03>:0 
	  at NanoApi.File.Read[T] () [0x00094] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	  at NanoApi.JsonFile`1[T].Select (System.Predicate`1[T] lambda) [0x00006] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	  at Emby.Kodi.SyncQueue.Data.DbRepo.GetItems (System.Int64 dtl, System.Int32 status, System.Boolean movies, System.Boolean tvshows, System.Boolean music, System.Boolean musicvideos, System.Boolean boxsets) [0x000b4] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	  at Emby.Kodi.SyncQueue.API.SyncAPI+<>c__DisplayClass8_0.<PopulateLibraryInfo>b__0 () [0x00014] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x00012] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Threading.Tasks.Task.Execute () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Kodi.SyncQueue.API.SyncAPI+<PopulateLibraryInfo>d__8.MoveNext () [0x00260] in <46d75c18e9ba4295a6e6153782bc10a6>:0 
	
2017-12-29 10:27:54.028 Info HttpServer: HTTP Response 400 to 10.75.22.237. Time: 293ms. http://10.75.22.2:8096/emby/Emby.Kodi.SyncQueue/3abbfc1aaa864057bad867e6230f9184/GetItems?format=json&LastUpdateDT=2017-12-28T19%3A13%3A53Z 

This happens for multiple Kodi/Emby users on multiple Kodi machines.

 

Any ideas what the problem is?

Link to comment
Share on other sites

shred00

Upgraded and now I am not getting any automatic sync (i.e. at startup/changing user profiles) at all.

 

I imagine I could probably go to the Emby addon menu and do a manual sync but I don't really want to do that since there is clearly a bug here (no automatic sync) that needs to be debugged and doing a manual sync will destroy the current state.

 

Plugin log:

13:09:27.979 T:2579491648  NOTICE: EMBY.service_entry -> ======== START EMBY ========
13:09:27.980 T:2579491648  NOTICE: EMBY.service_entry -> Python Version: 2.7.6 (default, Nov 23 2017, 15:54:50) 
                                            [GCC 4.8.4]
13:09:27.988 T:2579491648  NOTICE: EMBY.service_entry -> Platform: Linux
13:09:27.989 T:2579491648  NOTICE: EMBY.service_entry -> KODI Version: 17.6 Git:20171114-a9a7a20
13:09:27.989 T:2579491648  NOTICE: EMBY.service_entry -> EMBY Version: 2.3.61
13:09:28.019 T:2579491648  NOTICE: EMBY.service_entry -> Using plugin paths: True
13:09:28.020 T:2579491648  NOTICE: EMBY.service_entry -> Log Level: 1
13:09:28.030 T:2579491648  NOTICE: EMBY.views -> Clearing nodes properties.
13:09:28.044 T:2579491648  NOTICE: EMBY.service_entry -> Loading existing views...
13:09:28.056 T:2579491648  NOTICE: EMBY.connectionmanager -> Begin ConnectionManager constructor
13:09:28.057 T:2579491648  NOTICE: EMBY.connectionmanager -> Begin connect
13:09:28.058 T:2579491648  NOTICE: EMBY.connectionmanager -> Begin getAvailableServers
13:09:28.063 T:2579491648  NOTICE: EMBY.credentials -> credentials initialized with: {u'Servers': [{u'Name': u'pvr', u'AccessToken': u'8dc1376686e049f09af2bbede151abe0', u'RemoteAddress': u'http://67.193.216.74:8096', u'UserId': u'3abbfc1aaa864057bad867e6230f9184', u'WakeOnLanInfos': [{u'MacAddress': u'00-14-D1-13-52-FB'}], u'LocalAddress': u'http://10.75.22.2:8096', u'DateLastAccessed': u'2017-12-29T13:04:36Z', u'LastConnectionMode': 2, u'Id': u'9be14d61c64b452eb0fe38a39d2022a8', u'Users': [{u'IsSignedInOffline': True, u'Id': u'3abbfc1aaa864057bad867e6230f9184'}]}]}
13:09:28.064 T:2579491648  NOTICE: EMBY.connectionmanager -> Begin getConnectServers
13:09:29.082 T:2579491648  NOTICE: EMBY.connectionmanager -> Found Servers: [{u'Name': u'pvr', u'Id': u'9be14d61c64b452eb0fe38a39d2022a8', u'Address': u'http://10.75.22.2:8096'}]
13:09:29.158 T:2579491648  NOTICE: EMBY.credentials -> credentialsupdated
13:09:29.158 T:2579491648  NOTICE: EMBY.connectionmanager -> Begin connectToServers, with 1 servers
13:09:29.159 T:2579491648  NOTICE: EMBY.connectionmanager -> begin connectToServer
13:09:29.159 T:2579491648  NOTICE: EMBY.connectionmanager -> beginning connection tests
13:09:29.159 T:2579491648  NOTICE: EMBY.connectionmanager -> testing connection mode 2 with server pvr
13:09:29.160 T:2579491648  NOTICE: EMBY.connectionmanager -> tryConnect url: http://10.75.22.2:8096/emby/system/info/public
13:09:29.220 T:2579491648  NOTICE: EMBY.connectionmanager -> ConnectionManager response status: 200
13:09:29.224 T:2579491648  NOTICE: EMBY.connectionmanager -> calling onSuccessfulConnection with connection mode 2 with server pvr
13:09:29.249 T:2579491648  NOTICE: EMBY.connectionmanager -> ConnectionManager response status: 200
13:09:29.326 T:2579491648  NOTICE: Previous line repeats 1 times.
13:09:29.326 T:2579491648  NOTICE: EMBY.credentials -> credentialsupdated
13:09:29.327 T:2579491648  NOTICE: EMBY.connectionmanager -> resolving connectToServers with result['State']: {'ConnectUser': None, 'State': 3, 'Servers': [{u'Name': u'pvr', u'AccessToken': u'8dc1376686e049f09af2bbede151abe0', u'RemoteAddress': u'http://67.193.216.74:8096', u'UserId': u'3abbfc1aaa864057bad867e6230f9184', u'WakeOnLanInfos': [{'MacAddress': u'00-14-D1-13-52-FB'}], u'LocalAddress': u'http://10.75.22.2:8096', u'DateLastAccessed': '2017-12-29T13:09:29Z', u'LastConnectionMode': 2, u'Id': u'9be14d61c64b452eb0fe38a39d2022a8', u'Users': [{u'IsSignedInOffline': True, u'Id': u'3abbfc1aaa864057bad867e6230f9184'}]}]}
13:09:29.327 T:2579491648  NOTICE: EMBY.connectmanager -> Started with: {'ConnectUser': None, 'State': 3, 'Servers': [{u'Name': u'pvr', u'AccessToken': u'8dc1376686e049f09af2bbede151abe0', u'RemoteAddress': u'http://67.193.216.74:8096', u'UserId': u'3abbfc1aaa864057bad867e6230f9184', u'WakeOnLanInfos': [{'MacAddress': u'00-14-D1-13-52-FB'}], u'LocalAddress': u'http://10.75.22.2:8096', u'DateLastAccessed': '2017-12-29T13:09:29Z', u'LastConnectionMode': 2, u'Id': u'9be14d61c64b452eb0fe38a39d2022a8', u'Users': [{u'IsSignedInOffline': True, u'Id': u'3abbfc1aaa864057bad867e6230f9184'}]}]}
13:09:29.337 T:2579491648  NOTICE: EMBY.database -> opened: /home/mythtv/.kodi/userdata/profiles/Parents/Database/emby.db - 2589257336
13:09:29.337 T:2579491648  NOTICE: EMBY.database -> Verifying emby DB
13:09:29.379 T:2579491648  NOTICE: EMBY.database -> opened: /home/mythtv/.kodi/userdata/profiles/Parents/Database/MyVideos107.db - 2589150840
13:09:29.380 T:2579491648  NOTICE: EMBY.views -> Clearing nodes properties.
13:09:29.671 T:2579491648  NOTICE: EMBY.database -> closing: /home/mythtv/.kodi/userdata/profiles/Parents/Database/MyVideos107.db - 2589150840
13:09:29.673 T:2579491648  NOTICE: EMBY.database -> closing: /home/mythtv/.kodi/userdata/profiles/Parents/Database/emby.db - 2589257336
13:09:29.675 T:2579491648  NOTICE: EMBY.kodimonitor -> Kodi monitor started
13:09:29.683 T:2579491648  NOTICE: EMBY.connectionmanager -> Begin ConnectionManager constructor
13:09:29.823 T:2579491648  NOTICE: Previous line repeats 2 times.
13:09:29.823 T:2579491648  NOTICE: EMBY.credentials -> credentialsupdated
13:09:30.287 T:2579491648  NOTICE: EMBY.initialsetup -> Found server!
13:09:30.301 T:2579491648  NOTICE: EMBY.connectionmanager -> Begin ConnectionManager constructor
13:09:30.365 T:2579491648  NOTICE: Previous line repeats 2 times.
13:09:30.366 T:2579491648  NOTICE: EMBY.service_entry -> Server is online and ready
13:09:30.367 T:2608036672  NOTICE: EMBY.userclient -> ----====# Starting UserClient #====----
13:09:30.533 T:2608036672  NOTICE: EMBY.downloadutils -> requests session started on: http://10.75.22.2:8096
13:09:30.827 T:2608036672  NOTICE: EMBY.userclient -> current user: Mom & Dad
13:09:30.837 T:2608036672  NOTICE: EMBY.userclient -> current userid: 3abbfc1aaa864057bad867e6230f9184

Emby log:

2017-12-29 13:14:37.061 Info App: Udp message sent to 10.75.22.237:34504
2017-12-29 13:14:38.193 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/system/info/public. UserAgent: python-requests/2.18.4
2017-12-29 13:14:38.197 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 4ms. http://10.75.22.2:8096/emby/system/info/public 
2017-12-29 13:14:38.218 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/System/Info. UserAgent: python-requests/2.18.4
2017-12-29 13:14:38.226 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 8ms. http://10.75.22.2:8096/emby/System/Info 
2017-12-29 13:14:38.240 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/users/3abbfc1aaa864057bad867e6230f9184. UserAgent: python-requests/2.18.4
2017-12-29 13:14:38.246 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 6ms. http://10.75.22.2:8096/emby/users/3abbfc1aaa864057bad867e6230f9184 
2017-12-29 13:14:39.337 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/system/info/public?format=json. UserAgent: python-requests/2.18.4
2017-12-29 13:14:39.342 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 5ms. http://10.75.22.2:8096/emby/system/info/public?format=json 
2017-12-29 13:14:39.435 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Users/3abbfc1aaa864057bad867e6230f9184?format=json. UserAgent: python-requests/2.18.4
2017-12-29 13:14:39.441 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 6ms. http://10.75.22.2:8096/emby/Users/3abbfc1aaa864057bad867e6230f9184?format=json 
2017-12-29 13:14:39.494 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Users?format=json. UserAgent: python-requests/2.18.4
2017-12-29 13:14:39.501 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 7ms. http://10.75.22.2:8096/emby/Users?format=json 
2017-12-29 13:14:39.523 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Users/3abbfc1aaa864057bad867e6230f9184?format=json. UserAgent: 
2017-12-29 13:14:39.529 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 6ms. http://10.75.22.2:8096/emby/Users/3abbfc1aaa864057bad867e6230f9184?format=json 
2017-12-29 13:14:39.667 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/System/Configuration?format=json. UserAgent: 
2017-12-29 13:14:39.674 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 7ms. http://10.75.22.2:8096/emby/System/Configuration?format=json

And no sync/update ever happens.  No notification that it's happening and the database is out of date.

Edited by shred00
Link to comment
Share on other sites

can you please attach the complete log files so that we can get an understanding of the full picture? thanks !

Link to comment
Share on other sites

shred00

Sure.

2017-12-29 13:44:27.303 Info Main: Emby
	Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh
	Operating system: Unix 3.13.0.123
	64-Bit OS: False
	64-Bit Process: False
	User Interactive: False
	Mono: 4.8.1 (Stable 4.8.1.0/22a39d7 Tue May  2 22:30:49 UTC 2017)
	Processor count: 2
	Program data path: /var/lib/emby-server
	Application directory: /usr/lib/emby-server/bin
2017-12-29 13:44:28.806 Info App: Application version: 3.2.60.0
2017-12-29 13:44:29.006 Info App: Application configuration:
	{"EnableUPnP":true,"PublicPort":8096,"PublicHttpsPort":8920,"HttpServerPortNumber":8096,"HttpsPortNumber":8920,"EnableHttps":false,"EnableNormalizedItemByNameIds":true,"IsPortAuthorized":true,"AutoRunWebApp":false,"EnableCaseSensitiveItemIds":true,"DisableLiveTvChannelUserDataName":true,"PreferredMetadataLanguage":"en","MetadataCountryCode":"US","SortReplaceCharacters":[".","+","%"],"SortRemoveCharacters":[",","&","-","{","}","'"],"SortRemoveWords":["the","a","an"],"MinResumePct":5,"MaxResumePct":90,"MinResumeDurationSeconds":300,"LibraryMonitorDelay":60,"EnableDashboardResponseCaching":true,"ImageSavingConvention":"Compatible","MetadataOptions":[{"ItemType":"Book","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Movie","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicVideo","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":["FanArt"],"ImageFetcherOrder":[]},{"ItemType":"Series","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicAlbum","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Disc","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":["TheAudioDB"],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"MusicArtist","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":["TheAudioDB"],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"BoxSet","ImageOptions":[{"Type":"Backdrop","Limit":1,"MinWidth":1280},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Thumb","Limit":1,"MinWidth":0},{"Type":"Logo","Limit":1,"MinWidth":0},{"Type":"Art","Limit":0,"MinWidth":0},{"Type":"Disc","Limit":0,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":[],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]},{"ItemType":"Season","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Primary","Limit":1,"MinWidth":0},{"Type":"Banner","Limit":0,"MinWidth":0},{"Type":"Thumb","Limit":0,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":["TheMovieDb"],"MetadataFetcherOrder":[],"DisabledImageFetchers":["FanArt"],"ImageFetcherOrder":[]},{"ItemType":"Episode","ImageOptions":[{"Type":"Backdrop","Limit":0,"MinWidth":1280},{"Type":"Primary","Limit":1,"MinWidth":0}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":["The Open Movie Database","TheMovieDb"],"MetadataFetcherOrder":[],"DisabledImageFetchers":["The Open Movie Database","TheMovieDb"],"ImageFetcherOrder":[]},{"ItemType":"Video","ImageOptions":[{"Type":"Backdrop","Limit":3,"MinWidth":1280}],"DisabledMetadataSavers":["Emby Xml"],"LocalMetadataReaderOrder":[],"DisabledMetadataFetchers":[],"MetadataFetcherOrder":[],"DisabledImageFetchers":[],"ImageFetcherOrder":[]}],"EnableAutomaticRestart":true,"SkipDeserializationForBasicTypes":true,"UICulture":"en-us","SaveMetadataHidden":false,"ContentTypes":[],"RemoteClientBitrateLimit":0,"SharingExpirationDays":30,"SchemaVersion":0,"EnableAnonymousUsageReporting":false,"EnableFolderView":false,"EnableGroupingIntoCollections":false,"DisplaySpecialsWithinSeasons":true,"DisplayCollectionsView":false,"LocalNetworkAddresses":[],"CodecsUsed":[],"EnableChannelView":false,"EnableExternalContentInSuggestions":true,"RequireHttps":false,"IsBehindProxy":false,"EnableNewOmdbSupport":false,"ImageExtractionTimeoutMs":0,"PathSubstitutions":[],"EnableSimpleArtistDetection":true,"EnableDebugLevelLogging":false,"EnableAutoUpdate":true,"LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"CachePath":""}
2017-12-29 13:44:29.009 Info App: Loading assemblies
2017-12-29 13:44:29.048 Info App: Loading Emby.Kodi.SyncQueue, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading Trakt, Version=3.1.3.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.Api, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.WebDashboard, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.Model, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.Common, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.Controller, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.Providers, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading Emby.Photos, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading Emby.Server.Implementations, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading Emby.Server.MediaEncoding, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading Emby.Dlna, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.LocalMetadata, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.XbmcMetadata, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading MediaBrowser.Server.Mono, Version=3.2.60.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.048 Info App: Loading Emby.Server.CinemaMode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.049 Info App: Loading Emby.Server.Connect, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.049 Info App: Loading Emby.Server.Sync, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
2017-12-29 13:44:29.214 Info SqliteUserRepository: Sqlite version: 3.18.0
2017-12-29 13:44:29.216 Info SqliteUserRepository: Sqlite compiler options: COMPILER=gcc-4.8.2,DEFAULT_SYNCHRONOUS=2,DEFAULT_WAL_SYNCHRONOUS=2,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS5,ENABLE_JSON1,ENABLE_LOAD_EXTENSION,ENABLE_RTREE,ENABLE_UNLOCK_NOTIFY,ENABLE_UPDATE_DELETE_LIMIT,LIKE_DOESNT_MATCH_BLOBS,MAX_SCHEMA_RETRY=25,OMIT_LOOKASIDE,SECURE_DELETE,SYSTEM_MALLOC,THREADSAFE=1
2017-12-29 13:44:29.277 Info SqliteUserRepository: Default journal_mode for /var/lib/emby-server/data/users.db is wal
2017-12-29 13:44:29.282 Info SqliteUserRepository: PRAGMA synchronous=1
2017-12-29 13:44:29.303 Info AuthenticationRepository: Default journal_mode for /var/lib/emby-server/data/authentication.db is wal
2017-12-29 13:44:29.304 Info AuthenticationRepository: PRAGMA synchronous=1
2017-12-29 13:44:29.427 Info DeviceManager: Default journal_mode for /var/lib/emby-server/data/devices.db is wal
2017-12-29 13:44:29.428 Info DeviceManager: PRAGMA synchronous=1
2017-12-29 13:44:29.596 Info SharingRepository: Default journal_mode for /var/lib/emby-server/data/shares.db is wal
2017-12-29 13:44:29.597 Info SharingRepository: PRAGMA synchronous=1
2017-12-29 13:44:29.604 Info ActivityRepository: Default journal_mode for /var/lib/emby-server/data/activitylog.db is wal
2017-12-29 13:44:29.604 Info ActivityRepository: PRAGMA synchronous=1
2017-12-29 13:44:29.613 Info SqliteDisplayPreferencesRepository: Default journal_mode for /var/lib/emby-server/data/displaypreferences.db is wal
2017-12-29 13:44:29.614 Info SqliteDisplayPreferencesRepository: PRAGMA synchronous=1
2017-12-29 13:44:29.633 Info SqliteItemRepository: Default journal_mode for /var/lib/emby-server/data/library.db is wal
2017-12-29 13:44:29.635 Info SqliteItemRepository: PRAGMA synchronous=1
2017-12-29 13:44:29.693 Info SqliteNotificationsRepository: Default journal_mode for /var/lib/emby-server/data/notifications.db is wal
2017-12-29 13:44:29.693 Info SqliteNotificationsRepository: PRAGMA synchronous=1
2017-12-29 13:44:30.112 Info App: Emby.Kodi.SyncQueue IS NOW STARTING!!!
2017-12-29 13:44:30.113 Info App: Emby.Kodi.SyncQueue: Creating DB Repository...
2017-12-29 13:44:30.203 Info App: Emby.Kodi.SyncQueue:  SyncAPI Created and Listening at "/Emby.Kodi.SyncQueue/{UserID}/{LastUpdateDT}/GetItems?format=json" - {LastUpdateDT} must be a UTC DateTime formatted as yyyy-MM-ddTHH:mm:ssZ
2017-12-29 13:44:30.203 Info App: Emby.Kodi.SyncQueue:  SyncAPI Created and Listening at "/Emby.Kodi.SyncQueue/{UserID}/GetItems?LastUpdateDT={LastUpdateDT}&format=json" - {LastUpdateDT} must be a UTC DateTime formatted as yyyy-MM-ddTHH:mm:ssZ
2017-12-29 13:44:30.203 Info App: Emby.Kodi.SyncQueue:  The following parameters also exist to filter the results:
2017-12-29 13:44:30.203 Info App: Emby.Kodi.SyncQueue:  filter=movies,tvshows,music,musicvideos,boxsets
2017-12-29 13:44:30.203 Info App: Emby.Kodi.SyncQueue:  Results will be included by default and only filtered if added to the filter query...
2017-12-29 13:44:30.203 Info App: Emby.Kodi.SyncQueue:  the filter query must be lowercase in both the name and the items...
2017-12-29 13:44:30.316 Info HttpServer: Calling ServiceStack AppHost.Init
2017-12-29 13:44:31.327 Info ServerManager: Loading Http Server
2017-12-29 13:44:31.334 Info HttpServer: Adding HttpListener prefix http://+:8096/
2017-12-29 13:44:31.336 Info HttpServer: Adding HttpListener prefix https://+:8920/
2017-12-29 13:44:31.731 Info Main: Skia not available. Will try next image processor. libSkiaSharp.so
2017-12-29 13:44:31.740 Info ImageMagick: ImageMagick version: ImageMagick 6.9.6-6 Q8 i686 2016-12-07 http://www.imagemagick.org
2017-12-29 13:44:31.763 Info App: Emby.Kodi.SyncQueue.Task: Retention Task Scheduled!
2017-12-29 13:44:31.819 Info TaskManager: Daily trigger for Remove Old Sync Data set to fire at 2017-12-30 12:01:00 AM, which is 616.46976205 minutes from now.
2017-12-29 13:44:31.836 Info TaskManager: Daily trigger for Chapter image extraction set to fire at 2017-12-30 2:00:00 AM, which is 735.46939065 minutes from now.
2017-12-29 13:44:31.856 Info TaskManager: Daily trigger for Start new log file set to fire at 2017-12-30 12:00:00 AM, which is 615.469063266667 minutes from now.
2017-12-29 13:44:31.869 Info MediaEncoder: FFMpeg: /var/lib/emby-server/ffmpeg/20170308/ffmpeg
2017-12-29 13:44:31.869 Info MediaEncoder: FFProbe: /var/lib/emby-server/ffmpeg/20170308/ffprobe
2017-12-29 13:44:31.869 Info MediaEncoder: Validating media encoder at /var/lib/emby-server/ffmpeg/20170308/ffmpeg
2017-12-29 13:44:31.877 Info MediaEncoder: Running /var/lib/emby-server/ffmpeg/20170308/ffmpeg -decoders
2017-12-29 13:44:31.933 Info MediaEncoder: Decoder available: mpeg2video
2017-12-29 13:44:32.021 Info MediaEncoder: Decoder available: h264_cuvid
2017-12-29 13:44:32.025 Info MediaEncoder: Decoder available: hevc_cuvid
2017-12-29 13:44:32.030 Info MediaEncoder: Decoder available: mpeg2_cuvid
2017-12-29 13:44:32.036 Info MediaEncoder: Decoder available: mpeg4_cuvid
2017-12-29 13:44:32.047 Info MediaEncoder: Decoder available: vc1_cuvid
2017-12-29 13:44:32.058 Info MediaEncoder: Decoder available: vp8_cuvid
2017-12-29 13:44:32.068 Info MediaEncoder: Decoder available: vp9_cuvid
2017-12-29 13:44:32.098 Info MediaEncoder: Decoder available: ac3
2017-12-29 13:44:32.108 Info MediaEncoder: Decoder available: aac
2017-12-29 13:44:32.122 Info MediaEncoder: Decoder available: mp3
2017-12-29 13:44:32.125 Info MediaEncoder: Decoder available: h264
2017-12-29 13:44:32.129 Info MediaEncoder: Decoder available: hevc
2017-12-29 13:44:32.167 Info MediaEncoder: Running /var/lib/emby-server/ffmpeg/20170308/ffmpeg -encoders
2017-12-29 13:44:32.199 Info MediaEncoder: Encoder available: libx264
2017-12-29 13:44:32.201 Info MediaEncoder: Encoder available: libx265
2017-12-29 13:44:32.203 Info MediaEncoder: Encoder available: mpeg4
2017-12-29 13:44:32.205 Info MediaEncoder: Encoder available: msmpeg4
2017-12-29 13:44:32.209 Info MediaEncoder: Encoder available: libvpx
2017-12-29 13:44:32.213 Info MediaEncoder: Encoder available: libvpx-vp9
2017-12-29 13:44:32.217 Info MediaEncoder: Encoder available: aac
2017-12-29 13:44:32.222 Info MediaEncoder: Encoder available: libmp3lame
2017-12-29 13:44:32.228 Info MediaEncoder: Encoder available: libopus
2017-12-29 13:44:32.235 Info MediaEncoder: Encoder available: libvorbis
2017-12-29 13:44:32.242 Info MediaEncoder: Encoder available: srt
2017-12-29 13:44:32.243 Info MediaEncoder: Encoder available: h264_nvenc
2017-12-29 13:44:32.245 Info MediaEncoder: Encoder available: hevc_nvenc
2017-12-29 13:44:32.276 Info MediaEncoder: Encoder available: h264_vaapi
2017-12-29 13:44:32.278 Info MediaEncoder: Encoder available: hevc_vaapi
2017-12-29 13:44:32.291 Info MediaEncoder: Encoder available: libwebp
2017-12-29 13:44:32.296 Info MediaEncoder: Encoder available: ac3
2017-12-29 13:44:32.296 Info MediaEncoder: Encoder validation complete
2017-12-29 13:44:32.300 Info App: ServerId: 9be14d61c64b452eb0fe38a39d2022a8
2017-12-29 13:44:32.300 Info App: Core startup complete
2017-12-29 13:44:32.300 Info App: Post-init migrations complete
2017-12-29 13:44:32.373 Info App: Starting entry point Emby.Kodi.SyncQueue.EntryPoints.LibrarySyncNotification
2017-12-29 13:44:32.375 Info App: Emby.Kodi.SyncQueue:  LibrarySyncNotification Startup...
2017-12-29 13:44:32.376 Info App: Entry point completed: Emby.Kodi.SyncQueue.EntryPoints.LibrarySyncNotification. Duration: 0.001951 seconds
2017-12-29 13:44:32.376 Info App: Starting entry point Emby.Kodi.SyncQueue.EntryPoints.UserSyncNotification
2017-12-29 13:44:32.377 Info App: Emby.Kodi.SyncQueue:  UserSyncNotification Startup...
2017-12-29 13:44:32.377 Info App: Entry point completed: Emby.Kodi.SyncQueue.EntryPoints.UserSyncNotification. Duration: 0.000935 seconds
2017-12-29 13:44:32.377 Info App: Starting entry point Trakt.ServerMediator
2017-12-29 13:44:32.378 Info App: Entry point completed: Trakt.ServerMediator. Duration: 0.000617 seconds
2017-12-29 13:44:32.378 Info App: Starting entry point MediaBrowser.Api.ApiEntryPoint
2017-12-29 13:44:32.378 Info App: Entry point completed: MediaBrowser.Api.ApiEntryPoint. Duration: 0.000144 seconds
2017-12-29 13:44:32.378 Info App: Starting entry point MediaBrowser.WebDashboard.ServerEntryPoint
2017-12-29 13:44:32.381 Info App: Entry point completed: MediaBrowser.WebDashboard.ServerEntryPoint. Duration: 0.002284 seconds
2017-12-29 13:44:32.381 Info App: Starting entry point Emby.Server.Implementations.Activity.ActivityLogEntryPoint
2017-12-29 13:44:32.386 Info App: Entry point completed: Emby.Server.Implementations.Activity.ActivityLogEntryPoint. Duration: 0.004494 seconds
2017-12-29 13:44:32.386 Info App: Starting entry point Emby.Server.Implementations.Channels.ChannelsEntryPoint
2017-12-29 13:44:32.388 Info App: Entry point completed: Emby.Server.Implementations.Channels.ChannelsEntryPoint. Duration: 0.00221 seconds
2017-12-29 13:44:32.388 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.AutomaticRestartEntryPoint
2017-12-29 13:44:32.390 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.AutomaticRestartEntryPoint. Duration: 0.001353 seconds
2017-12-29 13:44:32.390 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.ExternalPortForwarding
2017-12-29 13:44:32.438 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.ExternalPortForwarding. Duration: 0.048347 seconds
2017-12-29 13:44:32.438 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.KeepServerAwake
2017-12-29 13:44:32.439 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.KeepServerAwake. Duration: 0.000362 seconds
2017-12-29 13:44:32.439 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.LibraryChangedNotifier
2017-12-29 13:44:32.441 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.LibraryChangedNotifier. Duration: 0.001795 seconds
2017-12-29 13:44:32.441 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.LoadRegistrations
2017-12-29 13:44:32.441 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.LoadRegistrations. Duration: 0.000365 seconds
2017-12-29 13:44:32.441 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.RecordingNotifier
2017-12-29 13:44:32.443 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.RecordingNotifier. Duration: 0.001762 seconds
2017-12-29 13:44:32.443 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.ServerEventNotifier
2017-12-29 13:44:32.447 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.ServerEventNotifier. Duration: 0.003409 seconds
2017-12-29 13:44:32.447 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.StartupWizard
2017-12-29 13:44:32.448 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.StartupWizard. Duration: 0.000793 seconds
2017-12-29 13:44:32.448 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.SystemEvents
2017-12-29 13:44:32.448 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.SystemEvents. Duration: 0.000545 seconds
2017-12-29 13:44:32.449 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.UdpServerEntryPoint
2017-12-29 13:44:32.460 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.UdpServerEntryPoint. Duration: 0.011244 seconds
2017-12-29 13:44:32.460 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.UsageEntryPoint
2017-12-29 13:44:32.462 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.UsageEntryPoint. Duration: 0.002176 seconds
2017-12-29 13:44:32.462 Info App: Starting entry point Emby.Server.Implementations.EntryPoints.UserDataChangeNotifier
2017-12-29 13:44:32.463 Info App: Entry point completed: Emby.Server.Implementations.EntryPoints.UserDataChangeNotifier. Duration: 0.000284 seconds
2017-12-29 13:44:32.463 Info App: Starting entry point Emby.Server.Implementations.IO.LibraryMonitorStartup
2017-12-29 13:44:32.773 Info LibraryMonitor: Skipping realtime monitor for /storage2/Brian because the path does not exist
2017-12-29 13:44:32.774 Info LibraryMonitor: Skipping realtime monitor for /storage2/Brian & Junior because the path does not exist
2017-12-29 13:44:32.774 Info LibraryMonitor: Skipping realtime monitor for /storage2/Family because the path does not exist
2017-12-29 13:44:32.774 Info LibraryMonitor: Skipping realtime monitor for /storage2/Jennifer because the path does not exist
2017-12-29 13:44:32.774 Info LibraryMonitor: Skipping realtime monitor for /storage2/Junior because the path does not exist
2017-12-29 13:44:32.774 Info LibraryMonitor: Skipping realtime monitor for /storage2/Kids because the path does not exist
2017-12-29 13:44:32.774 Info LibraryMonitor: Skipping realtime monitor for /storage2/Mom & Dad because the path does not exist
2017-12-29 13:44:32.800 Info LibraryMonitor: Watching directory /storage1/Junior
2017-12-29 13:44:32.804 Info App: Entry point completed: Emby.Server.Implementations.IO.LibraryMonitorStartup. Duration: 0.34069 seconds
2017-12-29 13:44:32.804 Info App: Starting entry point Emby.Server.Implementations.LiveTv.EmbyTV.EntryPoint
2017-12-29 13:44:32.805 Info LibraryMonitor: Watching directory /storage1/Kids
2017-12-29 13:44:32.810 Info LibraryMonitor: Watching directory /video/mythtv/Kids
2017-12-29 13:44:32.810 Info LibraryMonitor: Watching directory /storage1/Jennifer
2017-12-29 13:44:32.812 Info LibraryMonitor: Watching directory /storage1/Brian & Junior
2017-12-29 13:44:32.815 Info LibraryMonitor: Watching directory /storage1/Family
2017-12-29 13:44:32.818 Info LibraryMonitor: Watching directory /video/mythvideo/Movies
2017-12-29 13:44:32.827 Info App: Loading live tv data from /var/lib/emby-server/data/livetv/timers
2017-12-29 13:44:32.829 Info LibraryMonitor: Watching directory /storage1/Brian
2017-12-29 13:44:32.833 Info LibraryMonitor: Watching directory /video/mythtv/Mom & Dad
2017-12-29 13:44:32.834 Info LibraryMonitor: Watching directory /video/mythtv/Junior
2017-12-29 13:44:32.836 Info LibraryMonitor: Watching directory /video/mythtv/Brian
2017-12-29 13:44:32.844 Info LibraryMonitor: Watching directory /storage1/Mom & Dad
2017-12-29 13:44:32.863 Info App: Entry point completed: Emby.Server.Implementations.LiveTv.EmbyTV.EntryPoint. Duration: 0.059182 seconds
2017-12-29 13:44:32.863 Info App: Starting entry point Emby.Server.Implementations.News.NewsEntryPoint
2017-12-29 13:44:32.864 Info App: Entry point completed: Emby.Server.Implementations.News.NewsEntryPoint. Duration: 0.000369 seconds
2017-12-29 13:44:32.864 Info App: Starting entry point Emby.Server.Implementations.Notifications.Notifications
2017-12-29 13:44:32.866 Info App: Entry point completed: Emby.Server.Implementations.Notifications.Notifications. Duration: 0.002339 seconds
2017-12-29 13:44:32.866 Info App: Starting entry point Emby.Server.Implementations.Notifications.WebSocketNotifier
2017-12-29 13:44:32.867 Info App: Entry point completed: Emby.Server.Implementations.Notifications.WebSocketNotifier. Duration: 0.001007 seconds
2017-12-29 13:44:32.867 Info App: Starting entry point Emby.Server.Implementations.TV.CleanMissingEpisodesEntryPoint
2017-12-29 13:44:32.868 Info App: Entry point completed: Emby.Server.Implementations.TV.CleanMissingEpisodesEntryPoint. Duration: 0.000222 seconds
2017-12-29 13:44:32.868 Info App: Starting entry point Emby.Server.MediaEncoding.Api.ApiEntryPoint
2017-12-29 13:44:32.869 Info App: Entry point completed: Emby.Server.MediaEncoding.Api.ApiEntryPoint. Duration: 0.001266 seconds
2017-12-29 13:44:32.869 Info App: Starting entry point Emby.Dlna.DlnaProfileEntryPoint
2017-12-29 13:44:32.869 Info App: Entry point completed: Emby.Dlna.DlnaProfileEntryPoint. Duration: 0.000156 seconds
2017-12-29 13:44:32.870 Info App: Starting entry point Emby.Dlna.Main.DlnaEntryPoint
2017-12-29 13:44:32.945 Info LibraryMonitor: Watching directory /video/mythvideo/Television/Brian & Junior
2017-12-29 13:44:32.978 Info LibraryMonitor: Watching directory /video/mythvideo/Television/Jennifer
2017-12-29 13:44:33.106 Info LibraryMonitor: Watching directory /video/mythvideo/Television/Brian
2017-12-29 13:44:33.106 Info LibraryMonitor: Watching directory /video/mythvideo/Television/Family
2017-12-29 13:44:33.142 Info LibraryMonitor: Watching directory /video/mythvideo/Television/Junior
2017-12-29 13:44:33.160 Info App: Entry point completed: Emby.Dlna.Main.DlnaEntryPoint. Duration: 0.290406 seconds
2017-12-29 13:44:33.160 Info App: Starting entry point MediaBrowser.XbmcMetadata.EntryPoint
2017-12-29 13:44:33.161 Info App: Entry point completed: MediaBrowser.XbmcMetadata.EntryPoint. Duration: 0.000679 seconds
2017-12-29 13:44:33.162 Info App: Starting entry point Emby.Server.CinemaMode.IntrosEntryPoint
2017-12-29 13:44:33.163 Info App: Entry point completed: Emby.Server.CinemaMode.IntrosEntryPoint. Duration: 0.000515 seconds
2017-12-29 13:44:33.163 Info App: Starting entry point Emby.Security.PluginSecurityManager
2017-12-29 13:44:33.163 Info App: Entry point completed: Emby.Security.PluginSecurityManager. Duration: 0.000154 seconds
2017-12-29 13:44:33.163 Info App: Starting entry point Emby.Server.Connect.ConnectEntryPoint
2017-12-29 13:44:33.166 Info App: Loading data from /var/lib/emby-server/data/connect.txt
2017-12-29 13:44:33.176 Info App: Loading data from /var/lib/emby-server/data/wan.dat
2017-12-29 13:44:33.220 Info LibraryMonitor: Watching directory /video/mythvideo/Television/Mom & Dad
2017-12-29 13:44:33.292 Info App: Entry point completed: Emby.Server.Connect.ConnectEntryPoint. Duration: 0.12882 seconds
2017-12-29 13:44:33.292 Info App: Starting entry point Emby.Server.Sync.SyncManagerEntryPoint
2017-12-29 13:44:33.298 Info App: Sqlite version: 3.18.0
2017-12-29 13:44:33.298 Info App: Sqlite compiler options: COMPILER=gcc-4.8.2,DEFAULT_SYNCHRONOUS=2,DEFAULT_WAL_SYNCHRONOUS=2,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS5,ENABLE_JSON1,ENABLE_LOAD_EXTENSION,ENABLE_RTREE,ENABLE_UNLOCK_NOTIFY,ENABLE_UPDATE_DELETE_LIMIT,LIKE_DOESNT_MATCH_BLOBS,MAX_SCHEMA_RETRY=25,OMIT_LOOKASIDE,SECURE_DELETE,SYSTEM_MALLOC,THREADSAFE=1
2017-12-29 13:44:33.300 Info App: Default journal_mode for /var/lib/emby-server/data/sync14.db is wal
2017-12-29 13:44:33.302 Info App: PRAGMA synchronous=1
2017-12-29 13:44:33.308 Info App: Entry point completed: Emby.Server.Sync.SyncManagerEntryPoint. Duration: 0.015266 seconds
2017-12-29 13:44:33.308 Info App: Starting entry point Emby.Server.Sync.SyncNotificationEntryPoint
2017-12-29 13:44:33.308 Info App: Entry point completed: Emby.Server.Sync.SyncNotificationEntryPoint. Duration: 0.00073 seconds
2017-12-29 13:44:33.309 Info App: Starting entry point Emby.Security.PluginSecurityManager
2017-12-29 13:44:33.309 Info App: Entry point completed: Emby.Security.PluginSecurityManager. Duration: 0.000134 seconds
2017-12-29 13:44:33.309 Info App: All entry points have started
2017-12-29 13:44:33.378 Info HttpClient: HttpClientManager GET: http://emby.media/community/index.php?/blog/rss/1-media-browser-developers-blog
2017-12-29 13:44:34.850 Info TaskManager: StartupTrigger fired for task: Check for plugin updates
2017-12-29 13:44:34.851 Info TaskManager: StartupTrigger fired for task: Check for application updates
2017-12-29 13:44:34.855 Info TaskManager: Queueing task PluginUpdateTask
2017-12-29 13:44:34.855 Info TaskManager: Queueing task SystemUpdateTask
2017-12-29 13:44:34.870 Info TaskManager: Executing Check for application updates
2017-12-29 13:44:34.873 Info TaskManager: Executing Check for plugin updates
2017-12-29 13:44:34.905 Info InstallationManager: Opening /var/lib/emby-server/cache/serverpackages.json
2017-12-29 13:44:35.083 Info TaskManager: Check for application updates Completed after 0 minute(s) and 0 seconds
2017-12-29 13:44:35.101 Info HttpClient: HttpClientManager.GetTempFileResponse url: https://www.mb3admin.com/admin/service/EmbyPackages.json
2017-12-29 13:44:35.122 Info TaskManager: Check for plugin updates Completed after 0 minute(s) and 0 seconds
2017-12-29 13:44:35.126 Info TaskManager: ExecuteQueuedTasks
2017-12-29 13:44:35.126 Info TaskManager: ExecuteQueuedTasks
2017-12-29 13:45:27.310 Info App: Udp message sent to 10.75.22.237:45817
2017-12-29 13:45:28.456 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/system/info/public. UserAgent: python-requests/2.18.4
2017-12-29 13:45:28.508 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 59ms. http://10.75.22.2:8096/emby/system/info/public 
2017-12-29 13:45:28.520 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/System/Info. UserAgent: python-requests/2.18.4
2017-12-29 13:45:28.858 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 338ms. http://10.75.22.2:8096/emby/System/Info 
2017-12-29 13:45:28.873 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/users/3abbfc1aaa864057bad867e6230f9184. UserAgent: python-requests/2.18.4
2017-12-29 13:45:28.968 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 95ms. http://10.75.22.2:8096/emby/users/3abbfc1aaa864057bad867e6230f9184 
2017-12-29 13:45:29.882 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/system/info/public?format=json. UserAgent: python-requests/2.18.4
2017-12-29 13:45:29.896 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 19ms. http://10.75.22.2:8096/emby/system/info/public?format=json 
2017-12-29 13:45:29.980 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Users/3abbfc1aaa864057bad867e6230f9184?format=json. UserAgent: python-requests/2.18.4
2017-12-29 13:45:29.987 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 6ms. http://10.75.22.2:8096/emby/Users/3abbfc1aaa864057bad867e6230f9184?format=json 
2017-12-29 13:45:30.020 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Users?format=json. UserAgent: python-requests/2.18.4
2017-12-29 13:45:30.067 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 47ms. http://10.75.22.2:8096/emby/Users?format=json 
2017-12-29 13:45:30.087 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/Users/3abbfc1aaa864057bad867e6230f9184?format=json. UserAgent: 
2017-12-29 13:45:30.091 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 3ms. http://10.75.22.2:8096/emby/Users/3abbfc1aaa864057bad867e6230f9184?format=json 
2017-12-29 13:45:30.207 Info HttpServer: HTTP GET http://10.75.22.2:8096/emby/System/Configuration?format=json. UserAgent: 
2017-12-29 13:45:30.215 Info HttpServer: HTTP Response 200 to 10.75.22.237. Time: 8ms. http://10.75.22.2:8096/emby/System/Configuration?format=json 
Link to comment
Share on other sites

This is just a startup log. What activity did you expect to happen during this time? The idea is that you will perform some action, and that action will cause the auto sync to occur.

Link to comment
Share on other sites

shred00

This is not just a startup log.  This is everything that is logged on the server from the time that Emby is started up until a user has logged into their profile on Kodi and is waiting for a sync to happen.  But it never happens.  The entries starting at 2017-12-29 13:45:28.456 are when the user has logged onto Kodi and is waiting for the auto-sync to happen.  This is how this addon has worked in the past.  Like up until I upgrade the server as you asked me to in post #2.

 

The fact that the server looks like nothing has happened on the Kodi side is exactly the problem.  The Kodi side is not performing a sync when the user logs into their profile.

Link to comment
Share on other sites

I would suggest doing a one-time manual sync and then see if the issue persists after that. I think for whatever reason the add-on doesn't think a sync is needed and that's why it's not doing it.

Link to comment
Share on other sites

shred00

But if that is the case, and the "one-time manual sync" resolves it then there is a bug here.  Are you not interested in trying to get to the bottom of that before I destroy the state that is triggering it?

 

I ask because this really is just the tip of the iceberg of sync issues with this addon.

 

Many times I end up having to cycle through Perform manual sync/Repair local database/Perform local database reset due to issues of items not being found when trying to play them in Kodi, items in Emby not even showing in Kodi, etc.

Edited by shred00
Link to comment
Share on other sites

Given that we've already seen errors in the server log on a previous version i think that is a likely suspect right there. So let's see if it happens again. Thanks.

Link to comment
Share on other sites

shred00

Did a manual sync.  There are gaps in content.  That is, for a particular show that records regularly there are episodes of that show that are on the web client that are not showing on EmbyKodi.

 

Now, this is where I will typically go through the process of "Perform manual sync/Repair local database/Perform local database reset" to try to get things back in sync.

Edited by shred00
Link to comment
Share on other sites

shred00

EmbyCon doesn't work and it's really pissed me off at this point.

 

I keep getting:

	MediaBrowser.Controller.Net.SecurityException: Access token is required.
	  at Emby.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken (MediaBrowser.Model.Services.IRequest request, System.String token) [0x00015] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	  at Emby.Server.Implementations.HttpServer.Security.AuthService.ValidateUser (MediaBrowser.Model.Services.IRequest request, MediaBrowser.Controller.Net.IAuthenticationAttributes authAttribtues) [0x00036] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	  at Emby.Server.Implementations.HttpServer.Security.AuthService.Authenticate (MediaBrowser.Model.Services.IRequest request, MediaBrowser.Controller.Net.IAuthenticationAttributes authAttribtues) [0x00000] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	  at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter (MediaBrowser.Model.Services.IRequest request, MediaBrowser.Model.Services.IResponse response, System.Object requestDto) [0x00005] in <74ae37b28fbd4b2b8a3b058955103d94>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost.ApplyRequestFilters (MediaBrowser.Model.Services.IRequest req, MediaBrowser.Model.Services.IResponse res, System.Object requestDto) [0x00089] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>c__async1.MoveNext () [0x000ea] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>c__async0.MoveNext () [0x00756] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	MediaBrowser.Controller.Net.SecurityException
	  at Emby.Server.Implementations.HttpServer.Security.AuthService.ValidateSecurityToken (MediaBrowser.Model.Services.IRequest request, System.String token) [0x00015] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	  at Emby.Server.Implementations.HttpServer.Security.AuthService.ValidateUser (MediaBrowser.Model.Services.IRequest request, MediaBrowser.Controller.Net.IAuthenticationAttributes authAttribtues) [0x00036] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	  at Emby.Server.Implementations.HttpServer.Security.AuthService.Authenticate (MediaBrowser.Model.Services.IRequest request, MediaBrowser.Controller.Net.IAuthenticationAttributes authAttribtues) [0x00000] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	  at MediaBrowser.Controller.Net.AuthenticatedAttribute.RequestFilter (MediaBrowser.Model.Services.IRequest request, MediaBrowser.Model.Services.IResponse response, System.Object requestDto) [0x00005] in <74ae37b28fbd4b2b8a3b058955103d94>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost.ApplyRequestFilters (MediaBrowser.Model.Services.IRequest req, MediaBrowser.Model.Services.IResponse res, System.Object requestDto) [0x00089] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler+<ProcessRequestAsync>c__async1.MoveNext () [0x000ea] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 
	--- End of stack trace from previous location where exception was thrown ---
	  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost+<RequestHandler>c__async0.MoveNext () [0x00756] in <283e6d64c4f54f1fbcf3f036adb82d8e>:0 

even though I know I have been entering the correct password.  The very same password that works at the web UI.  I have even deleted the password for that user and it still complains as above!!!!

 

That all said, I'm not sure that what I want is a Video addon like this.  I really like the native database sync/integration that the other addon has.  I just want it to sync reliably and reasonably quickly.  Is that not possible?  Is it known to be flaky at syncing?

Link to comment
Share on other sites

I don't think it is flaky this could have been a one-time thing. I was only suggesting EmbyCon as an option. Many others are using it without any problems and it's listed in the official Kodi add-ons repo.

Link to comment
Share on other sites

shred00

No.  This is not just a one time thing.  This flakiness of sync has been happening ever since I installed the addon many months ago.  It's just finally coming to a head for me here where it's either got to get fixed or I just stop using Emby as my Kodi media source.  The WAF factor is so low she won't even use Kodi any more.

 

Invariably several times a week, if not daily I have go through the "Perform manual sync/Repair local database/Perform local database reset" due to content being missing after the login-auto-sync or when I try to play something and Kodi says it cannot be found, etc.

 

I wonder how many people use this addon with multiple Kodi profiles, each profile linked to a different Emby user and are frequently switching user profiles (i.e. log out of one user in Kodi and log into another)?

 

Maybe that's what is making it so flaky here.  I mean, if most people are just using a single profile login, they won't experience startup-sync issues since they will always have their single profile active all of the time and will be constantly syncing.

Link to comment
Share on other sites

To be honest, the complexity of having to sync the database is one of the main drivers behind the EmbyCon add-on. I think you will be happy with that once the login issue is squared away.

Link to comment
Share on other sites

Angelblue05

@@shred00

 

I'm sorry you are having issues with the fast sync.

 

It sounds like an issue with the fast sync on mono. I use Kodi every single day and the sync works 100% here. So no, it's not normal for it to be flaky.

 

@@Luke

 

You remember what we were talking about? Was movie looked into so I can make the switch away from the fast sync to do updates?

Edited by Angelblue05
Link to comment
Share on other sites

shred00

@null_pointer: Thanks.  I will give the beta a try and report back in the thread I reported the problem in.  Appreciate the quick turn-around.

 

That said. ultimately I much much prefer the more "native" (feeling) integration of the database-sync addon.  I have always been in disagreement with Kodi's "addon-centric" vision of how things should work.

 

IMHO, content should not have to be accessed through addons (directly).  People shouldn't have to remember which of possibly dozens of addons they may have installed they have to open and use to view a certain item of media.  IMHO, addon's should transparently "aggregate" content into the typical "Movies" and "TV shows" content types (as well as potentially other general content types) such that all television shows from all addons are enumerated under the one single "TV shows" menu items.  Ditto for movies.

 

But unfortunately this is not how Kodi works (TTBOMK) so what we have is addons like the Emby sync addon enumerating into the Kodi Movies and TV shows databases.  And it would be great, if it were reliable.

 

But last night was again a typical nightmare with the sync addon.  20 minutes of hell just trying to get an item to be found and playable.  But I will start a new thread for that since this one is really about the fast sync failing and falling back to a full sync which seems to have been resolved with an Emby server update.

 

New thread is at https://emby.media/community/index.php?/topic/54320-re-sync-on-startup-or-login-seems-to-be-generally-flaky/

Link to comment
Share on other sites

shred00

To be honest, the complexity of having to sync the database is one of the main drivers behind the EmbyCon add-on. I think you will be happy with that once the login issue is squared away.

 

I'd be much happier if it could integrate more natively with Kodi's existing Movies and TV shows menu items.

 

That way, whichever backend one uses for content, whether it's Emby or direct filesystem access or whatever comes around tomorrow, the user interface is the same.  People don't have to keep relearning addon-of-the-week.

 

This kind of re-learning process is easy enough for techno-geeks like you, me and the rest of us, but every time I have to switch my 70 year old mother to a new addon interface, it's weeks of re-training.

 

We like learning new things.  70 year old ladies just want to watch their shows.

 

But alas, the (core) Kodi development community doesn't agree with me I don't think.  If they did, they'd make integrating into their Movies and TV shows functionality more natural and accessible -- they'd make plumbing content from addons into those menu items more the norm than the exception.

 

That all said, I do have EmbyCon installed and my initial impressions are that it's decent (it's early days for me with it still, so it's hard to go overboard and glow yet) at it's approach, it's the kind of approach (i.e. addon-centric) that I'm not a fan of.  I understand that it's approach is due to the limitations of the platform and are outside the control of the EmbyCon developer(s).  But I also wonder if addon developers were to voice a preference of more native content integration within Kodi, if the core devs would open things up a bit more and make it more available to add content that was accessible in a more native manner.

 

Cheers.

Link to comment
Share on other sites

What makes that complex is the fact that you're taking two different systems and trying to sync their databases in a customized way. Our library structures are similar to Kodi but not exactly the same, and the features that we've added to Emby are challenging to synchronize to a client database. All of these problems go away with the newer add-on style.

 

What Kodi could do to allow native imports is design some kind of standardized feed format, like for example, along the lines of an rss format, but something designed for Kodi that can be used to download library data. Then Emby Server could provide a url that returns that data.

 

Of course, even that approach has it's drawbacks too, because by forcing everything into a standardized Kodi format you will likely lose features provided by the external server (in this case Emby). Kodi already supports DLNA, and so does Emby, so if you wanted generic, you could just use that. But I'm guessing you don't want generic and that's the reason why you're here. So that brings us to the current sync method, which is completely custom, supports a broad range of Emby features, but is also the hardest way to do it and that's why it results in more troubleshooting than any of the other possibilities that I've mentioned. I think that is something you should be aware of when you make your decision about which method to use.

Link to comment
Share on other sites

@, the fact that there are so many different options i think is a reflection of the number of developers who have worked on this sort of thing over the years.

 

I even remember the idea of using upnp with custom metadata embedded to accommodate new features. I wonder why that idea never took off because you get to lean on something that is already built and ready.

Link to comment
Share on other sites

shred00

I think what really needs to happen (as I mentioned in another post/thread) is that Kodi needs to expand it's input into the Movies and TV shows menu items with an API.

 

Currently it seems (I'm not a Kodi developer but am a software developer so I can surmise :-)) that Kodi wants to own those two menu items and it wants to use (only) it's own filesystem scraper to populate it's private databases with movies and TV shows that it has found scraping the filesystem.

 

They need to separate those functions (the scraping and the populating of the databases) and provide a public API between them so that other addons can interface to that API and add their own movies and TV shows to the same database.  In this way those Movies and TV shows menu items would be an aggregate of all movies and TV shows from all sources.

 

Such an API need to provide the ability for live dynamic updates so that addons could be written in the EmbyCon manner that can query backends live and provide updates on what is found.

 

IMO, this would provide a much cleaner, less surprising interface with a much shallower learning curve.  There wouldn't be a need for people to learn how to use umpteen addons, one for each source that all supply movies and TV shows, and try to remember which addon they need to use to watch a certain piece of content.  There wouldn't be a need to hack up skins to populate new items for every addon.

 

Perhaps some addon developers could draw up a proposal to present to the core Kodi devs about such an API.  I am sure a proposal from some active addon developers would carry much more weight than one from some random guy they have never heard of before.

Link to comment
Share on other sites

Angelblue05

Yeah, Montellese is working on MediaImport feature but I have no idea how it's been going. It's essentially a clean take on Emby for kodi to import into the Kodi database, using a new API, rather than directly interacting with the database.

 

I think, that's the most we'll get from them.

 

 

Sent from my iPhone using Tapatalk

Edited by Angelblue05
Link to comment
Share on other sites

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