<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>10205</bug_id>
          
          <creation_ts>2006-10-29 19:54:18 +0300</creation_ts>
          <short_desc>Этот пакет надо адаптировать для xawtv4</short_desc>
          <delta_ts>2008-03-18 10:03:40 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>xawtv4-vdr</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vyacheslav Dikonov">slava</reporter>
          <assigned_to name="ruslandh">ruslandh</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41779</commentid>
    <comment_count>0</comment_count>
    <who name="Vyacheslav Dikonov">slava</who>
    <bug_when>2006-10-29 19:54:19 +0300</bug_when>
    <thetext>Скрипт XawVDR следует заменить на:

#!/bin/sh
# start VDR in the daemon mode
runvdr -d

# find the SS1 video device
ss1viddev=0
for i in $(xawtv -hwconfig 2&gt;&amp;1 ); do
    if [ ! -z &quot;$(echo $i | grep &apos;&quot;dvb&quot;:&apos; )&quot; ]; then ss1viddev=1
    fi
    if [ $ss1viddev -eq 1 ]; then
        if [ ! -z &quot;$(echo $i | grep &apos;/dev/video&apos; )&quot; ]; then 
            videodev=$i
            break
        fi
    fi
done

# start xawtv telling it to use the SS1 video device
if [ -c &quot;$videodev&quot; ]; then 
    xawtv -video &quot;$videodev&quot;
else 
    xawtv
fi

# stop vdr
killall vdr -9

Такой способ запуска возможен только на СС1, так как позволяет не загружать
процессор декодированием ТВ потока. На СС2 нужно задействоать программное
декодирование xawtv.


Кроме того, устанавливаемые этим пакетом файлы настроек должны заменять файлы
/etc/X11/*/app-defaults/Xawtv4. Иначе невозможно вызвать меню VDR.

Steps to Reproduce:
1.Установить
2.Увидеть что не работает

Actual Results:  
По нажатию пробела xawtv пытается переключиться на другой эфирный канал.

Expected Results:  
Должно появляться меню VDR</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42090</commentid>
    <comment_count>1</comment_count>
    <who name="Hihin Ruslan">ruslandh</who>
    <bug_when>2006-11-10 11:21:32 +0300</bug_when>
    <thetext>Скрипт XawVDR заменил.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43035</commentid>
    <comment_count>2</comment_count>
    <who name="ruslandh">ruslandh</who>
    <bug_when>2006-12-13 23:52:15 +0300</bug_when>
    <thetext>Изменено</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>