Channel Sorting

Asked by TopEnder on 2009-06-15

Me-TV works well with 9.04 (jaunty)

Is there anyway to sort the channels, if not could a sort Up or Down keys be added to View/Channel Editor in a future release.
Example:

Current Order to this Order (Alphabetical)
ABC 1 DDT HD
ABC2 Nine Darwin HD
Nine Darwin HD SBS ONE
SBS ONE SBS TWO
SBS TWO SBS 1
SCTV HD - Darwn SCTV HD - Darwn

Thanks, TopEnder

Question information

Language:
English Edit question
Status:
Solved
For:
Me TV Edit question
Assignee:
No assignee Edit question
Solved by:
Scott Evans
Solved:
2009-06-15
Last query:
2009-06-15
Last reply:
2009-06-15

Do you mean that you need a re-order feature? Or are you asking me to write a channel sorter for your 6 channels ;)

Scott Evans (vk7hse) said : #2

Hi...

Here's an alternate solution,

Grab yourself a copy of W_scan from the ubuntu repositories, this
application allows you to create your own channel.conf file, then you
can edit the order that you wish to have the channels.

The text you need to issue to W_scan is... (this will take a little
while as it does a full scan of all DVB-T channels!)

w_scan -X > channels.conf

this will then create the channels.conf file, this is sorted by default
by frequency so then you can use your favourite text editor and sort the
channels as you want them to appear, NOTE! do not add any extra
characters to the generated text or this will not work... best of
luck :)

Here's an example of the text output (from the above created
channels.conf) I get here for Hobart...

WIN HD(WIN
Digital):184500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:129:0:10
WIN TELEVISION(WIN
Digital):184500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:33:36:1
ABC
HDTV(ABC):191500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:2314:0:624
ABC1(ABC):191500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:512:650:625
ABC2(ABC):191500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:2307:2308:626
ABC1(ABC):191500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:512:650:627
ABC3(ABC):191500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:512:650:628
ABC DiG
Radio(ABC):191500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:0:2317:630
ABC DiG
Jazz(ABC):191500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_AUTO:FEC_AUTO:QAM_AUTO:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:0:2318:631
SBS
ONE(SBS):205500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:161:81:897
SBS
TWO(SBS):205500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:162:83:898
SBS
3(SBS):205500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:161:81:899
SBS
4(SBS):205500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:161:81:900
SBS
HD(SBS):205500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:102:103:901
SBS Radio
1(SBS):205500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:201:910
SBS Radio
2(SBS):205500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:0:202:911
SCTV Hobart(Southern Cross
Television):212500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:625:626:2306
SCTV - HD(Southern Cross
Television):212500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:3611:0:2338
SCTV(Southern Cross
Television):212500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE:625:626:2370
TDT - SD(Tasmanian Digital
TV):219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:657:658:2071
TDT - HD(Tasmanian Digital
Television):219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_1_2:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE:3511:0:2103

On Mon, 2009-06-15 at 05:54 +0000, Michael Lamothe wrote:

> Question #74275 on Me TV changed:
> https://answers.launchpad.net/me-tv/+question/74275
>
> Status: Open => Needs information
>
> Michael Lamothe requested for more information:
> Do you mean that you need a re-order feature? Or are you asking me to
> write a channel sorter for your 6 channels ;)
>

--
Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
Skype: vk7hse
<email address hidden>
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 6949D271

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Hi Scott, I don't see how this is any easier than using the Channel Editor. Can you please explain?

Not sure that this is answered yet.

Scott Evans (vk7hse) said : #5

Ha its not! I didn't realise that you could drag'n'drop the channels in
the editor ;)

On Mon, 2009-06-15 at 08:06 +0000, Michael Lamothe wrote:

> Question #74275 on Me TV changed:
> https://answers.launchpad.net/me-tv/+question/74275
>
> Michael Lamothe requested for more information:
> Hi Scott, I don't see how this is any easier than using the Channel
> Editor. Can you please explain?
>

--
Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
Skype: vk7hse
<email address hidden>
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 6949D271

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

Still needs information.

TopEnder (topender) said : #7

Michael Lamothe, Thanks, for the quick reply, What I am suggesting is two buttons (Move Up & Move Down) added to the Channel Editor area so channels can be sorted/ moved, similar to what is available is a Set Top Box. In my case I did not list all the available channels in the Darwin area as all are not available in "au-Darwin" I have to pick up the DDT channels fro "au-Adelaide", which puts the at the bottom of channels available for viewing at the bottom of the displayed list. TopEnder

Scott Evens, Thanks for the reply, I have never been able to get "w_scan -X > channels.conf" to work, just a list of numbers (probable frequencies) e.g.
w_scan version 20081106
Info: using DVB adapter auto detection.
   Found DVB-T frontend. Using adapter /dev/dvb/adapter0/frontend0
-_-_-_-_ Getting frontend capabilities-_-_-_-_
frontend Afatech AF9013 DVB-T supports
INVERSION_AUTO
QAM_AUTO
TRANSMISSION_MODE_AUTO
GUARD_INTERVAL_AUTO
HIERARCHY_AUTO
FEC_AUTO
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
177500:
184500:
191500:
198500:
205500:
212500:
219500:
226500:
474000:
482000:
490000: ..............etc etc
.
.
ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!
dumping lists (0 services)
Done.

While me-tv works and works very well, I have similar problems trying to get "Channel.conf" working with Xine and TVtime. TopEnder

Scott Evans (vk7hse) said : #8

That's normal output for w_scan, the > xxxx is the file that is created
as a result you then can play with that! however there is an even easier
way to shift the channels.. in the channel editor just drag them to the
order you want! (only discovered this today myself!)

On Mon, 2009-06-15 at 12:00 +0000, TopEnder wrote:

> Question #74275 on Me TV changed:
> https://answers.launchpad.net/me-tv/+question/74275
>
> Status: Needs information => Open
>
> TopEnder gave more information on the question:
> Michael Lamothe, Thanks, for the quick reply, What I am suggesting is
> two buttons (Move Up & Move Down) added to the Channel Editor area so
> channels can be sorted/ moved, similar to what is available is a Set Top
> Box. In my case I did not list all the available channels in the
> Darwin area as all are not available in "au-Darwin" I have to pick up
> the DDT channels fro "au-Adelaide", which puts the at the bottom of
> channels available for viewing at the bottom of the displayed list.
> TopEnder
>
> Scott Evens, Thanks for the reply, I have never been able to get "w_scan -X > channels.conf" to work, just a list of numbers (probable frequencies) e.g.
> w_scan version 20081106
> Info: using DVB adapter auto detection.
> Found DVB-T frontend. Using adapter /dev/dvb/adapter0/frontend0
> -_-_-_-_ Getting frontend capabilities-_-_-_-_
> frontend Afatech AF9013 DVB-T supports
> INVERSION_AUTO
> QAM_AUTO
> TRANSMISSION_MODE_AUTO
> GUARD_INTERVAL_AUTO
> HIERARCHY_AUTO
> FEC_AUTO
> -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
> 177500:
> 184500:
> 191500:
> 198500:
> 205500:
> 212500:
> 219500:
> 226500:
> 474000:
> 482000:
> 490000: ..............etc etc

--
Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
Skype: vk7hse
<email address hidden>
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 6949D271

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

TopEnder (topender) said : #9

Scott Evans, Maybe it's my age but you lost me, the last bit of the w-scan entry says:
"ERROR: Sorry - i couldn't get any working frequency/transponder
 Nothing to scan!!
dumping lists (0 services)
Done." , TopEnder

Best Scott Evans (vk7hse) said : #10

In that case then stick with the channel file that's for Darwin! then
just drag'n'drop the channels to the order you want...

On Mon, 2009-06-15 at 12:35 +0000, TopEnder wrote:

> Question #74275 on Me TV changed:
> https://answers.launchpad.net/me-tv/+question/74275
>
> Status: Answered => Open
>
> TopEnder is still having a problem:
> Scott Evans, Maybe it's my age but you lost me, the last bit of the w-scan entry says:
> "ERROR: Sorry - i couldn't get any working frequency/transponder
> Nothing to scan!!
> dumping lists (0 services)
> Done." , TopEnder
>

--
Scott Evans VK7HSE
Phone: +61362291658
Mobile: +61417586157
Skype: vk7hse
<email address hidden>
http://www.vk7hse.hobby-site.org
PGP/GPG Key ID 6949D271

--
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.

TopEnder (topender) said : #11

Thanks Scott Evans, that solved my question.