hot-keys - numbering of channel-list?

Asked by Timf

Hi Michael,
1).
The addition of hot-keys is excellent.
However, using PAGEUP/PAGEDOWN obviously only allows you to change channels one at a time.

Once the channels.conf is displayed, along with the EPG, if each channel was allocated a number,
(eg like as in Kaffeine), one could use the number keys to jump to any channel, instead of having to
"scroll" via PAGEUP/PAGEDOWN keys. If a user had very many channels, this could be laborious;
but with a numbering scheme, much quicker.

As an extra, for remote controls, once a tv card has it's remote control working via evdev, ie as a keyboard,
a user can use the remote control to operate your hot-keys. I simply altered my key-codes for CHANNELUP and
CHANNELDOWN to PAGEUP and PAGEDOWN; ZOOM to F; INFO to E; and I can now use my remote control with Me-TV.

If the Numbering scheme could be implemented, simple remote control access would be achieved!

Any chance?

2).
Your advice on the list to enable using 2 tuners works:
Create an me-tv2.config, with the different lines:

<add key="dvr_path" value="/dev/dvb/adapter1/dvr0"/>
<add key="demux_path" value="/dev/dvb/adapter1/demux0"/>
<add key="frontend_path" value="/dev/dvb/adapter1/frontend0"/>

enables one to use Me-TV on the 2nd tuner. I must, however, use a different app to access the 1st tuner.
(I can't run Me-TV twice in ubuntu - the 2nd instance will open, but it freezes - something to do with the sound system)

Again it's a terrific app - well done!

Regards,
Timf

Question information

Language:
English Edit question
Status:
Solved
For:
Me TV Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#1

1). You should raise that as a blueprint. I think it's not a bad idea.
2). Are you using the -c option? Try changing the "audio_driver" setting in one of the config files to "alsa", "oss" or "esd".

Revision history for this message
Timf (timf) said :
#2

Michael Lamothe wrote:
> Your question #32325 on Me TV changed:
> https://answers.edge.launchpad.net/me-tv/+question/32325
>
> Status: Open => Answered
>
> Michael Lamothe proposed the following answer:
> 1). You should raise that as a blueprint. I think it's not a bad idea.
> 2). Are you using the -c option? Try changing the "audio_driver" setting in one of the config files to "alsa", "oss" or "esd".
>
>
1).
I haven't tried that before, I'll have a go.
I have coding experience, but none in Glade.

2).
I just place this file on to the desktop, and run it in a terminal:

#!/bin/sh
me-tv -c /home/timf/.me-tv/me-tv2.config

Do you mean this?

<add key="xine.audio_driver" value="auto"/>

Regards,
Timf

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#3

Yes, "xine.audio_driver", change that one.

Revision history for this message
Timf (timf) said :
#4

Michael Lamothe wrote:
> Your question #32325 on Me TV changed:
> https://answers.edge.launchpad.net/me-tv/+question/32325
>
> Status: Open => Answered
>
> Michael Lamothe proposed the following answer:
> Yes, "xine.audio_driver", change that one.
>
>
Hi Michael,

Doing this in both me-tv.config and me-tv2.config:

<add key="xine.video_driver" value="auto"/>
<add key="xine.audio_driver" value="alsa"/>

worked fine in ubuntu gutsy 7.10
Both instances of me-tv work great. (me-tv in gutsy stuck at 5.27)

In ubuntu hardy 8.04, if I use alsa for all xine sound (no pulseaudio on
any),
I can use kaffeine on one tuner, and me-tv on another tuner,
and all works great in 8.04.

But in ubuntu hardy 8.04, using two instances of me-tv,
with all alsa, sound is ok,
but now the video in both instances of me-tv chop up badly to lots of green.

The only other option for video I can see is "xshm", however
this makes no difference.

What should I try?

Regards,
Timf

Revision history for this message
Timf (timf) said :
#5

timf wrote:
> Michael Lamothe wrote:
>> Your question #32325 on Me TV changed:
>> https://answers.edge.launchpad.net/me-tv/+question/32325
>>
>> Status: Open => Answered
>>
>> Michael Lamothe proposed the following answer:
>> Yes, "xine.audio_driver", change that one.
>>
>>
> Hi Michael,
>
> Doing this in both me-tv.config and me-tv2.config:
>
> <add key="xine.video_driver" value="auto"/>
> <add key="xine.audio_driver" value="alsa"/>
>
> worked fine in ubuntu gutsy 7.10
> Both instances of me-tv work great. (me-tv in gutsy stuck at 5.27)
>
> In ubuntu hardy 8.04, if I use alsa for all xine sound (no pulseaudio
> on any),
> I can use kaffeine on one tuner, and me-tv on another tuner,
> and all works great in 8.04.
>
> But in ubuntu hardy 8.04, using two instances of me-tv,
> with all alsa, sound is ok,
> but now the video in both instances of me-tv chop up badly to lots of
> green.
>
>
> The only other option for video I can see is "xshm", however
> this makes no difference.
>
>
> What should I try?
>
> Regards,
> Timf
>
Correction! Using the latest drivers from Linuxtv.org, the same problem
occurs
in ubuntu 7.10 and ubuntu 8.04.
(Need to use these drivers to obtain working cards; in 8.04, need to
rm -rf /lib/modules/.../ubuntu/media/saa7134 and cx88 first before
compiling)

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#6

Are you using different "xine.fifo_path" settings? They will definitely conflict if they use the same path.

Revision history for this message
Timf (timf) said :
#7

Michael Lamothe wrote:
> Your question #32325 on Me TV changed:
> https://answers.edge.launchpad.net/me-tv/+question/32325
>
> Status: Open => Answered
>
> Michael Lamothe proposed the following answer:
> Are you using different "xine.fifo_path" settings? They will definitely
> conflict if they use the same path.
>
>
Brilliant! OK - created a 2nd called video2.fifo
and we are set - 2 running me-tv's on 2 tuners! (On 8.04)

Many thanks!

Timf

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#8

That's good news.

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#9

Make sure that you check Me TV 0.6 when it's done. It will support multiple tuners.

Revision history for this message
Timf (timf) said :
#10

Michael Lamothe wrote:
> Your question #32325 on Me TV changed:
> https://answers.edge.launchpad.net/me-tv/+question/32325
>
> Status: Answered => Solved
>
> Michael Lamothe changed the question status:
> Make sure that you check Me TV 0.6 when it's done. It will support
> multiple tuners.
>
>
OK, sorry to be a bother.
ESD turned off (infamous for causing A/V sync problems).
With xine.audio_driver" value="alsa" in both
- bad A/V sync problem in both, can play both

With xine.audio_driver" value="auto" in one, xine.audio_driver"
value="alsa" in 2nd
- no A/V sync problem, won't load 2nd

With xine.audio_driver" value="auto" in both,
- no A/V sync problem, can only load one a time or Green choppy video,
choppy audio in both

Don't know anyhting about this new Pulseaudio.

Do you know of anywhere in xine config where A/V sync can be managed?

Revision history for this message
Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#11

Hi Tim,

You might need to up the number of xine video buffers. Depending on which version of Me TV you have, you change it in the xine.config or the me-tv.config.

Thanks,

Michael

Revision history for this message
Timf (timf) said :
#12

Michael Lamothe wrote:
> Your question #32325 on Me TV changed:
> https://answers.edge.launchpad.net/me-tv/+question/32325
>
> Michael Lamothe posted a new comment:
> Hi Tim,
>
> You might need to up the number of xine video buffers. Depending on
> which version of Me TV you have, you change it in the xine.config or the
> me-tv.config.
>
> Thanks,
>
> Michael
>
>
OK. Should have thought of that!

 From Question 25644 from Dale,

I'm trying his:

.version:2
engine.buffers.audio_num_buffers:1024
engine.buffers.video_num_buffers:2048

which seems like a good scheme.

(I am presuming these numbers are kilobytes?)

I need to do a little investigating, as the blurb for 8.04 was about the
new sound system Pulseaudio, supposedly to replace ESD,
but it seems to default install ESD anyway.

I had this turned off, in preferences->sound but I may have
inadvertently turned off Pulseaudio (It's marked ESD!).

The A/V sync problem improved dramatically by turning "ESD" on, and
using ALSA, not auto in both instances (this not work in 7.10 or debian
lenny).
However, with testing, after a few hours, just using one instance, the
whole system froze to a still picture, had to power cycle.

So this solution with xine.config may solve that as well.
Fingers crossed!

Timf