mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-08-16 20:41:35 +00:00
add screen app size to GA
only ping GA if playing dont send an app stopped message
This commit is contained in:
parent
9360843988
commit
ab33ef5848
4 changed files with 21 additions and 10 deletions
|
@ -81,9 +81,6 @@ class LibrarySync(threading.Thread):
|
|||
|
||||
# Run at start up - optional to use the server plugin
|
||||
if settings('SyncInstallRunDone') == "true":
|
||||
|
||||
ga.sendEventData("SyncAction", "FastSync")
|
||||
|
||||
# Validate views
|
||||
self.refreshViews()
|
||||
completed = False
|
||||
|
@ -97,11 +94,13 @@ class LibrarySync(threading.Thread):
|
|||
if plugin['Name'] == "Emby.Kodi Sync Queue":
|
||||
log.debug("Found server plugin.")
|
||||
self.isFastSync = True
|
||||
ga.sendEventData("SyncAction", "FastSync")
|
||||
completed = self.fastSync()
|
||||
break
|
||||
|
||||
if not completed:
|
||||
# Fast sync failed or server plugin is not found
|
||||
ga.sendEventData("SyncAction", "Sync")
|
||||
completed = ManualSync().sync()
|
||||
else:
|
||||
# Install sync is not completed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue