Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
ó
Ch-_c@s©ddlmZmZmZmZmZmZddlmZm	Z	ddl
mZddlm
Z
mZddlmZddlmZmZddlmZddlmZdd	lmZdd
lmZmZmZddlm Z ddl!m"Z"m#Z#dd
l$m%Z%ddl&m'Z'ddlm Z ddl(m)Z*m+Z,m-Z.e/a0defd„ƒYZ1defd„ƒYZ2dfd„ƒYZ3e3ƒa4d„Z5dS(iÿÿÿÿ(tprintDBGtprintExcteConnectCallbackt
GetIconDirt	GetBinDirt	E2PrioFix(tIPTVStandardMoviePlayertIPTVMiniMoviePlayer(tIPTVExtMoviePlayer(t
ConfigMenutGetMoviePlayer(tTranslateTXT(tDMHelpert
DMItemBase(tIPTVDownloadManagerList(tScreen(t	ChoiceBox(t
getDesktopteTimerteConsoleAppContainer(tconfig(t	ActionMaptHelpableActionMap(tLabel(t
StaticText(tchmodtpathtremovetIPTVDMWidgetcBsœeZedƒjƒjƒdZedƒjƒjƒdZedkrWed7Zndedƒdeee	dƒe	d	ƒe	d
ƒe	dƒeded
edf
Z
d„Zd„Zd„Z
d(d(d„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd „Zd!„Zd"„Ze d#„Z!d$„Z"d%„Z#d(d&„Z$d'„Z%RS()ii¾iÃiôise
        <screen name="IPTVDMWidget" position="center,center" title="%s" size="%d,%d">
         <ePixmap position="5,9"   zPosition="4" size="30,30" pixmap="%s" transparent="1" alphatest="on" />
         <ePixmap position="180,9" zPosition="4" size="30,30" pixmap="%s" transparent="1" alphatest="on" />
         <ePixmap position="385,9" zPosition="4" size="30,30" pixmap="%s" transparent="1" alphatest="on" />
         <ePixmap position="590,9" zPosition="4" size="35,30" pixmap="%s" transparent="1" alphatest="on" />
         <widget render="Label" source="key_red"    position="45,9"  size="140,27" zPosition="5" valign="center" halign="left" backgroundColor="black" font="Regular;21" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-1,-1" />
         <widget render="Label" source="key_green"  position="225,9" size="300,27" zPosition="5" valign="center" halign="left" backgroundColor="black" font="Regular;21" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-1,-1" />            
         <widget render="Label" source="key_yellow" position="425,9" size="300,27" zPosition="5" valign="center" halign="left" backgroundColor="black" font="Regular;21" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-1,-1" />            
         <widget render="Label" source="key_blue"   position="635,9" size="300,27" zPosition="5" valign="center" halign="left" backgroundColor="black" font="Regular;21" transparent="1" foregroundColor="white" shadowColor="black" shadowOffset="-1,-1" />            
         <widget name="list" position="5,100" zPosition="2" size="%d,%d" scrollbarMode="showOnDemand" transparent="0"  backgroundColor="#00000000" enableWrapAround="1" />
         <widget name="titel" position="5,47" zPosition="1" size="%d,23" font="Regular;20" transparent="1"  backgroundColor="#00000000"/>
        </screen>s%s download managert	E2iPlayersred.pngs	green.pngs
yellow.pngsblue.pngi
ii‡cCs=||_tj||ƒ|jjjƒ|_|jjjj|jƒt	t
dƒƒ|d<t	t
dƒƒ|d<t	t
dƒƒ|d<t	t
dƒƒ|d<tƒ|d	<|d	j|j
ƒtd
ddgi|jd
6|jd6|jd6|jd6|jd6|jd6dƒ|d<tƒ|d<||_|jj|jƒ|jjtƒ|jƒd|_ta|jj|jƒ|j j|j!ƒt"ƒ|_#t$|j#j%|j&ƒ|_'|j#j(dƒt)|_*g|_+t,ƒ|_-t$|j-j.|j/ƒ|_0t$|j-j1|j2ƒ|_3t)|_4t)|_5g|_6dS(NtStoptkey_redtStartt	key_greentArchivet
key_yellowt	Downloadstkey_bluetlistt
WizardActionstDirectionActionstColorActionstoktbacktredtgreentyellowtblueiÿÿÿÿtactionsttiteliiô(7tsessionRt__init__tnavt#getCurrentlyPlayingServiceReferencetcurrentServiceteventtappendt_IPTVDMWidget__eventRt_RtconnectSelChangedtonSelectionChangedRt
ok_pressedtback_pressedtred_pressedt
green_pressedtyellow_pressedtblue_pressedRtDMtconnectListChangedt
onListChangedtsetUpdateProgresstTruetsetManagerStatuststartedtgIPTVDM_listChangedtonCloset_IPTVDMWidget__onClosetonShowtonStartRt	mainTimerRttimeoutt
reloadListtmainTimer_conntstarttFalset	localModet
localFilesRtconsolet	appClosedtrefreshFinishedtconsole_appClosed_conntstderrAvailtrefreshNewDatatconsole_stderrAvail_conntunderRefreshingtiptvclosingtcurrList(tselfR2tdownloadmanager((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR3CsN	








	
					cCsntdƒ|jrdSg|_|jjdd„ƒ|j|_g|_d|_t|_|jt	ƒdS(NsIPTVDMWidget.refreshFinishedtkeycSs
|jjƒS(N(tfileNametlower(tx((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt<lambda>€st(
RR_RVttmpListtsortttmpDataRTR^RQRG(Ratcode((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRY|s
					c	Csâtdƒ|jrdS|j|7_|jjdƒ}|jjdƒsa|d|_|d=n	d|_xq|D]i}|jdƒ}dt|ƒkržqqn|jdƒr³qqnt|dƒd	krq|djƒd
dkrqtj	t
jjj
j|dƒ}t}xM|jD]B}td
|j|fƒ||jjddƒkrt}PqqW|rgqqntd|d|ƒ}ytj|ƒ|_Wntk
r®d|_nXtjj|_d|_|jj|ƒqqqqWdS(NsIPTVDMWidget.refreshNewDatas
iÿÿÿÿRhs//it.iiiüÿÿÿs.flvs.mp4sAAA:[%s]
BBB:[%s]t/turlRd(s.flvs.mp4(RR_Rktsplittendswithtlent
startswithRetos_pathtjoinRtpluginst
iptvplayertNaszaSciezkatvalueRTR`RdtreplaceRGR
tgetsizetdownloadedSizet	ExceptionRtSTSt
DOWNLOADEDtstatustdownloadIdxRiR8(	RatdatatnewFilestitemtparamsRdtskiptitem2tlistItem((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR\‡sB
	

	
0"

	cOs*|jjtƒ|jjj|jƒdS(N(RCRFRGR2R4tplayServiceR6(Ratanswertpositiontargstkwargs((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pytleaveMoviePlayer¥scCsXtdƒ}|jjƒr9|dj|tdƒƒn|dj|tdƒƒdS(NsManager status: R1tSTARTEDtSTOPPED(R:RCt	isRunningtsetText(RaR€((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRHªscCs
tadS(N(RGRJ(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRE¯scCstdƒdS(Ns<IPTVDMWidget.__del__ ---------------------------------------(R(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt__del__´scCs5t|_d|jkrLd|_d|_d|_|jjƒd|_n|jj	|j
ƒ|jjtƒd|_y#d|_
|jjƒd|_Wntk
rµtƒnXy`d|_|jjjj|jƒ|dj|jƒ|jj|jƒ|jj|jƒWntk
r0tƒnXdS(NR&(RGR_tNoneRWRZR]tconsole_stdoutAvail_connt	sendCtrlCRCtdisconnectListChangedRERFRTRRROtstopR}RR6R2R4R7RR9tdisconnectSelChangedR<RKRLRMRN(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt	__onClose·s0				
		


	
cCs|jjƒ|jƒdS(N(RCtstopWorkThreadRH(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR?Ñs

cCs|jjƒ|jƒdS(N(RCt
runWorkThreadRH(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR@Ös

cCsÆ|jr
dS|js¬t|_g|_d|_tdƒ}yt|dƒWntk
rhtƒnXd|t	j
jjj
f}td|ƒ|jjt|ƒƒnt|_|jtƒdS(NRhtlsdiriÿs%s "%s" rl rscmd[%s](R_R^RGRiRkRtos_chmodR}RRRvRwRxRyRRWtexecuteRRURQ(Rat	lsdirPathtcmd((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRAÛs"					
	
cCs'|jr
dSt|_|jtƒdS(N(R_RTRURQRG(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRBìs
		
cCsdS(N((Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR<òscCs'|jr|jjƒn|jƒdS(N(RWR–tclose(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR>õs	
c
CsŽ|jr
dSg}|jtdƒtttƒjƒdtttƒjfƒ|jtdƒtttƒjƒdtttƒjfƒtdƒdff}tdƒdff}tdƒdff}td	ƒd
ff}tdƒdff}td
ƒdff}g}|jƒ}	|	dkrŠ|j
rK|j|ƒ|j|ƒntj
j|	jkrŠ|j|ƒ|j|ƒ|j|ƒnÕtj
j|	jkrÉ|j|ƒ|j|ƒ|j|ƒn–tj
j|	jkrû|j|ƒ|j|ƒndtj
j|	jkr-|j|ƒ|j|ƒn2tj
j|	jkr_|j|ƒ|j|ƒn|jj|jtdtdƒd|ƒndS(NsPlay with [%s] playertplaysContinue downloadingtcontinuesDownload againtretrysStop downloadingR˜sRemove fileRsRemove itemtdeletsPromote itemtmovettitles
Select actionR&(R_R8R:R
RGRTtgetTextRyt
getSelItemR”RUtextendRR~RR€tINTERRUPTEDtDOWNLOADINGtWAITINGtERRORR2topenWithCallbacktmakeActionOnDownloadItemR(
RaR£tcontR¥R˜RR¦R§toptionsR„((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR=úsH	;;	







+cCs“|jƒ}d|krd|krtd|dd|jƒ|ddkr	|j}y&tj|ƒ}tj|ƒd}Wntk
ršt	ƒnX|j
jtƒ|d}d|krã|j
j|jt|j|ƒqŒ|d krçi}|jjd
ƒdd!kr…tjjjj|d<tjjjj|d<tjjjj|d<dtjjjjkrxt|d<q…t|d<nd|kr¼|j
j|jt|j|dd|ƒq|j
j|jt|j|dd|ƒqŒ|j
j|jt|j|ƒq|jr¨|ddkrŒyet|jƒxQtt |j!ƒƒD]:}|j|j!|jkrH|j!|=|j"tƒPqHqHWWq¥tk
r¡t	ƒq¥XqŒq|ddkrÎ|j
j#|jƒq|ddkrô|j
j$|jƒq|ddkr|j
j%|jƒq|ddkr@|j
j&|jƒq|ddkrf|j
j'|jƒq|ddkr|j
j(|jƒqndS("NsmakeActionOnDownloadItem is for downloadIdx[%d]R£iitminit
exteplayertextgstplayerRmiÿÿÿÿtmp3tm4atoggtwmatflatwavtflactshow_iframetiframe_file_starttiframe_file_endtsh4tiframe_continueteplayert	gstplayerRR¤R¥R˜R¦R§(RµR¶(R·R¸R¹RºR»R¼R½()RªR”RRRdRttbasenametsplitextR}RRCRFRTR2R°RŽRRpRRvRwR¾Rytiframe_filetclear_iframe_filetplarformRGRRRUt	os_removetrangeRrRVRQtcontinueDownloadItemtretryDownloadItemtstopDownloadItemtremoveDownloadItemtdeleteDownloadItemtmoveToTopDownloadItem(RatretR„R¨tplayertadditionalParamstidx((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR±'sd	

"

++"	



cCs|djƒ}|S(NR&(tgetCurrentIndex(RatcurrSelIndex((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pytgetSelIndex_scCsf|djƒ}|js%|j}n	|j}t|ƒ|kr^td|t|ƒfƒdS||S(NR&sFERROR: getSelItem there is no item with index: %d, listOfItems.len: %d(RÖRUR`RVRrRR”(RaR×R&((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRªcs		cCs:d}y|djjƒd}Wntk
r5dSX|S(NR&i(R”tltgetCurrentSelectionR}(Ratsel((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pytgetSelectedItemls
cCs|jdkrd|_ndS(Nii(RI(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRNsscCsæ|js‰ttks|râtdƒ|djƒta|jjƒ|_|dj	g|jD]}|f^q_ƒ|dj
ƒqânY|râtdƒ|djƒ|dj	g|jD]}|f^q»ƒ|dj
ƒndS(Ns IPTV_DM_UI reload downloads listR&sIPTV_DM_UI reload archive list(RURGRJRthideRTRCtgetListR`tsetListtshowRV(RatforceRf((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRQys	
*
*cCst|_|jƒdS(N(RTtvisibleRÝ(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt
hideWindow‹s	cCst|_|jƒdS(N(RGRâRà(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt
showWindows	cCsdS(N((Raterror((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pytError“scCsdS(N((Ratev((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt__event–sN(&t__name__t
__module__Rtsizetwidthtsz_wtheighttsz_hR:RtskinR3RYR\R”RŽRHRER“RLR?R@RARBR<R>R=R±RØRªRÜRNRTRQRãRäRæR9(((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR)sD

$	9													-	8							tIPTVDMNotificationWidgetcBsJeZedƒjƒjƒdZdeddfZd„Zd„ZRS(iisX<screen name="IPTVDMNotificationWidget" position="%d,%d" zPosition="10" size="350,60" title="IPTVPlayer downloader" backgroundColor="#31000000" >
            <widget name="message_label" font="Regular;24" position="0,0" zPosition="2" valign="center" halign="center" size="350,60" backgroundColor="#31000000" transparent="1" />
        </screen>i^i<cCs6tj||ƒtj|_ttdƒƒ|d<dS(Nt t
message_label(RR3RñRðRR:(RaR2((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR3¡scCs|dj|ƒdS(NRó(R’(Rattext((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR’¦s(	RéRêRRëRìtd_wRðR3R’(((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRñ™s	tIPTVDMNotificationcBs,eZd„Zd„Zd„Zd„ZRS(cCs4d|_tƒ|_t|jj|jƒ|_dS(N(R”tdialogRRORRPt
notifyHideRR(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyR3ªs	cCs tdƒ|jtƒ|_dS(Ns> IPTVDMNotification.dialogInit(RtinstantiateDialogRñR÷(RaR2((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt
dialogInit¯s
cCs-|jr)|jjdƒ|jjƒndS(NRh(R÷R’RÝ(Ra((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRø³s	cCsN|jrJtd|ƒ|jj|ƒ|jjƒ|jjddƒndS(Ns#> IPTVDMNotification.showNotify[%s]iˆi(R÷RR’RàRORS(RaRô((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt
showNotify¸s
	
(RéRêR3RúRøRû(((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyRö©s			cCstS(N(tgIPTVDMNotification(((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pytGetIPTVDMNotificationÁsN(6t-Plugins.Extensions.IPTVPlayer.tools.iptvtoolsRRRRRRt3Plugins.Extensions.IPTVPlayer.components.iptvplayerRRt;Plugins.Extensions.IPTVPlayer.components.iptvextmovieplayerRt7Plugins.Extensions.IPTVPlayer.components.iptvconfigmenuR	R
t7Plugins.Extensions.IPTVPlayer.components.iptvplayerinitRR:t+Plugins.Extensions.IPTVPlayer.iptvdm.iptvdhRR
t-Plugins.Extensions.IPTVPlayer.iptvdm.iptvlistRtScreens.ScreenRtScreens.ChoiceBoxRtenigmaRRRtComponents.configRtComponents.ActionMapRRtComponents.LabelRtComponents.Sources.StaticTextRtosRRžRRtRRÊRTRJRRñRöRüRý(((sH/usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer/iptvdm/iptvdmui.pyt<module>s,.ÿq