Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Sort by Time and Channel.: msg#00000

tv.xmltv.devel

Subject: Re: Sort by Time and Channel.

Hi Rob Medros,

You said that when using tv_sort, if you sort by time then the
channels are out of order. You wanted to sort by time first and then
by channel. I promised to add this as a feature.

Sorry, when I wrote my reply I wasn't thinking straight. In fact
tv_sort already sorts the channels if there are two programmes with
the same times. The sorting is:

- By start time
- If start times are the same, then by stop time
- If both times are the same, then by channel id

You could be getting the wrong result for one of two reasons:

- tv_sort is ordering by stop time, but you want it to ignore the
stop time and arrange shows by start time and channel only.

- tv_sort is comparing the internal channel ids - those strings in
the XML file that look like domain names - but you want it to sort
by the channel's display name.

Can you make a small XML file, with perhaps three or four programmes,
which tv_sort doesn't sort the way you want? Send that to me and
describe what sorting order you think it should have. Then I'll see
whether a new feature in tv_sort is needed.

--
Ed Avis <ed@xxxxxxxxxxx>







<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
drivers.mtd/200...    security.firewa...    java.openamf.cv...    rpm.yum/2003-08...    telephony.sipp....    file-systems.oc...    qnx.openqnx.dev...    voip.linphone.u...    hardware.sony/2...    network.simulat...    boot-loaders.gr...    ietf.usenet.for...    culture.languag...    emacs.latex.pre...    music.jamiroqua...    xfree86.neomagi...    user-groups.lin...    ltp/2006-08/msg...    kde.kst/2005-08...    programming.too...    os.freebsd.deve...    window-managers...    audio.cd-record...    gnu.fiasco.bugs...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation