Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (33 sloc) 1.445 kB
# Copyright 2011 Stephen Denham, Joachim Basmaison, Cyril Leclerc
#
# This file is part of xbmc-qobuz.
#
# xbmc-qobuz 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 3 of the License, or
# (at your option) any later version.
#
# xbmc-qobuz 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-qobuz. If not, see <http://www.gnu.org/licenses/>.
import os
import sys
import xbmcaddon
import xbmc
__addon__ = xbmcaddon.Addon(id='plugin.audio.qobuz')
__addonversion__ = __addon__.getAddonInfo('version')
__addonid__ = __addon__.getAddonInfo('id')
__cwd__ = __addon__.getAddonInfo('path')
addonDir = __addon__.getAddonInfo('path')
libDir = xbmc.translatePath(os.path.join(addonDir, 'resources', 'lib'))
qobuzDir = xbmc.translatePath(os.path.join(libDir, 'qobuz'))
sys.path.append(libDir)
sys.path.append(qobuzDir)
from bootstrap import QobuzBootstrap
import qobuz
boot = QobuzBootstrap(__addon__, int(sys.argv[1]))
sys.exit(boot.bootstrap_app())
Jump to Line
Something went wrong with that request. Please try again.