as i am not at all experienced in writing bash i post a request here:
The Script should just toggle between 4 statuses.
Each time it is run, it should change the value of # from 0 to 1 to 2 to 3 to 4 to 0
ivtvctl -z #
the actual value of # can be seen by using
ivtvctl -Z (this time it is a capital letter !)
ZitatAlles anzeigenivtvctl -Z
ioctl VIDIOC_G_TUNER ok
current audio mode : 3
(stereo 1, lang1 3, lang2 2, mono 0)
available subchannels: 0xd
(stereo 0x2, lang1 0x8, lang2 0x4, mono 0x1)
and is represented by the first line's numer (here it is 3)
Zitatcurrent audio mode : 3
this would make it easy for all analog dual channel users to switch languages in other applications than vdr.