Skip to content

Commit

Permalink
regenerate fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cache-sk committed Jun 5, 2020
1 parent 6b78724 commit 8638cca
Show file tree
Hide file tree
Showing 31 changed files with 432 additions and 11 deletions.
16 changes: 13 additions & 3 deletions create_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
import zipfile
import platform
import stat
import traceback


AddonMetadata = collections.namedtuple(
Expand All @@ -80,7 +81,8 @@
INFO_BASENAME = 'addon.xml'
METADATA_BASENAMES = (
INFO_BASENAME,
'icon.png',
'icon.png','icon.jpg',
'logo.png','logo.jpg',
'fanart.jpg',
'LICENSE.txt')

Expand Down Expand Up @@ -203,6 +205,8 @@ def fetch_addon_from_git(addon_location, target_folder):

copy_metadata_files(
clone_source_folder, addon_target_folder, addon_metadata)
copy_metadata_files(
os.path.join(clone_source_folder, 'resources'), addon_target_folder, addon_metadata)

return addon_metadata
finally:
Expand Down Expand Up @@ -237,7 +241,9 @@ def fetch_addon_from_folder(raw_addon_location, target_folder):
if not samefile:
copy_metadata_files(
addon_location, addon_target_folder, addon_metadata)

copy_metadata_files(
os.path.join(addon_location, 'resources'), addon_target_folder, addon_metadata)

return addon_metadata


Expand All @@ -264,8 +270,12 @@ def fetch_addon_from_zip(raw_addon_location, target_folder):
for (source_basename, target_basename) in get_metadata_basenames(
addon_metadata):
try:
source_file = archive.open(os.path.join(root, source_basename))
source_file = archive.open(root + '/' + source_basename)
except KeyError:
try:
source_file = archive.open(root + '/resources/' + source_basename)
except KeyError:
continue
continue
with open(
os.path.join(addon_target_folder, target_basename),
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3e0644ccab59764686bfafb5f3ff1692 *plugin.video.dokumenty.tv-1.0.2.zip
2fa1d718bb75f183df2c5f4a48ccec82 *plugin.video.dokumenty.tv-1.0.2.zip
Binary file added repository/plugin.video.freeview.sk/icon.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cccda47f86c733ce87456bb1d9b45128 *plugin.video.freeview.sk-0.3.4.zip
043b6660a8ee0195801a23d1dd5780bc *plugin.video.freeview.sk-0.3.4.zip
Binary file added repository/plugin.video.rebit.tv/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified repository/plugin.video.rebit.tv/plugin.video.rebit.tv-0.0.2.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
93dee9232f5847a852ccb0e7d13d3e45 *plugin.video.rebit.tv-0.0.2.zip
d5c87e120f9da4a772b3602f9fef0ae7 *plugin.video.rebit.tv-0.0.2.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
88fdf95edfefeca88bec1d8a5413ddcf *plugin.video.sktonline-1.0.1.zip
521b15964e88e5e744451225d1d59efd *plugin.video.sktonline-1.0.1.zip
Binary file modified repository/plugin.video.yabop/plugin.video.yabop-1.2.6.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a4842613efc852c89a97faf95065c345 *plugin.video.yabop-1.2.6.zip
6e28a7a4e6374c2c01514e3644a7b334 *plugin.video.yabop-1.2.6.zip
Binary file added repository/plugin.video.yawsp/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified repository/plugin.video.yawsp/plugin.video.yawsp-0.1.5.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
69247c2717523c834a3edecb85514171 *plugin.video.yawsp-0.1.5.zip
6702920e4064d445ce2b20d90bc6f5f3 *plugin.video.yawsp-0.1.5.zip
17 changes: 17 additions & 0 deletions repository/repository.cder.sk/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.cder.sk"
name="cder.sk"
version="1.0.2"
provider-name="cder.sk">
<extension point="xbmc.addon.repository">
<info>https://cder.sk/addons/addons.xml.gz</info>
<checksum verify="sha256">https://cder.sk/addons/addons.xml.gz?sha256</checksum>
<datadir zip="true">https://cder.sk/addons/</datadir>
<hashes>sha256</hashes>
</extension>
<extension point="xbmc.addon.metadata">
<summary>Česko-slovenská komunita fanoušků XBMC/Kodi</summary>
<description>Repozitář pro česko-slovenskou komunitu fanoušků XBMC/Kodi</description>
<platform>all</platform>
</extension>
</addon>
Binary file added repository/repository.cder.sk/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions repository/repository.jsergio/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.jsergio" name="jsergio repo" version="1.0.4" provider-name="jsergio">
<extension point="xbmc.addon.repository" name="jsergio repo">
<info compressed="false">https://raw.githubusercontent.com/jsergio123/zips/master/addons.xml</info>
<checksum>https://raw.githubusercontent.com/jsergio123/zips/master/addons.xml.md5</checksum>
<datadir zip="true">https://raw.githubusercontent.com/jsergio123/zips/master/</datadir>
</extension>
<extension point="xbmc.addon.metadata">
<summary>Repo for jsergio Add-ons</summary>
<description>Repo for jsergio Add-ons</description>
<platform>all</platform>
</extension>
</addon>
Binary file added repository/repository.jsergio/fanart.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added repository/repository.jsergio/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
339 changes: 339 additions & 0 deletions repository/repository.kodi-czsk/LICENSE.txt

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions repository/repository.kodi-czsk/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="repository.kodi-czsk"
version="1.0.2"
name="Kodi CZ &amp; SK Doplňky"
provider-name="Kodi CZSK">
<extension point="xbmc.addon.repository"
name="repozitář českých a slovenských doplňků">
<info compressed="false">http://kodi-czsk.github.io/repository/repo/addons.xml</info>
<checksum>http://kodi-czsk.github.io/repository/repo/addons.xml.md5</checksum>
<datadir zip="true">http://kodi-czsk.github.io/repository/repo/</datadir>
</extension>
<extension point="xbmc.addon.metadata">
<summary>Kodi CZ &amp; SK Doplňky</summary>
<description>
This repository contains mostly video addons for czech users. [CR] Please send feedback, patches or fire any issues on http://xbmc-doplnky.googlecode.com
</description>
<description lang="cs">
Tento repozitář obsahuje video doplňky pro česky a slovensky mluvící uživatele.[CR] Máte-li jakékoliv poznámky, náměty, doplňky k začlenění nebo chcete nahlásit chybu, navštivte http://xbmc-doplnky.googlecode.com.
</description>
<platform>all</platform>
<language>cs sk</language>
</extension>
</addon>
2 changes: 2 additions & 0 deletions repository/repository.kodi-czsk/changelog-1.0.2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[B]1.0.0:[/B]
Initial version
Binary file added repository/repository.kodi-czsk/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions repository/repository.xbmc-kodi.cz/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.xbmc-kodi.cz"
name="XBMC-Kodi CZ/SK repozitář"
version="1.1.1"
provider-name="XBMC-Kodi.cz">
<extension point="xbmc.addon.repository">
<info>https://mirror.xbmc-kodi.cz/addons/addons.xml.gz</info>
<checksum verify="sha256">https://mirror.xbmc-kodi.cz/addons/addons.xml.gz?sha256</checksum>
<datadir zip="true">https://mirror.xbmc-kodi.cz/addons/</datadir>
<hashes>sha256</hashes>
</extension>
<extension point="xbmc.addon.metadata">
<summary>Česko-slovenská komunita fanoušků XBMC/Kodi</summary>
<description>Repozitář pro česko-slovenskou komunitu fanoušků XBMC/Kodi</description>
<platform>all</platform>
</extension>
</addon>
Binary file added repository/repository.xbmc-kodi.cz/icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b935848fabdd79f61656a273aacba746 *script.module.resolveurl-5.0.48.zip
06ab269969d2bbb23b3b0e68ce7db7e1 *script.module.resolveurl-5.0.48.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
da5ff75fb4eb7cb1a6d1b380f9a61661 *script.module.urlresolver-5.0.67.zip
ed805760291d36651a40fd453301b5f6 *script.module.urlresolver-5.0.67.zip

0 comments on commit 8638cca

Please sign in to comment.