Never.
Slogan:
It's just a hobby, so we do not have time for this.
- Forums
- → Viewing Profile: Reputation: Dimitrij
ATTENTION !!!
Due to a database corruption issue, we were forced to restore last-nights backup. This means all posts of Saterday Febuary 17th have been lost.Community Stats
-
Group
Senior Member
- OthersPLi® Core member
- Active Posts 9,994 ( per day)
- Profile Views 23,717
- Age 51 years old
- Birthday January 3, 1973
-
Gender
Male
-
Location
Liepaja
Contact Information
#355271 Pli 3.0 gstreamer
Posted by Dimitrij on 10 June 2013 - 05:22
#354547 Enabling of "Rec"-button in playback mode records
Posted by Dimitrij on 4 June 2013 - 20:41
Ok,patch...
Open instant record menu in MoviePlayer.
--- a/InfoBar.py +++ b/InfoBar.py @@ -136,7 +136,7 @@ InfoBarSeek, InfoBarShowMovies, InfoBarAudioSelection, HelpableScreen, InfoBarNotifications, InfoBarServiceNotifications, InfoBarPVRState, InfoBarCueSheetSupport, InfoBarSimpleEventView, InfoBarMoviePlayerSummarySupport, InfoBarSubtitleSupport, Screen, InfoBarTeletextPlugin, - InfoBarServiceErrorPopupSupport, InfoBarExtensions, InfoBarPlugins, InfoBarPiP): + InfoBarServiceErrorPopupSupport, InfoBarExtensions, InfoBarPlugins, InfoBarPiP, InfoBarInstantRecord): ENABLE_RESUME_SUPPORT = True ALLOW_SUSPEND = True @@ -164,7 +164,7 @@ InfoBarServiceNotifications, InfoBarPVRState, InfoBarCueSheetSupport, \ InfoBarMoviePlayerSummarySupport, InfoBarSubtitleSupport, \ InfoBarTeletextPlugin, InfoBarServiceErrorPopupSupport, InfoBarExtensions, \ - InfoBarPlugins, InfoBarPiP: + InfoBarPlugins, InfoBarPiP, InfoBarInstantRecord: x.__init__(self) self.servicelist = slist @@ -402,3 +402,10 @@ def ref2HumanName(self, ref): return enigma.eServiceCenter.getInstance().info(ref).getName(ref) + + def instantRecord(self): + for (dlg,flag) in self.session.dialog_stack: + if dlg.__class__.__name__ == "InfoBar": + self.recording = dlg.recording + break + InfoBarInstantRecord.instantRecord(self) \ No newline at end of file --- a/InfoBarGenerics.py +++ b/InfoBarGenerics.py @@ -2105,28 +2105,44 @@ self.session.open(MessageBox, _("Missing ") + "\n" + pirr + "\n" + _("No HDD found or HDD not initialized!"), MessageBox.TYPE_ERROR) return - - common =((_("Add recording (stop after current event)"), "event"), - (_("Add recording (indefinitely)"), "indefinitely"), - (_("Add recording (enter recording duration)"), "manualduration"), - (_("Add recording (enter recording endtime)"), "manualendtime"),) - if self.isInstantRecordRunning(): - title =_("A recording is currently running.\nWhat do you want to do?") - list = ((_("Stop recording"), "stop"),) + common + \ - ((_("Change recording (duration)"), "changeduration"), - (_("Change recording (endtime)"), "changeendtime"),) - if self.isTimerRecordRunning(): - list += ((_("Stop timer recording"), "timer"),) - list += ((_("Do nothing"), "no"),) + if self.__class__.__name__ == "InfoBar": + common =((_("Add recording (stop after current event)"), "event"), + (_("Add recording (indefinitely)"), "indefinitely"), + (_("Add recording (enter recording duration)"), "manualduration"), + (_("Add recording (enter recording endtime)"), "manualendtime"),) + if self.isInstantRecordRunning(): + title =_("A recording is currently running.\nWhat do you want to do?") + list = ((_("Stop recording"), "stop"),) + common + \ + ((_("Change recording (duration)"), "changeduration"), + (_("Change recording (endtime)"), "changeendtime"),) + if self.isTimerRecordRunning(): + list += ((_("Stop timer recording"), "timer"),) + list += ((_("Do nothing"), "no"),) + else: + title=_("Start recording?") + list = common + if self.isTimerRecordRunning(): + list += ((_("Stop timer recording"), "timer"),) + list += ((_("Do not record"), "no"),) + if self.timeshiftEnabled(): + list = list + ((_("Save timeshift file"), "timeshift"), + (_("Save timeshift file in movie directory"), "timeshift_movie")) else: - title=_("Start recording?") - list = common - if self.isTimerRecordRunning(): - list += ((_("Stop timer recording"), "timer"),) - list += ((_("Do not record"), "no"),) - if self.timeshiftEnabled(): - list = list + ((_("Save timeshift file"), "timeshift"), - (_("Save timeshift file in movie directory"), "timeshift_movie")) + if self.isInstantRecordRunning(): + title =_("A recording is currently running.\nWhat do you want to do?") + list = ((_("Stop recording"), "stop"), + (_("Change recording (duration)"), "changeduration"), + (_("Change recording (endtime)"), "changeendtime"),) + if self.isTimerRecordRunning(): + list += ((_("Stop timer recording"), "timer"),) + list += ((_("Do nothing"), "no"),) + else: + if self.isTimerRecordRunning(): + title =_("A timer recording is currently running.\nWhat do you want to do?") + list = ((_("Stop timer recording"), "timer"), + (_("Do nothing"), "no"),) + else: + return self.session.openWithCallback(self.recordQuestionCallback, ChoiceBox,title=title,list=list) from Tools.ISO639 import LanguageCodes
#352408 AutoTimer mod
Posted by Dimitrij on 24 May 2013 - 21:08
version 1.3
-Added new option (Style autotimer list: standard/advanced)
* author of the code andyblac (oe-alliance) + my edits
#351137 Modification EpgList
Posted by Dimitrij on 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
#349556 Timeshifting problems with OpenPLi 3.0
Posted by Dimitrij on 11 May 2013 - 10:13
Version PTS 1.3h
-fix GS if standart "Automatically start timeshift after" enabled
-if PTS enabled->"Automatically start timeshift after" disabled
#347234 Klein issue met zap timer
Posted by Dimitrij on 1 May 2013 - 15:29
Done...
--- a/RecordTimer.py +++ b/RecordTimer.py @@ -768,6 +768,9 @@ check = True break if check: + timer_end = x.end + if x.justplay and (timer_end - x.begin) <= 1: + timer_end += 60 if x.repeated != 0: if bt is None: bt = localtime(begin) @@ -777,7 +780,7 @@ end2 = et.tm_wday * 1440 + et.tm_hour * 60 + et.tm_min if x.repeated & (1 << bday): xbt = localtime(x.begin) - xet = localtime(x.end) + xet = localtime(timer_end) xbegin = bday * 1440 + xbt.tm_hour * 60 + xbt.tm_min xend = bday * 1440 + xet.tm_hour * 60 + xet.tm_min if xend < xbegin: @@ -798,15 +801,15 @@ type = 2 else: if begin < x.begin <= end: - if x.end < end: # recording within event - time_match = x.end - x.begin + if timer_end < end: # recording within event + time_match = timer_end - x.begin type = 3 else: # recording last part of event time_match = end - x.begin type = 1 - elif x.begin <= begin <= x.end: - if x.end < end: # recording first part of event - time_match = x.end - begin + elif x.begin <= begin <= timer_end: + if timer_end < end: # recording first part of event + time_match = timer_end - begin type = 4 else: # recording whole event time_match = end - begin
#346578 Timeshifting problems with OpenPLi 3.0
Posted by Dimitrij on 27 April 2013 - 21:15
Version PTS 1.3g
-add new option "Timeshift save recording (current event until this time)"
*needs to be tested
#344974 DiseqcTester
Posted by Dimitrij on 20 April 2013 - 12:42
So. Do you actually mean it didn't work before and now it does?
Check it out.
changes:
-fix bug
-add localization
-location menu ScanSetup
#344357 Timeshifting problems with OpenPLi 3.0
Posted by Dimitrij on 18 April 2013 - 09:01
Version PTS 1.3c
-fix icon seekstate if PTS not enabled(for standart timeshift)
#344326 Timeshifting problems with OpenPLi 3.0
Posted by Dimitrij on 18 April 2013 - 07:42
littlesat
message Stop timeshift? ->key exit
File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 1614, in checkTimeshiftRunningCallback if "movie" in answer: TypeError: argument of type 'bool' is not iterable
Maybe so...
def checkTimeshiftRunningCallback(self, returnFunction, answer): + if not answer: + return if "movie" in answer: self.save_timeshift_in_movie_dir = True if "save" in answer: self.save_timeshift_file = True self.saveTimeshiftFiles() returnFunction(answer != "continue")
#344158 PrimeTimeManager
Posted by Dimitrij on 17 April 2013 - 06:51
The original version here http://www.i-have-a-....readid=153700l
version 1.1
-completely rewritten code
-fixed bugs
-added more options
-rewritten graphical user interface plugin
#343977 ChannelSelection modifications
Posted by Dimitrij on 15 April 2013 - 20:34
In my very original with the alternative solution.
Just change the color.
#343598 TMBD Details
Posted by Dimitrij on 13 April 2013 - 17:58
Version 5.0-rc8
-all image 2.1/3.0
- fix parsing kinopoisk.ru
Please update the plugin on the feed.
#343396 ChannelSelection modifications
Posted by Dimitrij on 12 April 2013 - 11:42
ims
Let's think about other users .
Give them the right to choose (in settings), this choice is not in the other image.
OpenPli most advanced software in this regard.
#342741 Timeshifting problems with OpenPLi 3.0
Posted by Dimitrij on 7 April 2013 - 20:29
Version 1.3b
-patch for the latest changes timeshift
- Forums
- → Viewing Profile: Reputation: Dimitrij