mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-21 00:35:08 +00:00
Add force refresh playlist
To correct missing tag bug.
This commit is contained in:
parent
7b3aae2d83
commit
a5e9fb1698
3 changed files with 46 additions and 9 deletions
|
@ -59,7 +59,8 @@ class Main:
|
|||
'channelsfolder': entrypoint.BrowseChannels,
|
||||
'nextup': entrypoint.getNextUpEpisodes,
|
||||
'inprogressepisodes': entrypoint.getInProgressEpisodes,
|
||||
'recentepisodes': entrypoint.getRecentEpisodes
|
||||
'recentepisodes': entrypoint.getRecentEpisodes,
|
||||
'refreshplaylist': entrypoint.refreshPlaylist
|
||||
}
|
||||
|
||||
if modes.get(mode):
|
||||
|
@ -87,10 +88,12 @@ class Main:
|
|||
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)')
|
||||
elif mode in ("manualsync", "repair"):
|
||||
import librarysync
|
||||
lib = librarysync.LibrarySync()
|
||||
if mode == "manualsync":
|
||||
librarysync.LibrarySync().fullSync(manualrun=True)
|
||||
lib.fullSync(manualrun=True)
|
||||
else:
|
||||
librarysync.LibrarySync().fullSync(repair=True)
|
||||
lib.fullSync(repair=True)
|
||||
|
||||
elif mode == "texturecache":
|
||||
import artwork
|
||||
artwork.Artwork().FullTextureCacheSync()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue