mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-28 20:06:12 +00:00
Update patch
Move patch from cache to addon_data. No longer need to restart Kodi to apply the first patch.
This commit is contained in:
parent
7df7e5d4a8
commit
403e5834e0
8 changed files with 55 additions and 34 deletions
|
@ -373,6 +373,9 @@ def copytree(path, dest):
|
|||
'''
|
||||
dirs, files = xbmcvfs.listdir(path)
|
||||
|
||||
if not xbmcvfs.exists(dest):
|
||||
xbmcvfs.mkdirs(dest)
|
||||
|
||||
if dirs:
|
||||
copy_recursive(path, dirs, dest)
|
||||
|
||||
|
@ -401,6 +404,9 @@ def copy_file(path, dest):
|
|||
|
||||
''' Copy specific file.
|
||||
'''
|
||||
if path.endswith('.pyo'):
|
||||
return
|
||||
|
||||
xbmcvfs.copy(path, dest)
|
||||
LOG.debug("copy: %s to %s", path, dest)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue