Channel sorting could use some work
Added by stefan fiala almost 7 years ago
In ticket #4819 response #8 an observation is made about sorting.
In the US there are often a boatload of channels, most of which are rubbish, than can number in the
thousands. I have 1100 or so, thats15 pages to scroll around in.
The output of the numeric sort as referenced in #8 a bit quirky.
[There's a name for this sort type but it escapes me].
I think a general-numeric-sort is what would be more obvious.
I think that goes 0,1,2,3,4,5,6,7,8,9,10...99,100,101...199,200,201.......1099,1100,1101
Obvious to humans!.
Probably wouldn't matter with a small number of channels so may not appear obvious outside the US!.
I wondered around in the source a bit and it might be that a different option to qsort(...) in channels.c?
would do the trick...
Replies (3)
RE: Channel sorting could use some work - Added by stefan fiala about 6 years ago
Ticket #4964 ended up closed:-
Updated by Jaroslav Kysela 7 months ago
Status changed from New to Rejected
Comment
The new sorting is available in latest development code - 4.4. It won't be ported to 4.2.
...
I just built a very recent 4.3(.1312) from git, I thought this was a near-cousin of 4.4
but dont see anything different with sorting?. Is it in there?, if so how is it modified?, otherwise
which 4.4 would be advised?. [I like the cablecard setup in 4.3].
RE: Channel sorting could use some work - Added by Em Smith about 6 years ago
Works for me in Config->Channel/EPG->Channel tab.
My channel numbers go 0,8,9,11...87,97,98,101...978,979,3101, so numerically, whereas a while ago it was "alphabetical".
Are you 100% sure that the new version is installed? Check the "About" tab.
Or perhaps you're looking at a different tab to me.
RE: Channel sorting could use some work - Added by stefan fiala about 6 years ago
I was in config->dvb_inputs, services or channels.
I'll try epg->channel
So the modified sorting is only done in certain places?.