From: <hon...@gm...> - 2014-12-24 12:28:46
|
Hi All, Please can anyone help with a question I have. My understanding from the DTD is that "clumpidx" relates to 2 (or more) programmes in the same timeslot. DTD: +++++++++++ TV listings sometimes have the problem of listing two or more programmes in the same timeslot, such as 'News; Weather'. We call this a 'clump' of programmes, and the 'clumpidx' attribute differentiates between two programmes sharing the same timeslot and channel. In this case News would have clumpidx="0/2" and Weather would have clumpidx="1/2". +++++++++++ I've interpreted that as being, for example: 18:00 - 18:30 News 18:25 - 18:30 Weather In this scenario News gets clumpidx="0/2" and Weather gets clumpidx="1/2" However, tv_sort has a different interpretation of "clumpidx". Sub overlap() (lines 405-429) treats all programmes as being overlaps (i.e. ignores the clumpidx) unless they both (or 'all'!) start at the *same time*. tv_sort is rejecting my clumps as being overlapping because it is not using the clumpidx I have set. Is tv_sort wrong, or have I misunderstood? Thanks, Geoff |