Channel list full produces weird behaviour

Please avoid duplicating bug reports in this section. (search in the previous posts first, if you find any related post, just reply the post to confirm the bug) https://www.dvbdream.org/howtoreportbug.php

Moderators: Dreamer, FredB, X05

r00t
Just can't stay away
Posts: 26
Joined: Mon Apr 05, 2010 4:58 pm

Channel list full produces weird behaviour

Postby r00t » Fri Jun 18, 2010 9:41 am

When channel list is full and you try to scan new transponder, it just doesn't show new/changed/deleted dialog after channel is scanned.(Consider adding "channel list full" message or something similar).

However when I delete one program (making space for one new), it saves all scanned programs - somewhere in channel list, overwriting channels for other sats. As there is no channel list usage count anywhere in program, you can easily corrupt your list without knowing it...

It's really easy to fill all 8000 channels with positioner. Please consider doubling MAX_CHANNELS, as this problem will get even worse as more satellites are launched. I know this may cause compatibility issues with some plugins, so maybe add it as option only?

Skystar2 2.3 + Skystar HD2 + SG-2100 + TwinLNB
User avatar
rel
relocation
Posts: 2051
Joined: Fri Jun 16, 2006 9:50 am

Postby rel » Fri Jun 18, 2010 1:49 pm

doubling the maximum number of channels could slow down some operations, like search which is done actually for many other operations too. update, delete, sort. but next major versions , for example v1.6 might have such change. need to test the idea and possible speed lose on interface/channel list. might be an option as you offered.

upcoming version v1.5d will warn the user about the full channel list.
DVB Dream - because I have to dream about having time to code it
r00t
Just can't stay away
Posts: 26
Joined: Mon Apr 05, 2010 4:58 pm

Postby r00t » Fri Jun 18, 2010 4:31 pm

Thanks for your reply.

Another proper way how to handle this is to have dynamic channel list length:
Add length to header (it can be in 100 channel steps to make it single byte) and when it's full, add 100 more channels. This would mean small speed-up for single position and DVB-T users, as they would need only list with minimum channels, not 4000 (dunno if that would really make any speed difference for searches).
Skystar2 2.3 + Skystar HD2 + SG-2100 + TwinLNB

Return to “Bug Reports”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest