Plugin EPG Filter - UkCvs.org
 

Go Back   UkCvs.org > Digital Tv Box Section > Dbox Section > Dbox Addons

Reply
 
LinkBack Thread Tools Display Modes
Old 27-10-2009, 06:41 PM   #1 (permalink)
Developer
UkCvs Senior Member
 
LraiZer's Avatar
 
Join Date: Oct 2008

Posts: 971
iTrader: (0)
Casino cash: $312140
Thanks: 346
Thanked 1,622 Times in 731 Posts
Nominated 19 Times in 7 Posts
Nominated TOTW/F/M Award(s): 7
Groans: 0
Groaned at 0 Times in 0 Posts
Default Plugin EPG Filter

here's a couple of little script plugins i made to help add/delete channels to/from the epgfilter.xml

these two EPG Filter plugins will add menu options for:

EPG Filter - add channel
EPG Filter - delete channel

these will add/delete the current channel automatically to/from epgfilter.xml with the full epgfilter data for that channel.

IMPORTANT: (there MUST be a blank line at the end of any existing epgfilter.xml file) eg.

<epgfilter is_whitelist="1" except_current_next="1">
</epgfilter>
BLANK LINE HERE!

the epgfilter-add plugin will auto generate an epgfilter.xml with the correct necessary terminating blank line at end of the epgfilter.xml file if no epgfilter.xml file exists. so you can just delete your epgfilter.xml and then add a channel to create a new epgfilter.xml file. the system will require a reboot after any changes are made to reload the filter again, and if you have yweb (nhttpd) installed then you will get a popup msg telling you this otherwise msg will only show on com port debug output.

# MAX ENTRIES
ment="60"

a limit of 60 MAX ENTRIES has been set at the top of the epgfilter-add plugin script. only change this default setting if you know how to manage your dbox memory.

you will need to chmod 755 (make executable) all files except the *.cfg files

[edit]
02-12-2009 16:30
bug fix: special chars
Attached Files - Who Downloaded?
File Type: rar plugin-epgfilter.rar (9.1 KB, 7 views)

Last edited by LraiZer; 02-12-2009 at 03:52 PM.. Reason: re-uploaded file; added MAX ENTRIES option! added more info, (bug fix:special symbols)
LraiZer is offline   Reply With Quote
The Following 8 Users Say Thank You to LraiZer For This Useful Post:
bobsylas (27-10-2009), FreddyFr0g (01-11-2009), PaphosAL (27-10-2009), renwich (27-10-2009), scruff1963 (27-10-2009), Tyke (28-10-2009), wiz569 (28-10-2009), wullboy (28-10-2009)
Old 27-10-2009, 07:03 PM   #2 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Nice idea, LraiZer! Can you add a blocker- "Sorry, the bus is full with 60 passengers! One or more passengers must get off, before any more can board" ?

Otherwise they'll be loading a 100+ Channel filter in no time at all, LOL! And it was after all your goodself that recently alerted us to the dire consequences of this scenario, with regards to free RAM, wasn't it?

Hence Channels 1-80 Mode soon to be chopped to 1-60, and similar for the filter...

Recent hectic testing of Freddy's latest sectionsd incarnation suggests that a reboot isn't necessary, at least not in C11.3 m8. Just go into the blue button Set My EPG Preferences Menu - and restart existing, or select another one, and the filter is re-read into memory with a sectionsd kill / start.

Cheers- AL
PaphosAL is online now   Reply With Quote
Old 27-10-2009, 07:40 PM   #3 (permalink)
Developer
UkCvs Senior Member
 
LraiZer's Avatar
 
Join Date: Oct 2008

Posts: 971
iTrader: (0)
Casino cash: $312140
Thanks: 346
Thanked 1,622 Times in 731 Posts
Nominated 19 Times in 7 Posts
Nominated TOTW/F/M Award(s): 7
Groans: 0
Groaned at 0 Times in 0 Posts
Default
should be do-able, i will add a check for this and re-upload.
will add an option to top of epgfilter-add plugin script so that it can be changed without too much effort.

# MAX ENTRIES
ment="60"

[EDIT]
have re-uploaded file with the extra MAX ENTRIES option in epgfilter-add plugin script @ PaphosAL's request

Last edited by LraiZer; 27-10-2009 at 08:27 PM..
LraiZer is offline   Reply With Quote
The Following 4 Users Say Thank You to LraiZer For This Useful Post:
PaphosAL (28-10-2009), renwich (27-10-2009), Tyke (28-10-2009), wiz569 (28-10-2009)
Old 28-10-2009, 06:27 AM   #4 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 3,108
iTrader: (0)
Casino cash: $848260
Thanks: 2,645
Thanked 1,586 Times in 876 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Cool, thanks! And we'll add the required blank end line in the default filter file in future releases and upgrades, LOL!

I'll get a chance to look at this in the next couple hours and have a play! Cheers- AL
PaphosAL is online now   Reply With Quote
Old 02-12-2009, 03:51 PM   #5 (permalink)
Developer
UkCvs Senior Member
 
LraiZer's Avatar
 
Join Date: Oct 2008

Posts: 971
iTrader: (0)
Casino cash: $312140
Thanks: 346
Thanked 1,622 Times in 731 Posts
Nominated 19 Times in 7 Posts
Nominated TOTW/F/M Award(s): 7
Groans: 0
Groaned at 0 Times in 0 Posts
Default
updated first post, new plugins uploaded

this is a bug fix for special symbols in channel names

changed channel name miss match of ' and & to &apos; and &amp; in both add/remove plugin functions
LraiZer is offline   Reply With Quote
The Following 4 Users Say Thank You to LraiZer For This Useful Post:
FreddyFr0g (02-12-2009), PaphosAL (02-12-2009), renwich (02-12-2009), wiz569 (02-12-2009)
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:15 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk !! Ukcvs.org cannot be held responsible for the content of any post on this forum.