import zipfile, os
p=r'c:\Users\mmiro\AppData\Roaming\Kodi\addons\plugin.video.mmirousek_v3'
found=False
for f in os.listdir(p):
    if f.startswith('repository.mmirahoresrepo') and f.endswith('.zip'):
        z=os.path.join(p,f)
        print('Found',z)
        found=True
        with zipfile.ZipFile(z) as zf:
            for name in zf.namelist():
                print('  ',name)
                if name.endswith('addon.xml'):
                    data=zf.read(name)
                    print('---- addon.xml (text) ----')
                    try:
                        print(data.decode('utf-8'))
                    except Exception:
                        print('  (cannot decode as utf-8)')
                    print('---- addon.xml (raw bytes repr) ----')
                    print(repr(data[:64]))
                    print('-------------------')
if not found:
    print('No repository zip found in',p)
