Collection of Frequently Asked Questions for settings up the wizard
The easiest way to configure the wizard is to use the /AutoConfig/ page. I would recomment you start by making the text files first.
Here is the correct way to setup a text file for the builds list with the auto update feature included. If you do not wish to use the auto update feature because you have a repo then do not include the top 3 lines.
id="plugin.program.aftermathwizard"
version="0.1.0"
zip="http://aftermathwizard.net/repo/zips/plugin.program.aftermathwizard.zip"

name="Test build 1"
version="0.2"
url="http://aftermathwizard.net/repo/builds/test.zip"
gui="http://aftermathwizard.net/repo/builds/test_guisettings.zip"
kodi="15.2"
theme="http://"
icon="http://aftermathwizard.net/img/test1.png"
fanart="http://aftermathwizard.net/img/test1fa.png"
preview="http://"
adult="no"
description="Test Build 1 Information"

name="Test build 2"
version="0.1"
url="http://aftermathwizard.net/repo/builds/test2.zip"
gui="http://aftermathwizard.net/repo/builds/test2_guisettings.zip"
kodi="16.1"
theme="http://aftermathwizard.net/repo/wizard/test1themes.txt"
icon="http://aftermathwizard.net/img/test1.png"
fanart="http://aftermathwizard.net/img/test1fa.png"
preview="http://"
adult="yes"
description="Test Build 2 Information"
* Note: preview was added in 0.1.7 to allow you to add a YouTube Video preview of the build.
** Note: If you leave anything blank (IE: theme="") or just dont include it at all the regex expression cannot read that build since it doesnt match the format required. This is how it reads the text file re.compile('name="(.+?)".+?ersion="(.+?)".+?rl="(.+?)".+?ui="(.+?)".+?odi="(.+?)".+?heme="(.+?)".+?con="(.+?)".+?anart="(.+?)".+?review="(.+?)".+?dult="(.+?)".+?escription="(.+?)"').findall(BUILDURL). If the ""s are empty, the regex will just go right past the build. If you do not have a theme file, youtube preview or a gui settings then just use http:// in its place theme="http://".
Themes are used for multiple builds that have the exact same menu items but have different styles to the bars and backgrounds. For instance, instead of having 5 builds with the same menu items but have different sports themes you can use the themes to reduce it to just 1 build with 5 themes which would make it easier to manage in the long run.
Here is the correct way to setup a text file for a themes list for a build.
name="Default theme"
url="http://aftermathwizard.net/repo/builds/theme1.zip"
icon="http://aftermathwizard.net/img/test1.png"
fanart="http://aftermathwizard.net/img/test1.png"
adult="no"
description="Default theme no Adult"

name="Red theme"
url="http://aftermathwizard.net/repo/builds/theme2.zip"
icon="http://aftermathwizard.net/img/test2.png"
fanart="http://aftermathwizard.net/img/test2.png"
adult="yes"
description="Red Adult Theme"
*Note: description was added in 0.1.6 and adult was added in 0.1.7. Themes marked yes will only display if show adult is enabled. Each build will need its own text file for themes. After you created the text file then update the builds text file with the theme="http://urltobuildfile.com"


The theme zip file will most likely contain the following folders:
/addons/(skinnamehere)/media/Textures.xbt
/userdata/backgrounds/
/userdata/addon_data/(skinnamehere)/settings.xml
The Themes downloader extracts the zip into the main kodi folder, you will need to create the zip file the same way you would a build backup with the /addons/ and /userdata/ folders. You can also create a theme backup via the Maintenance > Backup Theme.
There is quiet a bit of theming you can do with the menu items on the wizard without having to open up the default.py and editing everything.
Menu text:
# Character used in seperator
SPACER         = '='
# Hide the ====== seperators 'Yes' or 'No'
HIDESPACERS    = 'No'

# You can edit these however you want, just make sure that you have a %s in each of the
# THEME's so it grabs the text from the menu item
COLOR1         = 'dodgerblue'
COLOR2         = 'white'
# Primary menu items   / %s is the menu item and is required
THEME1         = '[COLOR '+COLOR1+'][B][I]([COLOR '+COLOR2+']Aftermath[/COLOR])[/B][/COLOR] [COLOR '+COLOR2+']%s[/COLOR][/I]'
# Build Names          / %s is the menu item and is required
THEME2         = '[COLOR '+COLOR2+']%s[/COLOR]'
# Alternate items      / %s is the menu item and is required
THEME3         = '[COLOR '+COLOR1+']%s[/COLOR]'
# Current Build Header / %s is the menu item and is required
THEME4         = '[COLOR '+COLOR1+'][B]Current Build:[/B][/COLOR] [COLOR '+COLOR2+']%s[/COLOR]'
# Current Theme Header / %s is the menu item and is required
THEME5         = '[COLOR '+COLOR1+'][B]Current Theme:[/B][/COLOR] [COLOR '+COLOR2+']%s[/COLOR]'
Icons:
In the uservar.py file you can set any icon for the for the menus items. If the icon is local then you would use os.path.join(ART, 'Builds.png'), do not include quotes around the local images. For one hosted on the web 'http://webaddressforimage.com', make sure to include quotes around the URL or you will recieve an error. The default Icon will be used if you leave it as 'http://'
#########################################################
### THEMING MENU ITEMS ##################################
#########################################################
# If you want to use locally stored icons the place them in the Resources/Art/
# folder of the wizard then use os.path.join(ART, 'imagename.png')
# do not place quotes around os.path.join
# Example:  ICONMAINT     = os.path.join(ART, 'mainticon.png')
#           ICONSETTINGS  = 'http://aftermathwizard.net/repo/wizard/settings.png'
# Leave as http:// for default icon
ICONBUILDS     = os.path.join(ART, 'Builds.png')
ICONMAINT      = os.path.join(ART, 'Maintenance.png')
ICONAPK        = 'http://aftermathwizard.net/repo/img/apk.png'
ICONADDONS     = 'http://'
ICONYOUTUBE    = 'http://'
ICONSAVE       = 'http://'
ICONTRAKT      = 'http://'
ICONREAL       = 'http://'
ICONLOGIN      = 'http://'
ICONCONTACT    = os.path.join(ART, 'info.png')
ICONSETTINGS   = os.path.join(ART, 'Settings.png')
The Apk text file is fairly simple to setup it only uses 6 attributes:
name="Apk 1"
section="no"
url="http://aftermathwizard.net/repo/apks/apk1.apk"
icon="http://aftermathwizard.net/img/test1.png"
fanart="http://aftermathwizard.net/img/test1fa.png"
adult="yes"
description="APK 1 info"

name="Kodi Forks"
section="yes"
url="http://aftermathwizard.net/repo/apks/kodifork.txt"
icon="http://aftermathwizard.net/img/test2.png"
fanart="http://aftermathwizard.net/img/test2fa.png"
adult="no"
description="APK 2 info"
*Note: section was added in 0.1.7 in order to be able to categories your apks instead of having it in one big list.
In the uservar.py you will find the 2 settings below. First is the name that displays in the menu's and second is the text file.
# Text File for addon installer.  Leave as 'http://' to ignore
ADDONFILE      = 'http://aftermathwizard.net/repo/wizard/addons.txt'
Here is the correct way to setup the text file for the Addon Install for a direct install.
- Url being the direct link to the zip and repository, repositoryxml, and repositoryurl to default values.
name="Aftermath Wizard"
plugin="plugin.program.aftermathwizard"
url="http://aftermathwizard.net/repo/zips/plugin.program.aftermathwizard-0.1.6.zip"
repository="none"
repositoryxml="http://"
repositoryurl="http://"
icon="http://aftermathwizard.net/wizard/icon.png"
fanart="http://aftermathwizard.net/wizard/fanart.jpg"
adult="yes"
description="Adult Addon."

Here is the correct way to setup the text file for the Addon Install for a repo install.
- Url is the folder the zip is located in.
- Repository is the plugin id of the repository.
- RepositoryXML is the location of the main addons.xml in the repository with all the addons.
- RepositoryURL is the location of the folder the zip is located in.
name="Bob"
plugin="plugin.video.bob"
url="https://raw.githubusercontent.com/noobsandnerds/noobsandnerds/master/zips/plugin.video.bob/"
repository="repository.noobsandnerds"
repositoryxml="https://raw.githubusercontent.com/noobsandnerds/noobsandnerds/master/zips/addons.xml"
repositoryurl="https://raw.githubusercontent.com/noobsandnerds/noobsandnerds/master/zips/repository.noobsandnerds/"
icon="https://raw.githubusercontent.com/noobsandnerds/noobsandnerds/master/plugin.video.bob/icon.png"
fanart="https://raw.githubusercontent.com/noobsandnerds/noobsandnerds/master/plugin.video.bob/fanart.jpg"
adult="no"
description="Bob Playlist Addon."
The way the repo install works is that it downloads the repository then runs the addon which makes kodi install it, if kodi fails to install it then it does the backup method which downloads the zip from the repository and extracts it.
name="Adult Addons"
plugin="section"
url="http://aftermathwizard.net/repo/addons2.txt"
repository="none"
repositoryxml="http://"
repositoryurl="http://"
icon="https://raw.githubusercontent.com/noobsandnerds/noobsandnerds/master/plugin.video.bob/icon.png"
fanart="https://raw.githubusercontent.com/noobsandnerds/noobsandnerds/master/plugin.video.bob/fanart.jpg"
adult="yes"
description="Adult Addons Section."
With the addition of sections in 0.1.7, if you want to add a categorie for the addons set the plugin to section and make the url a text file.
In the uservar.py you will find the 2 settings below. First is the name that displays in the menu's and second is the text file.
# Text File with Youtube Videos urls.  Leave as 'http://' to ignore
YOUTUBETITLE   = 'Youtube Tutorials'
YOUTUBEFILE    = 'http://aftermathwizard.net/repo/wizard/youtube.txt'
Here is the correct way to setup the text file for the YouTube Videos.
name="Queue Feature of BOB"
section="no"
url="https://youtu.be/y0w8zIH4lOY"
icon="https://i.ytimg.com/vi/y0w8zIH4lOY/hqdefault.jpg?custom=true&w=196&h=110&stc=true&jpg444=true&jpgq=90&sp=68&sigh=pDUZ_rR2uHa4rBE41EixwMMAIuU"
fanart="http://www.dabutcher.org/fanart/Fanart.png"
description="Guide to using the queue feature in Bob"

name="Aftermath Wizard Guides"
section="yes"
url="http://aftermathwizard.net/repo/youtube2.txt"
icon="https://i.ytimg.com/vi/M6hPbHzK8Lw/hqdefault.jpg?custom=true&w=196&h=110&stc=true&jpg444=true&jpgq=90&sp=68&sigh=8jBco2mpljuMmB1qso7vA-Lc0AY"
fanart="http://www.dabutcher.org/fanart/Fanart.png"
description="Guide for setting up Aftermath"
* Note: sections where added in 0.1.7 if you wish to add a category set section to "yes" and set the url to a text file.
You can use the following types of urls for the text file:
- https://youtu.be/M6hPbHzK8Lw
- https://www.youtube.com/watch?v=M6hPbHzK8Lw
- https://www.youtube.com/embed/M6hPbHzK8Lw
In the uservar.py you will find the follow setting below. This is the text file.
# Text File for advanced settings.  Leave as 'http://' to ignore
ADVANCEDFILE   = 'http://aftermathwizard.net/testtext/advanced.txt'
Here is the correct way to setup the text file for the Advanced Settings.
name="Test Advanced 1"
section="no"
url="http://aftermathwizard.net/repo/wizard/advancedsettings1.xml"
icon="http://aftermathwizard.net/repo/wizard/icon.png" 
fanart="http://aftermathwizard.net/repo/wizard/fanart.jpg"
description="Example of advancedsettings.xml"

name="Jarvis Settings"
section="yes"
url="http://aftermathwizard.net/repo/wizard/jarvis.txt"
icon="http://aftermathwizard.net/repo/wizard/icon.png" 
fanart="http://aftermathwizard.net/repo/wizard/fanart.jpg"
description="Example of advancedsettings.xml"

name="Krypton Settings"
section="yes"
url="http://aftermathwizard.net/repo/wizard/krypton.txt"
icon="http://aftermathwizard.net/repo/wizard/icon.png" 
fanart="http://aftermathwizard.net/repo/wizard/fanart.jpg"
description="Example of advancedsettings.xml"
* Note: sections where added in 0.1.7 if you wish to add a category set section to "yes" and set the url to a text file.
The Notifications window is a simple window that you can use to send a message about updates to the builds or even just a welcome message. When the window appears on the users screen they have two options Remind me Later or Dismiss, Remind me later will have the window reappear on the next startup and Dismiss make it so the window doesnt appear again until a new Notification is made. The user also has the option to unsubscribe in the addon settings window. In the Uservar.py near the bottom you will see a list of options to use for the window.

#########################################################
### NOTIFICATION WINDOW##################################
#########################################################
ENABLE         = 'Yes'                                     # Enable Notification screen Yes or No
NOTIFICATION   = 'http://aftermathwizard.net/repo/wizard/notify.txt' # Url to notification file
These two are pretty self-explanatory, use either ENABLE = 'Yes' or ENABLE = 'No' to turn the window on and off. NOTIFICATION = '' is the location of the notify text file.
# Use either 'Text' or 'Image'
HEADERTYPE     = 'Text'
# Font size of header
HEADERMESSAGE  = 'Aftermath Wizard'
# url to image if using Image 424x180
HEADERIMAGE    = ''
This section is related just to the header of the notifications window, choose either Image Header(HEADERTYPE = 'Image') or a Text Header(HEADERTYPE = 'Text').
Image Header: For the Images header enter in the URL for the image in the HEADERIMAGE = ''
Text Header: For the Text header you will need to enter in the Font Size in FONTHEADER = '' on the header and the Title messsage in HEADERMESSAGE = ''

BACKGROUND = 'http://aftermathwizard.net/repo/wizard/img/AMaftermath.jpg' # Background for Notification Window ######################################################### These two options are for the image used in the background of the window(BACKGROUND = '') and the Font size of the message itself(FONTSETTINGS = '').
The struction of the text will has to be as follows
<ID>1
<Splitter>|||
<Message>Welcome to the Aftermath Wizard, I hope you enjoy the builds that we have to offer.
The <ID> is used so it can check if the message was dismissed previously or not.
The <Splitter> is used to seperate the ID and the Message in the wizard addon.
The <Message> is what you would like for the user to see. There are several codes that you can to use to add flash to the message.
[B]bold[/B] - bold text.
[I]italics[/I] - italic text.
[LIGHT]lighten[/LIGHT] - light weight text (Jarvis only).
[COLOR red]red text[/COLOR] - colored text.
[UPPERCASE]force text uppercase[/UPPERCASE] - force text to uppercase.
[LOWERCASE]Force Text Lowercase[/LOWERCASE] - force text to lowercase.
[CR] - carriage return (line break).
Here is an example of a Notifications window, note that this has to be in its own text file.
1
|||
Welcome to the Aftermath Wizard, I hope you enjoy the builds that we have to offer.
If you would list to send another message to your users then simply increase the id and change the message.
2
|||
Welcome to the Aftermath Wizard, Text build 1 has been updated.