Files
jellycon/default.py

41 lines
1.2 KiB
Python
Raw Normal View History

2014-09-28 10:30:07 +10:00
'''
@license : Gnu General Public License - see LICENSE.TXT
2014-09-28 20:24:56 +10:00
This is free software: you can redistribute it and/or modify
2014-09-28 10:30:07 +10:00
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.
2014-09-28 20:24:56 +10:00
This is distributed in the hope that it will be useful,
2014-09-28 10:30:07 +10:00
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
2014-09-28 20:24:56 +10:00
along with software. If not, see <http://www.gnu.org/licenses/>.
2014-09-28 10:30:07 +10:00
Thanks to Hippojay for the PleXBMC plugin this is derived from
2014-09-28 20:24:56 +10:00
This software is derived form the XBMB3C addon
2014-09-28 10:30:07 +10:00
'''
import os
2014-09-28 10:30:07 +10:00
import xbmcplugin
import xbmcgui
import xbmcaddon
2014-09-28 20:24:56 +10:00
__settings__ = xbmcaddon.Addon(id='plugin.video.mbcon')
2014-09-28 10:30:07 +10:00
__cwd__ = __settings__.getAddonInfo('path')
BASE_RESOURCE_PATH = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib' ) )
sys.path.append(BASE_RESOURCE_PATH)
import Functions
2014-09-28 10:30:07 +10:00
Functions.mainEntryPoint()
2014-10-02 16:02:50 +10:00
2014-09-28 10:30:07 +10:00
#clear done and exit.
2014-10-30 14:29:19 +11:00
#sys.modules.clear()
2014-10-02 16:02:50 +10:00