#-------------------------------------------------------------------------------
# Name:        module1
# Purpose:
#
# Author:      User
#
# Created:     26/10/2015
# Copyright:   (c) User 2015
# Licence:     <your licence>
#-------------------------------------------------------------------------------





# Meta
board_config_arch = {
    "catalog_page_url":"https://www.ponychan.net/arch/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/arch/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"arch",#
    "site_name":"ponychan",#
    }
board_config_site = {
    "catalog_page_url":"https://www.ponychan.net/site/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/site/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"site",#
    "site_name":"ponychan",#
    }
# Discussion
board_config_pony = {
    "catalog_page_url":"https://www.ponychan.net/pony/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/pony/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"pony",#
    "site_name":"ponychan",#
    }
board_config_oat = {
    "catalog_page_url":"https://www.ponychan.net/oat/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/oat/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"oat",#
    "site_name":"ponychan",#
    }
board_config_anon = {
    "catalog_page_url":"https://www.ponychan.net/anon/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/anon/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"anon",
    "site_name":"ponychan",#
    }
board_config_gala = {
    "catalog_page_url":"https://www.ponychan.net/gala/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/gala/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"gala",#
    "site_name":"ponychan",#
    }
# Creativity
board_config_rp = {
    "catalog_page_url":"https://www.ponychan.net/rp/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/rp/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"rp",#
    "site_name":"ponychan",#
    }
board_config_ooc = {
    "catalog_page_url":"https://www.ponychan.net/ooc/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/ooc/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"ooc",#
    "site_name":"ponychan",#
    }
board_config_pic = {
    "catalog_page_url":"https://www.ponychan.net/pic/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/pic/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"pic",#
    "site_name":"ponychan",#
    }
board_config_fan = {
    "catalog_page_url":"https://www.ponychan.net/fan/catalog.html",# Absolute URL to access catalog page
    "thread_url_prefix":"https://www.ponychan.net/fan/res/",# The thread url before the thread number
    "thread_url_suffix":".html",# The thread url after the thread number
    "relative_image_link_prefix":"https://www.ponychan.net",#The image link before /anon/src/1437401812560.jpg
    "relative_thumbnail_link_prefix":"https://www.ponychan.net",# #The thumbnail link before /anon/thumb/1441401127342.png
    "rescan_delay":60,# Time to pause after each cycle of scannign catalog and threads
    "shortname":"fan",#
    "site_name":"ponychan",#
    }



# References to all boards we've defined
board_settings_list = [
    # Meta
    board_config_arch,
    board_config_site,
    # Discussion
    board_config_pony,
    board_config_oat,
    board_config_anon,
    board_config_gala,
    # Creativity
    board_config_rp,
    board_config_ooc,
    board_config_pic,
    board_config_fan,
    ]





def get_settings(board_shortname):
    for board_settings_dict in board_settings_list:
        if board_shortname == board_settings_dict["shortname"]:
            return board_settings_dict
    logging.error("Could not find board!")
    logging.debug("locals(): "+repr(locals()))
    raise ValueError


def main():
    pass

if __name__ == '__main__':
    main()
