Jump to content


Photo

EPGRefresh


  • Please log in to reply
33 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 24 November 2013 - 14:47

Plugin for PLi image.


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


Re: EPGRefresh #2 littlesat

  • PLi® Core member
  • 57,442 posts

+708
Excellent

Posted 24 November 2013 - 23:24

We have it in our sources... So i would prefer a patch

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


Re: EPGRefresh #3 fidelcastro54

  • Senior Member
  • 342 posts

+6
Neutral

Posted 22 September 2014 - 18:44

Is there a newer version?

VU+ Duo2 *OpenPLI 7.0 *int. 1TB HDD *16TB QNAP-NAS Gb-LAN *OSCam*HD+ HD02 *Sky V14 *MTV Unlimited


Re: EPGRefresh #4 ims

  • PLi® Core member
  • 13,936 posts

+215
Excellent

Posted 22 September 2014 - 18:47

in feed is working version.


Kdo nic nedělá, nic nezkazí!

Re: EPGRefresh #5 fidelcastro54

  • Senior Member
  • 342 posts

+6
Neutral

Posted 13 October 2014 - 07:45

Is the feed-Version the Mod-Version?


VU+ Duo2 *OpenPLI 7.0 *int. 1TB HDD *16TB QNAP-NAS Gb-LAN *OSCam*HD+ HD02 *Sky V14 *MTV Unlimited


Re: EPGRefresh #6 ims

  • PLi® Core member
  • 13,936 posts

+215
Excellent

Posted 13 October 2014 - 08:33

no


Kdo nic nedělá, nic nezkazí!

Re: EPGRefresh #7 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 15 October 2014 - 13:26

I'd very much like to know what the differences are to "our" version and if it contains code that we cannot distribute ("DMM only" license).

 

Likewise the autotimer, I cannot find any major difference between our version and the "mod" version.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: EPGRefresh #8 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 25 December 2014 - 17:37

del


Edited by Dima73, 27 December 2014 - 13:17.

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


Re: EPGRefresh #9 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 27 December 2014 - 12:17

version 1.4.8

-add option for parental control services

-fix hidden PiP

-fix clear epgrefresh.xml (sorri)


Edited by Dima73, 27 December 2014 - 13:18.

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


Re: EPGRefresh #10 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 27 December 2014 - 13:11

I had in version 1.4.7 the problem that the list in epgrefresh.xml got cleared for no apparent reason, is this a know problem?

 

I will try this version and report back (probably tonight)



Re: EPGRefresh #11 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 27 December 2014 - 13:18

I had in version 1.4.7 the problem that the list in epgrefresh.xml got cleared for no apparent reason, is this a know problem?

 

I will try this version and report back (probably tonight)

fixed

sorri


Edited by Dima73, 27 December 2014 - 13:19.

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


Re: EPGRefresh #12 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 27 December 2014 - 13:22

No problem, thanks!



Re: EPGRefresh #13 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 27 December 2014 - 13:49

Refresh EPG using PiP

A crash swaping (main/PiP) with '0' during manual refresh:

[EPGC] start caching events(1419684030)
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 61, in action
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 466, in keyNumberGlobal
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2125, in pipDoHandle0Action
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2109, in swapPiP
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1912, in setCurrentServicePath
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1841, in setHistoryPath
AttributeError: 'str' object has no attribute 'pop'
(PyObject_CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap instance at 0x22a5120>>,('NumberActions', '0')) failed)


Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: EPGRefresh #14 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 27 December 2014 - 13:50

A question: is it possible to be able to select a CIFS share as EPG cache path?

I have a cifs share to my NAS and have this path set as HDD replacement, as storage devices I have:

/hdd

/media/hdd and

/media/net/data

all pointing to the same place on the NAS but I can't choose any of these path's, I'm only offered Internal Flash.

 

I edited the settings the item config.misc.epgcache_filename=/media/net/data/epg.dat, but it would be nice to be able to choose it from the menu within EPGRefresh.

 

Is this possible?


Edited by Pedro_Newbie, 27 December 2014 - 13:51.


Re: EPGRefresh #15 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 27 December 2014 - 13:57

 

Refresh EPG using PiP

A crash swaping (main/PiP) with '0' during manual refresh:

[EPGC] start caching events(1419684030)
Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Components/ActionMap.py", line 61, in action
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 466, in keyNumberGlobal
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2125, in pipDoHandle0Action
  File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2109, in swapPiP
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1912, in setCurrentServicePath
  File "/usr/lib/enigma2/python/Screens/ChannelSelection.py", line 1841, in setHistoryPath
AttributeError: 'str' object has no attribute 'pop'
(PyObject_CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap instance at 0x22a5120>>,('NumberActions', '0')) failed)

:D

The same error you get when using the standard EPGRefresh.
Now fix.


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


Re: EPGRefresh #16 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 27 December 2014 - 14:05

A question: is it possible to be able to select a CIFS share as EPG cache path?

I have a cifs share to my NAS and have this path set as HDD replacement, as storage devices I have:

/hdd

/media/hdd and

/media/net/data

all pointing to the same place on the NAS but I can't choose any of these path's, I'm only offered Internal Flash.

 

I edited the settings the item config.misc.epgcache_filename=/media/net/data/epg.dat, but it would be nice to be able to choose it from the menu within EPGRefresh.

 

Is this possible?

I do not know how to do it :( .

If I could have, it would add the option for plugin FullBackup.

hddchoises = [('/etc/enigma2/', 'Internal Flash')]
for p in harddiskmanager.getMountedPartitions():
	d = os.path.normpath(p.mountpoint)
	if os.path.exists(p.mountpoint):
		if p.mountpoint != '/':
			hddchoises.append((d + '/', p.mountpoint))
config.plugins.epgrefresh_extra.epgcachepath = ConfigSelection(default = "/etc/enigma2/", choices = hddchoises)

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


Re: EPGRefresh #17 rtzhjgg0

  • Senior Member
  • 568 posts

+13
Neutral

Posted 27 December 2014 - 14:10

Dima73, on 27 Dec 2014 - 13:57, said:
...
Now fix.

:) :) :)
Selfsat H50M4
Ultimo4K /2xTwinS2, VTI, PLi, ATV...
NAS: Qnap221

Re: EPGRefresh #18 Pedro_Newbie

  • Senior Member
  • 4,631 posts

+225
Excellent

Posted 27 December 2014 - 14:46

Maybe you could get some hints from the plugin AutoBackup, in this plugin I get the choices:
/media
/media/net/data
Here is the start part of the plugin

from . import _
import time
import os
import enigma
from Plugins.Plugin import PluginDescriptor
from Components.config import config, \
            ConfigEnableDisable, ConfigSubsection, \
            ConfigClock, ConfigOnOff, ConfigText


#Set default configuration
config.plugins.autobackup = ConfigSubsection()
config.plugins.autobackup.wakeup = ConfigClock(default = ((3*60) + 0) * 60) # 3:00
config.plugins.autobackup.enabled = ConfigEnableDisable(default = False)
config.plugins.autobackup.autoinstall = ConfigOnOff(default = False)
config.plugins.autobackup.where = ConfigText(default = "/media/hdd")
config.plugins.autobackup.epgcache = ConfigOnOff(default = False)

 
I think you should look at:
from Components.config import config, \
            ConfigEnableDisable, ConfigSubsection, \
            ConfigClock, ConfigOnOff, ConfigText
and
config.plugins.autobackup.where = ConfigText(default = "/media/hdd")

 

 



Re: EPGRefresh #19 ims

  • PLi® Core member
  • 13,936 posts

+215
Excellent

Posted 27 December 2014 - 15:01

@Dima73 ... see to my plugin, which I used for it ( when I had no hdd on XP1000)

 

 

Attached Files


Kdo nic nedělá, nic nezkazí!

Re: EPGRefresh #20 Dimitrij

  • PLi® Core member
  • 10,379 posts

+354
Excellent

Posted 28 December 2014 - 17:50

version 1.5

-fix swap PiP service

-add EPG cache path for NAS

-add option Show 'EPG-refresh now' in main menu" / option "Stop Running EPG-refresh" show alwais if refresh running(idea schwerkraft.elitedvb.net)

 


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



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users