|
|
| <prev next> |
Choosing A Webhost: |
Re: Sort by Time and Channel.: msg#00000tv.xmltv.devel
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> |
|---|---|---|
| Next by Date: | Re: Re: Sort by Time and Channel., Andy Balaam |
|---|---|
| Next by Thread: | Re: Re: Sort by Time and Channel., Andy Balaam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |