Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#2841 closed defect (invalid)

Patch for Sorting Channels in Mythweb.

Reported by: jochen Owned by: Rob Smith
Priority: minor Milestone: 0.22
Component: mythweb Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I dind't find my old ticket with this patch, so i created a new one.

Patch Updated to work with new mythweb configuration style. Still only usefull if you only have one videosource or not any overlapping channels if you have multiple sources.

No Idea how it can usefull be done when we have more sources with overlapping channels, because i have 3 dvb cards wich are all on the same source.

If someone has ideas, mail them...

Attachments (2)

chansort.diff (7.5 KB) - added by jochen 17 years ago.
Version 1
screenshot.jpg (74.4 KB) - added by Rob Smith 16 years ago.
Screen shot of the floating number

Download all attachments as: .zip

Change History (17)

Changed 17 years ago by jochen

Attachment: chansort.diff added

Version 1

comment:1 Changed 16 years ago by Rob Smith

Owner: changed from xris to Rob Smith
Status: newassigned

comment:2 Changed 16 years ago by Rob Smith

I can see where this will be useful.

Can you work on the interface a bit. The floating number is a little confusing, as well as I have duplicates in my list where I don't in my channel editor window.

Care to update the patch?

comment:3 Changed 16 years ago by jochen

I can work on it...

Maybe the duplicates came from, that you have channel with the same channum, but this is not supported. I'm not sure how to display that channels are grouped (same channum) or how to allow users from my interface to do that!

What do you mean with the loating number is a little confusing?? I don't understand...

Changed 16 years ago by Rob Smith

Attachment: screenshot.jpg added

Screen shot of the floating number

comment:4 Changed 16 years ago by Rob Smith

Attached is a screen shot. Marked is the floating number. I know it's the channel number, but it's not marked as such in the ui, as well as it's set to 0 by default, so it starts up with a floating zero on the screen.

Grouped channels should be considered as the same channel, so it should be displayed as such.

comment:5 Changed 16 years ago by jochen

i know that with the grouped channels. but is there a way in html to group listbox items??

comment:6 Changed 16 years ago by anonymous

there's select's optgroups, but I don't think it does what we want/need. What about just merging them via php and thus the select would be something like value="10-1,10-2,10-3" or whatever you need? Then you can just split on , and get the full list of affected channels

comment:7 Changed 16 years ago by danielk

Version: 0.20head

comment:8 Changed 16 years ago by jochen

I now think i show that channels are grouped by chossing a different background color!

I need to know how does myth work with grouped channels, because i do not use, i have only one source on my system.

Is it so that channels with the same number are grouped channels???

comment:9 Changed 16 years ago by Rob Smith

That is correct jochen.

comment:10 Changed 16 years ago by Rob Smith

Milestone: unknown0.22

comment:11 Changed 16 years ago by Rob Smith

Status: acceptedinfoneeded

comment:12 Changed 15 years ago by jochen

i now started to work on an new patch, where you could group channel in the listbox wich i used to sort... grouped channels will than be combined to the same channel number. i think i get it ready in februray, because im on work the whole january...

if someone has still any suggestions for this, please post...

comment:13 Changed 15 years ago by danielk

Resolution: invalid
Status: infoneededclosed

jochen, when the new patch is ready please reopen.. since it's been 5 months I'm assuming this got forgotten..

comment:14 Changed 15 years ago by jochen

sorry for not doing anything in the last time...

at the moment i'm working on this. but i wanted to use a better drag drop listbox, where i can also easily group the channels. for this i wanted to use some functions of extjs.com. if i do this is that possible that it then can be added to trunk, or is there a better javscript toolbox with a similar functionality wich i'm allowed to use?

comment:15 Changed 15 years ago by Rob Smith

extjs is more work then it's worth imho, We have http://script.aculo.us/ already in the code, see http://wiki.github.com/madrobby/scriptaculous/droppables for an example of drag and drop with scriptaculous.

Note: See TracTickets for help on using tickets.