Skip to content

Commit

Permalink
Initial load of 9.1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
scott967 committed Jan 14, 2016
1 parent ef68d72 commit 67c7d48
Show file tree
Hide file tree
Showing 983 changed files with 345,380 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ $RECYCLE.BIN/
*.msm
*.msp

#edit backups
*.bak
# Windows shortcuts
*.lnk

Expand All @@ -31,13 +33,9 @@ $RECYCLE.BIN/
# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
# Files that might appear on external disk
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
Expand Down
4 changes: 4 additions & 0 deletions Downloads/resource.uisounds.aeonmq5/changelog-8.1.12.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[B][COLOR=FFFF8C00]BUILD 8.1.12 - RELEASE DATE 09/08/2015[/COLOR][/B]

New: GUI navigation sounds have been removed from skin and now are in a separate resource addon

Binary file added Downloads/resource.uisounds.aeonmq5/icon.png
Loading
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.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Aeon_MQ5_Mod_Krypton
Aeon MQ5 MOD for Kodi Krypton 17.0 +

A project to update the Kodi skin Aeon MQ5 for use in Kodi Krypton versions from 17.0.
The intent is to provide all functionality of MQ5 on Gotham (ver 2.02) with extensions to incorporate
new Helix, Isengard, and Jarvis capabilities. In some cases improvements from MQ5 Gotham will be included. Versions
of Aeon MQ5 Mod Krypton are numbered from 9.1.14. Master is at version
9.1.14. Stand alone download zip is in the "Releases".
112 changes: 112 additions & 0 deletions addons_xml_generator.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# *
# * Copyright (C) 2012-2013 Garrett Brown
# * Copyright (C) 2010 j48antialias
# *
# * This Program is free software; you can redistribute it and/or modify
# * it under the terms of the GNU General Public License as published by
# * the Free Software Foundation; either version 2, or (at your option)
# * any later version.
# *
# * This Program is distributed in the hope that it will be useful,
# * but WITHOUT ANY WARRANTY; without even the implied warranty of
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# * GNU General Public License for more details.
# *
# * You should have received a copy of the GNU General Public License
# * along with XBMC; see the file COPYING. If not, write to
# * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# * http://www.gnu.org/copyleft/gpl.html
# *
# * Based on code by j48antialias:
# * https://anarchintosh-projects.googlecode.com/files/addons_xml_generator.py

""" addons.xml generator """

import os
import sys

# Compatibility with 3.0, 3.1 and 3.2 not supporting u"" literals
if sys.version < '3':
import codecs
def u(x):
return codecs.unicode_escape_decode(x)[0]
else:
def u(x):
return x

class Generator:
"""
Generates a new addons.xml file from each addons addon.xml file
and a new addons.xml.md5 hash file. Must be run from the root of
the checked-out repo. Only handles single depth folder structure.
"""
def __init__( self ):
# generate files
self._generate_addons_file()
self._generate_md5_file()
# notify user
print("Finished updating addons xml and md5 files")

def _generate_addons_file( self ):
# addon list
addons = os.listdir( "." )
# final addons text
addons_xml = u("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<addons>\n")
# loop thru and add each addons addon.xml file
for addon in addons:
try:
# skip any file or .svn folder or .git folder
if ( not os.path.isdir( addon ) or addon == "repository.aeon-mq5-mod-krypton" or addon == "service.skin.widgets" or addon == ".git" ): continue
# create path
_path = os.path.join( addon, "addon.xml" )
# split lines for stripping
xml_lines = open( _path, "r" , encoding="UTF-8").read().splitlines()
# new addon
addon_xml = ""
# loop thru cleaning each line
for line in xml_lines:
# skip encoding format line
if ( line.find( "<?xml" ) >= 0 ): continue
# add line
if sys.version < '3':
addon_xml += unicode( line.rstrip() + "\n", "UTF-8" )
else:
addon_xml += line.rstrip() + "\n"
# we succeeded so add to our final addons.xml text
addons_xml += addon_xml.rstrip() + "\n\n"
except Exception as e:
# missing or poorly formatted addon.xml
print("Excluding %s for %s" % ( _path, e ))
# clean and add closing tag
addons_xml = addons_xml.strip() + u("\n</addons>\n")
# save file
self._save_file( addons_xml.encode( "UTF-8" ), file="addons.xml" )

def _generate_md5_file( self ):
# create a new md5 hash
try:
import md5
m = md5.new( open( "addons.xml", "r" ).read() ).hexdigest()
except ImportError:
import hashlib
m = hashlib.md5( open( "addons.xml", "r", encoding="UTF-8" ).read().encode( "UTF-8" ) ).hexdigest()

# save file
try:
self._save_file( m.encode( "UTF-8" ), file="addons.xml.md5" )
except Exception as e:
# oops
print("An error occurred creating addons.xml.md5 file!\n%s" % e)

def _save_file( self, data, file ):
try:
# write data to the file (use b for Python 3)
open( file, "wb" ).write( data )
except Exception as e:
# oops
print("An error occurred saving %s file!\n%s" % ( file, e ))


if ( __name__ == "__main__" ):
# start
Generator()
15 changes: 15 additions & 0 deletions repository.aeon-mq5-mod-krypton/addon.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="repository.aeon-mq5-mod-krypton" name="Aeon MQ5 Kryptonmod Skin Repository" version="1.0.0" provider-name="scott967">
<extension point="xbmc.addon.repository" name="Aeon MQ5 Kryptonmod Skin Repository">
<info compressed="false">https://raw.githubusercontent.com/scott967/Aeon_MQ5_Mod_Krypton/master/addons.xml</info>
<checksum>https://raw.githubusercontent.com/scott967/Aeon_MQ5_Mod_Krypton/master/addons.xml.md5</checksum>
<datadir zip="true">https://raw.githubusercontent.com/scott967/Aeon_MQ5_Mod_Krypton/master/Downloads</datadir>
<hashes>false</hashes>
</extension>
<extension point="xbmc.addon.metadata">
<summary>Install Aeon MQ 5 Kryptonmod skin from Add-on Repository</summary>
<description>Kryptonmod is a mod of skin Aeon MQ5 developed by Marcos Qui for XBMC Gotham intended for use in Kodi Jarvis (ver 16.+)</description>
<disclaimer></disclaimer>
<platform>all</platform>
</extension>
</addon>
3 changes: 3 additions & 0 deletions repository.aeon-mq5-mod-krypton/changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1.0.0

Initial release for Aeon MQ5 Krypton Mod 9.1.14
Binary file added repository.aeon-mq5-mod-krypton/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 67c7d48

Please sign in to comment.