<filename>plugin.video.catchuptvandmore/resources/lib/skeletons/nl_live.py
# -*- coding: utf-8 -*-
"""
    Catch-up TV & More
    Copyright (C) 2016  SylvainCecchetto

    This file is part of Catch-up TV & More.

    Catch-up TV & More 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 of the License, or
    (at your option) any later version.

    Catch-up TV & More 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 Catch-up TV & More; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""

# The unicode_literals import only has
# an effect on Python 2.
# It makes string literals as unicode like in Python 3
from __future__ import unicode_literals
from codequick import Script
"""
The following dictionaries describe
the addon's tree architecture.
* Key: item id
* Value: item infos
    - callback: Callback function to run once this item is selected
    - thumb: Item thumb path relative to "media" folder
    - fanart: Item fanart path relative to "meia" folder
    - module: Item module to load in order to work (like 6play.py)
"""

menu = {
    'npo-1': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npo1.png',
        'fanart': 'channels/nl/npo1_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 1
    },
    'npo-2': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npo2.png',
        'fanart': 'channels/nl/npo2_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 2
    },
    'npo-zapp': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npozapp.png',
        'fanart': 'channels/nl/npozapp_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 3
    },
    'npo-1-extra': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npo1extra.png',
        'fanart': 'channels/nl/npo1extra_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 4
    },
    'npo-2-extra': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npo2extra.png',
        'fanart': 'channels/nl/npo2extra_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 5
    },
    'npo-zappelin-extra': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npozappelinextra.png',
        'fanart': 'channels/nl/npozappelinextra_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 6
    },
    'npo-nieuws': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/nponieuws.png',
        'fanart': 'channels/nl/nponieuws_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 7
    },
    'npo-politiek': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npopolitiek.png',
        'fanart': 'channels/nl/npopolitiek_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 8
    },
    'at5': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/at5.png',
        'fanart': 'channels/nl/at5_fanart.jpg',
        'module': 'resources.lib.channels.nl.at5',
        'enabled': True,
        'order': 10
    }
}

<filename>plugin.video.catchuptvandmore/resources/lib/skeletons/nl_live.py
# -*- coding: utf-8 -*-
"""
    Catch-up TV & More
    Copyright (C) 2016  SylvainCecchetto

    This file is part of Catch-up TV & More.

    Catch-up TV & More 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 of the License, or
    (at your option) any later version.

    Catch-up TV & More 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 Catch-up TV & More; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""

# The unicode_literals import only has
# an effect on Python 2.
# It makes string literals as unicode like in Python 3
from __future__ import unicode_literals
from codequick import Script
"""
The following dictionaries describe
the addon's tree architecture.
* Key: item id
* Value: item infos
    - callback: Callback function to run once this item is selected
    - thumb: Item thumb path relative to "media" folder
    - fanart: Item fanart path relative to "meia" folder
    - module: Item module to load in order to work (like 6play.py)
"""

menu = {
    'npo-1': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npo1.png',
        'fanart': 'channels/nl/npo1_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 1
    },
    'npo-2': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npo2.png',
        'fanart': 'channels/nl/npo2_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 2
    },
    'npo-zapp': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npozapp.png',
        'fanart': 'channels/nl/npozapp_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 3
    },
    'npo-1-extra': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npo1extra.png',
        'fanart': 'channels/nl/npo1extra_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 4
    },
    'npo-2-extra': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npo2extra.png',
        'fanart': 'channels/nl/npo2extra_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 5
    },
    'npo-zappelin-extra': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npozappelinextra.png',
        'fanart': 'channels/nl/npozappelinextra_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 6
    },
    'npo-nieuws': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/nponieuws.png',
        'fanart': 'channels/nl/nponieuws_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 7
    },
    'npo-politiek': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/npopolitiek.png',
        'fanart': 'channels/nl/npopolitiek_fanart.jpg',
        'module': 'resources.lib.channels.nl.npo',
        'enabled': True,
        'order': 8
    },
    'at5': {
        'callback': 'live_bridge',
        'thumb': 'channels/nl/at5.png',
        'fanart': 'channels/nl/at5_fanart.jpg',
        'module': 'resources.lib.channels.nl.at5',
        'enabled': True,
        'order': 10
    }
}

# -*- coding: utf-8 -*- Catch-up TV & More     Copyright (C) 2016  SylvainCecchetto      This file is part of Catch-up TV & More.      Catch-up TV & More 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 of the License, or     (at your option) any later version.      Catch-up TV & More 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 Catch-up TV & More; if not, write to the Free Software Foundation,     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # The unicode_literals import only has # an effect on Python 2. # It makes string literals as unicode like in Python 3 The following dictionaries describe the addon's tree architecture. * Key: item id * Value: item infos     - callback: Callback function to run once this item is selected     - thumb: Item thumb path relative to "media" folder     - fanart: Item fanart path relative to "meia" folder     - module: Item module to load in order to work (like 6play.py)