U o.a2@sdZddlZddlZddlZddlZddlZddlZdZejZ ej Z ej Z ejZejZejZejZejZejZejZejZejZejZ ej!Z"ej#Z#ej$Z%e&Z'e(Z)e*ej+Z,ej-Z.e-dZ/e-edZ0e-edZ1e2dZ3e4Z5e6Z7e8Z9ej:Z;ejZ?ej@ZAejBZCejDZEejFZGejHZIejJZKejLZMejNZOejPZPejQjRZRejQRe1dZSejQRe1d ZTejQRe1d ZUed d d fddZVddZWd%ddZXed d d fddZYed fddZZdedfddZ[ddZ\ddZ]dd Z^d!d"Z_d#d$Z`dS)&aM Tulip routine libraries, based on lambda's lamlib Author Twilight0 License summary below, for more details please read license.txt file This program 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. This program 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 this program. If not, see . Nizspecial://skin/pathprofilei'z settings.xmlz bookmarks.dbzcache.dbnamei c CsN|dkrtd}ztj||||ddWn td||||fYnXdS)NriconF)soundzNotification(%s, %s, %s, %s)) addonInfodialog notificationexecute)messageheadingrtimeru/storage/emulated/0/Android/data/org.mmc.matrix/files/.kodi/addons/plugin.video.iptv.mmc/resources/modules/control.py infoDialogMs rcCs t||SN)r ok)r line1rrrokDialogVsrcCs t||Sr)r input)r _type_rrr inputDialogZsrcCst||||||Sr)r yesno)rline2line3r nolabelyeslabelrrr yesnoDialog^srcCs t||Sr)r select)listr rrr selectDialogbsr!idcCsnzZttd||dkr"t|d\}}tdt|dtdt|dWnYdSXdS)NzAddon.OpenSettings(%s).z SetFocus(%i)d)idler Exceptionsplitint)queryr"cfrrr openSettingses r-cCs*zttWnYdSXdSr)r& xbmcaddonAddonr-rrrropenSettings_altrs r0cCstdS)NzActivateWindow(VideoPlaylist)r rrrr openPlaylistzsr2cCstdS)NzContainer.Refreshr1rrrrrefresh~sr3cCstdS)NzDialog.Close(busydialog)r1rrrrr&sr&cCstd|S)NzContainer.SetViewMode({0}))r format)Zvmidrrr set_view_modesr5)r)a__doc__osxbmcr. xbmcpluginxbmcguixbmcvfsintegerr/addongetLocalizedStringlang getSettingsetting setSetting getAddonInforaddDirectoryItemaddItemendOfDirectory directory setContentcontent setPropertypropertysetResolvedUrlresolve getInfoLabelZ infoLabelgetCondVisibilityZcondVisibilityexecuteJSONRPCjsonrpcKeyboardkeyboardsleepexecutebuiltinr getSkinDirskinPlayerplayerPlayListPLAYLIST_VIDEOplaylist translatePathZ transPathZskinPath addonPathdataPathWindowwindowDialogr DialogProgressZprogressDialog WindowDialogZ windowDialog ControlButtonbutton ControlImageimageINPUT_ALPHANUMZalphanum_inputINPUT_PASSWORDZpassword_inputALPHANUM_HIDE_INPUT hide_inputListItemitemFileZopenFilemkdirmakeFiledeleteZ deleteFilermdirZ deleteDirlistdirZlistDirexistsrjoinZ settingsFileZ bookmarksFile cacheFilerrrrr!r-r0r2r3r&r5rrrrsp0