Jump to content


Photo

Modification EpgList

discussion patch

  • Please log in to reply
187 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 9,970 posts

+335
Excellent

Posted 19 May 2013 - 07:47

1)Add zap timers icons...

--- a/EpgList.py
+++ b/EpgList.py
@@ -61,6 +61,11 @@
 				LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/epgclock.png')),
 				LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/epgclock_prepost.png')),
 				LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/epgclock_post.png')) ]
+		self.zap_clocks = [ LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/zapclock_add.png')),
+				LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/zapclock_pre.png')),
+				LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/zapclock.png')),
+				LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/zapclock_prepost.png')),
+				LoadPixmap(cached=True, path=resolveFilename(SCOPE_CURRENT_SKIN, 'skin_default/icons/zapclock_post.png')) ]
 
 	def getEventFromId(self, service, eventid):
 		event = None
@@ -148,7 +153,10 @@
 			return None
 		rec = self.timer.isInTimer(eventId, beginTime, duration, service)
 		if rec is not None:
-			return self.clocks[rec[1]]
+			if rec[2]:
+				return self.zap_clocks[rec[1]]
+			else:
+				return self.clocks[rec[1]]
 		else:
 			return None
 
--- a/RecordTimer.py
+++ b/RecordTimer.py
@@ -736,6 +736,7 @@
 	def isInTimer(self, eventid, begin, duration, service):
 		time_match = 0
 		type = 0
+		justplay = 0
 		bt = None
 		end = begin + duration
 		refstr = str(service)
@@ -769,7 +770,8 @@
 							break
 			if check:
 				timer_end = x.end
-				if x.justplay and (timer_end - x.begin) <= 1:
+				justplay = x.justplay
+				if justplay and (timer_end - x.begin) <= 1:
 					timer_end += 60
 				if x.repeated != 0:
 					if bt is None:
@@ -817,7 +819,7 @@
 				if type == 2: # stop searching if a full recording is found
 					break
 		if time_match:
-			return (time_match, type)
+			return (time_match, type, justplay)
 		else:
 			return None
 

 


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Modification EpgList #2 buyukbang

  • Senior Member
  • 185 posts

+11
Neutral

Posted 19 May 2013 - 09:20

PLi team should recruit this guy since he is thinking and generating really  interesting stuffs for E2 :)

 

@Dima73, nice patch, thank you !


Edited by buyukbang, 19 May 2013 - 09:23.

It all started with a BigBang...


http://buyukbang.blogspot.com


Re: Modification EpgList #3 Pale-Rider

  • Senior Member
  • 126 posts

+6
Neutral

Posted 19 May 2013 - 09:36

Nice although i prefer the ones andy incorporated into the ViX image last month, they just look cleaner.

Attached Files



Re: Modification EpgList #4 dirocca

  • Senior Member
  • 1,667 posts

+59
Good

Posted 19 May 2013 - 09:45

1)Add zap timers icons...

is this not already standard openpli (screenshot) or am i seeing this wrong?

Attached File  screenshot.jpg   86.6KB   118 downloads

 

grtz Philip


vuduo2 openpli6.1 1TB HDD 2xdualS2tuner

av receiver denon - samsung 4k hdr+ 65inch UE65MU7000 - bose accoustimas 7.1 :rolleyes:

tvv kaart & schotel(64cm), duo lnb, OSCAM

logitech harmony ultimate

 

 

 


Re: Modification EpgList #5 Dimitrij

  • PLi® Core member
  • 9,970 posts

+335
Excellent

Posted 19 May 2013 - 10:26

is this not already standard openpli (screenshot) or am i seeing this wrong?
 

yes

 

new icons.autor 2boom


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Modification EpgList #6 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 19 May 2013 - 10:28

then it is better from this author  ака Учкун

 

Attached Files

  • Attached File  epg.jpg   101.48KB   140 downloads

Edited by maigais, 19 May 2013 - 10:29.

BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Modification EpgList #7 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 19 May 2013 - 11:46

Why using those extra pngs?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Modification EpgList #8 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 19 May 2013 - 12:44

more from author  ака Учкун

multiepg

Attached Files


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Modification EpgList #9 ims

  • PLi® Core member
  • 13,609 posts

+211
Excellent

Posted 19 May 2013 - 12:49

I think, guys want convert it to "windows coloring book" ;)


Kdo nic nedělá, nic nezkazí!

Re: Modification EpgList #10 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 19 May 2013 - 13:05

Now I understand, It is not for the recording clocks but for the zap only indicators ;)... but in the patch the new required icons are not included.....

Does this patch also work for the multy graphics EPG?

 

And I suggest adding extra colomns to the EPG lists is not recomended. At the end effect the EPG text colomn get so short that there is almost nothing left over there ;).....


Edited by littlesat, 19 May 2013 - 13:06.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Modification EpgList #11 Dimitrij

  • PLi® Core member
  • 9,970 posts

+335
Excellent

Posted 19 May 2013 - 16:21

Now I understand, It is not for the recording clocks but for the zap only indicators ;)... but in the patch the new required icons are not included.....

Does this patch also work for the multy graphics EPG?

1)Add patch for multy graphics EPG.

2)I do not know how to add icons in the patch.
They are in the archive
zap_icons.zip.

+skin_default/icons/zapclock_add.png
+skin_default/icons/zapclock_pre.png
+skin_default/icons/zapclock.png
+skin_default/icons/zapclock_prepost.png
+skin_default/icons/zapclock_post.png

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Modification EpgList #12 Dimitrij

  • PLi® Core member
  • 9,970 posts

+335
Excellent

Posted 19 May 2013 - 16:40

patch


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Modification EpgList #13 Dimitrij

  • PLi® Core member
  • 9,970 posts

+335
Excellent

Posted 22 May 2013 - 05:33

No one patch is not interesting :( ?
What will be the response from the developers openPli?


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Modification EpgList #14 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 22 May 2013 - 07:55

The icons are not included in that one patch...

And what about the zap and record events... I would recommend to give them a record icon.... (the rec[2] test)


Edited by littlesat, 22 May 2013 - 08:13.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Modification EpgList #15 Dimitrij

  • PLi® Core member
  • 9,970 posts

+335
Excellent

Posted 22 May 2013 - 12:18

The icons are not included in that one patch...

And what about the zap and record events... I would recommend to give them a record icon.... (the rec[2] test)

I think the patch is the right option.
No need to invent anything more.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Modification EpgList #16 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 22 May 2013 - 13:27

But there is no check on the relativaly new zap+record option....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Modification EpgList #17 Dimitrij

  • PLi® Core member
  • 9,970 posts

+335
Excellent

Posted 22 May 2013 - 15:57

But there is no check on the relativaly new zap+record option....

Ok.

Task :)


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Modification EpgList #18 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 22 May 2013 - 18:16

Sorry....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Modification EpgList #19 Dimitrij

  • PLi® Core member
  • 9,970 posts

+335
Excellent

Posted 22 May 2013 - 18:50

Sorry....

???


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Modification EpgList #20 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 24 May 2013 - 20:42

It was sorry to ask to you for a bit more work...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users