<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>main</class>
<author>Philip Lyons (viiron@gmail.com)</author>
<license>GPL v3</license>
<version>4.0.0</version>
<widget class="Dialog">
    <property name="name">
        <cstring>main</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>488</width>
            <height>361</height>
        </rect>
    </property>
    <property name="maximumSize">
        <size>
            <width>850</width>
            <height>650</height>
        </size>
    </property>
    <property name="caption">
        <string>Perl Audio Converter</string>
    </property>
    <property name="icon">
        <pixmap>image0</pixmap>
    </property>
    <property name="populationText">
        <string></string>
    </property>
    <property name="associations" stdset="0">
        <stringlist>
            <string></string>
            <string>@outputDir.setText(@env(HOME))
@odir.setText(@env(HOME))</string>
            <string></string>
        </stringlist>
    </property>
    <widget class="TabWidget">
        <property name="name">
            <cstring>conv</cstring>
        </property>
        <property name="geometry">
            <rect>
                <x>0</x>
                <y>10</y>
                <width>490</width>
                <height>377</height>
            </rect>
        </property>
        <property name="paletteForegroundColor">
            <color>
                <red>144</red>
                <green>144</green>
                <blue>144</blue>
            </color>
        </property>
        <property name="paletteBackgroundColor">
            <color>
                <red>61</red>
                <green>61</green>
                <blue>61</blue>
            </color>
        </property>
        <property name="acceptDrops">
            <bool>false</bool>
        </property>
        <property name="tabShape">
            <enum>Rounded</enum>
        </property>
        <property name="margin">
            <number>0</number>
        </property>
        <property name="associations" stdset="0">
            <stringlist>
                <string></string>
            </stringlist>
        </property>
        <widget class="QWidget">
            <property name="name">
                <cstring>tab</cstring>
            </property>
            <attribute name="title">
                <string>Co&amp;nvert</string>
            </attribute>
            <widget class="QLayoutWidget">
                <property name="name">
                    <cstring>Layout17</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>180</y>
                        <width>331</width>
                        <height>29</height>
                    </rect>
                </property>
                <grid>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>0</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="ExecButton" row="0" column="2">
                        <property name="name">
                            <cstring>convert</cstring>
                        </property>
                        <property name="text">
                            <string>C&amp;onvert</string>
                        </property>
                        <property name="toolTip" stdset="0">
                            <string>convert files &amp; directories to output format</string>
                        </property>
                    </widget>
                    <widget class="ComboBox" row="0" column="1">
                        <item>
                            <property name="text">
                                <string>AAC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>AC3</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>AIFF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>APE</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>AU</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>AVR</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>BONK</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>CAF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>CDR</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>FAP</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>FLA</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>FLAC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>IRCAM</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>LA</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>LPAC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>M4A</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MAT</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MAT4</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MAT5</string>
                            </property>
                        </item>
			<item>
			    <property name="text">
				<string>MMF</string>
			    </property>
			</item>
                        <item>
                            <property name="text">
                                <string>MP2</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MP3</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MP4</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MPC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MPP</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>NIST</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>OFR</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>OFS</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>OGG</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>PAC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>PAF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>PVF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>RA</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>RAW</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SD2</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SHN</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SMP</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SND</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SPX</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>TTA</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>VOC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>W64</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>WAV</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>WMA</string>
                            </property>
                        </item>
                        <property name="name">
                            <cstring>Format</cstring>
                        </property>
                        <property name="currentItem">
                            <number>27</number>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string>@widgetText</string>
                            </stringlist>
                        </property>
                    </widget>
                    <widget class="ExecButton" row="0" column="3">
                        <property name="name">
                            <cstring>clearc</cstring>
                        </property>
                        <property name="text">
                            <string>&amp;Clear</string>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string></string>
                            </stringlist>
                        </property>
                        <property name="toolTip" stdset="0">
                            <string>clear konsole window</string>
                        </property>
                    </widget>
                    <widget class="Label" row="0" column="0">
                        <property name="name">
                            <cstring>Label1</cstring>
                        </property>
                        <property name="text">
                            <string>output format</string>
                        </property>
                    </widget>
                </grid>
            </widget>
            <widget class="Konsole">
                <property name="name">
                    <cstring>Konsole1</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>220</y>
                        <width>470</width>
                        <height>91</height>
                    </rect>
                </property>
                <property name="paletteForegroundColor">
                    <color>
                        <red>227</red>
                        <green>227</green>
                        <blue>227</blue>
                    </color>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string>@if (@String.isEmpty(@exec(which pacpl)))
   @Message.error("Could not find pacpl in your PATH, please check your installation")
@endif

@if(@String.isEmpty(@Input))
  @Message.error("You must specity at least one file or directory to convert")
@endif

@if(@String.isEmpty(@outputDir))
   @Message.error("Your must specify the output directory")
@endif

OPTS=""

@if (@overwrite.checked)
OPTS="--overwrite"
@endif

@if(@preserve.checked)
OPTS="$OPTS --preserve"
@endif

@if(@recursive.checked)
OPTS="$OPTS --recursive"
@endif

@if(@delete.checked)
OPTS="$OPTS --delete"
@endif

@if(@dryrun.checked)
OPTS="$OPTS --dryrun"
@endif

@if(@promptgui.checked)
OPTS="$OPTS --gui"
@endif

@forEach(i, @Input)
@ #echo pacpl --to @Format $OPTS --outdir @outputDir "@i"
pacpl --to @Format $OPTS --outdir @outputDir "@i"
@end</string>
                    </stringlist>
                </property>
            </widget>
            <widget class="QLayoutWidget">
                <property name="name">
                    <cstring>Layout5</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>10</y>
                        <width>470</width>
                        <height>60</height>
                    </rect>
                </property>
                <grid>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>0</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="Label" row="1" column="0">
                        <property name="name">
                            <cstring>Label3</cstring>
                        </property>
                        <property name="text">
                            <string>destination folder</string>
                        </property>
                    </widget>
                    <widget class="Label" row="0" column="0">
                        <property name="name">
                            <cstring>Label2</cstring>
                        </property>
                        <property name="text">
                            <string>files &amp; directories</string>
                        </property>
                    </widget>
                    <widget class="FileSelector" row="1" column="1">
                        <property name="name">
                            <cstring>outputDir</cstring>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string>@widgetText</string>
                            </stringlist>
                        </property>
                        <property name="selectionType">
                            <enum>Directory</enum>
                        </property>
                    </widget>
                    <widget class="FileSelector" row="0" column="1">
                        <property name="name">
                            <cstring>Input</cstring>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string>@widgetText</string>
                            </stringlist>
                        </property>
                        <property name="selectionOpenMultiple">
                            <bool>true</bool>
                        </property>
                    </widget>
                </grid>
            </widget>
            <widget class="ButtonGroup">
                <property name="name">
                    <cstring>ButtonGroup1</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>80</y>
                        <width>460</width>
                        <height>91</height>
                    </rect>
                </property>
                <property name="title">
                    <string></string>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                        <string></string>
                    </stringlist>
                </property>
                <widget class="QLayoutWidget">
                    <property name="name">
                        <cstring>Layout40</cstring>
                    </property>
                    <property name="geometry">
                        <rect>
                            <x>10</x>
                            <y>10</y>
                            <width>438</width>
                            <height>71</height>
                        </rect>
                    </property>
                    <grid>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <property name="margin">
                            <number>0</number>
                        </property>
                        <property name="spacing">
                            <number>6</number>
                        </property>
                        <widget class="CheckBox" row="2" column="1">
                            <property name="name">
                                <cstring>promptgui</cstring>
                            </property>
                            <property name="text">
                                <string>pro&amp;mpt for encoder options</string>
                            </property>
                            <property name="toolTip" stdset="0">
                                <string>use kdialog to prompt for bitrate, quality, etc.</string>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="0" column="0">
                            <property name="name">
                                <cstring>preserve</cstring>
                            </property>
                            <property name="text">
                                <string>preserve &amp;directroy structure</string>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="0" column="1">
                            <property name="name">
                                <cstring>recursive</cstring>
                            </property>
                            <property name="text">
                                <string>recursi&amp;vely convert input folder</string>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="2" column="0">
                            <property name="name">
                                <cstring>dryrun</cstring>
                            </property>
                            <property name="text">
                                <string>dr&amp;yrun (simulate conversion only)</string>
                            </property>
                            <property name="toolTip" stdset="0">
                                <string>simulate.  don't actually convert files.</string>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="1" column="0">
                            <property name="name">
                                <cstring>delete</cstring>
                            </property>
                            <property name="text">
                                <string>delete source file &amp;after conversion</string>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="1" column="1">
                            <property name="name">
                                <cstring>overwrite</cstring>
                            </property>
                            <property name="text">
                                <string>overwrite destination file</string>
                            </property>
                        </widget>
                    </grid>
                </widget>
            </widget>
        </widget>
        <widget class="QWidget">
            <property name="name">
                <cstring>tab</cstring>
            </property>
            <attribute name="title">
                <string>R&amp;ip</string>
            </attribute>
            <widget class="Konsole">
                <property name="name">
                    <cstring>ripkonsoler</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>6</x>
                        <y>224</y>
                        <width>470</width>
                        <height>81</height>
                    </rect>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string>OPTIONS=""
RIPOPTS=""

@if(@String.isEmpty(@tracks) &amp;&amp; !@ripall.checked) 
   @Message.error("rip all or tracks must be set in order to rip cd")
@endif

@if(@String.isEmpty(@device))
   @Message.error("device string empty.  this option must be set")
@endif

OPTIONS="--device @device"

@if(!@String.isEmpty(@odir))
OPTIONS="$OPTIONS --outdir @odir"
@endif

@if(@promptE.checked)
OPTIONS="$OPTIONS --gui"
@endif

@if(@dryrunr.checked)
OPTIONS="$OPTIONS --dryrun"
@endif

@if(@overw.checked)
OPTIONS="$OPTIONS --overwrite"
@endif

@if(@discddb.checked)
OPTIONS="$OPTIONS --nocddb"
@endif

@if(@ripall.checked)
   RIPOPTS="--rip all"
@endif

@if(!@String.isEmpty(@tracks))
   RIPOPTS="--rip @tracks"
@endif

echo pacpl $RIPOPTS $OPTIONS --to @ToFmt --noinput 
pacpl $RIPOPTS $OPTIONS --to @ToFmt --noinput

</string>
                    </stringlist>
                </property>
            </widget>
            <widget class="QLayoutWidget">
                <property name="name">
                    <cstring>Layout10</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>190</y>
                        <width>340</width>
                        <height>29</height>
                    </rect>
                </property>
                <grid>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>0</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="ExecButton" row="0" column="2">
                        <property name="name">
                            <cstring>rip</cstring>
                        </property>
                        <property name="text">
                            <string>Rip</string>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string></string>
                            </stringlist>
                        </property>
                    </widget>
                    <widget class="Label" row="0" column="0">
                        <property name="name">
                            <cstring>Label1_3</cstring>
                        </property>
                        <property name="text">
                            <string>output format</string>
                        </property>
                    </widget>
                    <widget class="ExecButton" row="0" column="3">
                        <property name="name">
                            <cstring>clearr</cstring>
                        </property>
                        <property name="text">
                            <string>&amp;Clear</string>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string></string>
                            </stringlist>
                        </property>
                    </widget>
                    <widget class="ComboBox" row="0" column="1">
                        <item>
                            <property name="text">
                                <string>AAC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>AC3</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>AIFF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>APE</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>AU</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>AVR</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>BONK</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>CAF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>CDR</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>FAP</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>FLA</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>FLAC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>IRCAM</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>LA</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>LPAC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>M4A</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MAT</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MAT4</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MAT5</string>
                            </property>
                        </item>
			<item>
			    <property name="text">
				<string>MMF</string>
			    </property>
			</item>
                        <item>
                            <property name="text">
                                <string>MP2</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MP3</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MP4</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MPC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>MPP</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>NIST</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>OFR</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>OFS</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>OGG</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>PAC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>PAF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>PVF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>RA</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>RAW</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SD2</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SF</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SHN</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SMP</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SND</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>SPX</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>TTA</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>VOC</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>W64</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>WAV</string>
                            </property>
                        </item>
                        <item>
                            <property name="text">
                                <string>WMA</string>
                            </property>
                        </item>
                        <property name="name">
                            <cstring>Format_2</cstring>
                        </property>
                        <property name="currentItem">
                            <number>27</number>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string>@widgetText</string>
                            </stringlist>
                        </property>
                    </widget>
                </grid>
            </widget>
            <widget class="GroupBox">
                <property name="name">
                    <cstring>ripoptions</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>100</y>
                        <width>460</width>
                        <height>70</height>
                    </rect>
                </property>
                <property name="title">
                    <string></string>
                </property>
                <widget class="QLayoutWidget">
                    <property name="name">
                        <cstring>Layout16</cstring>
                    </property>
                    <property name="geometry">
                        <rect>
                            <x>30</x>
                            <y>10</y>
                            <width>410</width>
                            <height>46</height>
                        </rect>
                    </property>
                    <grid>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <property name="margin">
                            <number>0</number>
                        </property>
                        <property name="spacing">
                            <number>6</number>
                        </property>
                        <widget class="CheckBox" row="0" column="2">
                            <property name="name">
                                <cstring>overw</cstring>
                            </property>
                            <property name="text">
                                <string>o&amp;verwrite</string>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="0" column="1">
                            <property name="name">
                                <cstring>ripall</cstring>
                            </property>
                            <property name="text">
                                <string>rip &amp;all</string>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="0" column="0">
                            <property name="name">
                                <cstring>discddb</cstring>
                            </property>
                            <property name="text">
                                <string>&amp;disable cddb</string>
                            </property>
                            <property name="associations" stdset="0">
                                <stringlist>
                                    <string></string>
                                    <string></string>
                                    <string></string>
                                </stringlist>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="1" column="0">
                            <property name="name">
                                <cstring>promptE</cstring>
                            </property>
                            <property name="text">
                                <string>prompt for encoder &amp;options</string>
                            </property>
                        </widget>
                        <widget class="CheckBox" row="1" column="1">
                            <property name="name">
                                <cstring>dryrunr</cstring>
                            </property>
                            <property name="text">
                                <string>dr&amp;yrun</string>
                            </property>
                        </widget>
                    </grid>
                </widget>
            </widget>
            <widget class="QLayoutWidget">
                <property name="name">
                    <cstring>Layout18</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>10</x>
                        <y>10</y>
                        <width>460</width>
                        <height>80</height>
                    </rect>
                </property>
                <grid>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>0</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="Label" row="1" column="0">
                        <property name="name">
                            <cstring>Label33</cstring>
                        </property>
                        <property name="text">
                            <string>device</string>
                        </property>
                    </widget>
                    <widget class="Label" row="0" column="0">
                        <property name="name">
                            <cstring>Label36</cstring>
                        </property>
                        <property name="text">
                            <string>output directory</string>
                        </property>
                    </widget>
                    <widget class="LineEdit" row="2" column="1">
                        <property name="name">
                            <cstring>tracks</cstring>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string>@widgetText</string>
                            </stringlist>
                        </property>
                        <property name="toolTip" stdset="0">
                            <string>rip tracks separated by comma (1,3,5,6)</string>
                        </property>
                    </widget>
                    <widget class="LineEdit" row="1" column="1">
                        <property name="name">
                            <cstring>device</cstring>
                        </property>
                        <property name="text">
                            <string>/dev/cdrom</string>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string>@widgetText</string>
                            </stringlist>
                        </property>
                    </widget>
                    <widget class="Label" row="2" column="0">
                        <property name="name">
                            <cstring>Label38</cstring>
                        </property>
                        <property name="text">
                            <string>rip tracks</string>
                        </property>
                    </widget>
                    <widget class="FileSelector" row="0" column="1">
                        <property name="name">
                            <cstring>odir</cstring>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string>@widgetText</string>
                            </stringlist>
                        </property>
                        <property name="selectionType">
                            <enum>Directory</enum>
                        </property>
                    </widget>
                </grid>
            </widget>
        </widget>
        <widget class="QWidget">
            <property name="name">
                <cstring>tab</cstring>
            </property>
            <attribute name="title">
                <string>Ta&amp;g Write</string>
            </attribute>
            <widget class="QLayoutWidget">
                <property name="name">
                    <cstring>Layout26</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>272</x>
                        <y>1</y>
                        <width>180</width>
                        <height>210</height>
                    </rect>
                </property>
                <grid>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>0</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="ExecButton" row="0" column="0">
                        <property name="name">
                            <cstring>writetags</cstring>
                        </property>
                        <property name="text">
                            <string>Write T&amp;ags</string>
                        </property>
                    </widget>
                    <widget class="TextEdit" row="2" column="0">
                        <property name="name">
                            <cstring>TextEdit4</cstring>
                        </property>
                        <property name="text">
                            <string>Supported Write Formats:

MP3
OGG
FLA
FLAC</string>
                        </property>
                        <property name="readOnly">
                            <bool>true</bool>
                        </property>
                    </widget>
                    <widget class="ExecButton" row="1" column="0">
                        <property name="name">
                            <cstring>cleart</cstring>
                        </property>
                        <property name="text">
                            <string>&amp;Clear Konsole</string>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string></string>
                            </stringlist>
                        </property>
                    </widget>
                </grid>
            </widget>
            <widget class="QLayoutWidget">
                <property name="name">
                    <cstring>Layout41</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>1</x>
                        <y>0</y>
                        <width>260</width>
                        <height>28</height>
                    </rect>
                </property>
                <grid>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>0</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="Label" row="0" column="0">
                        <property name="name">
                            <cstring>Label32</cstring>
                        </property>
                        <property name="text">
                            <string>File</string>
                        </property>
                    </widget>
                    <widget class="FileSelector" row="0" column="1">
                        <property name="name">
                            <cstring>tagFile</cstring>
                        </property>
                        <property name="associations" stdset="0">
                            <stringlist>
                                <string>@widgetText</string>
                            </stringlist>
                        </property>
                    </widget>
                </grid>
            </widget>
            <widget class="ButtonGroup">
                <property name="name">
                    <cstring>ButtonGroup2</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>0</x>
                        <y>30</y>
                        <width>260</width>
                        <height>200</height>
                    </rect>
                </property>
                <property name="title">
                    <string></string>
                </property>
                <grid>
                    <property name="name">
                        <cstring>unnamed</cstring>
                    </property>
                    <property name="margin">
                        <number>11</number>
                    </property>
                    <property name="spacing">
                        <number>6</number>
                    </property>
                    <widget class="QLayoutWidget" row="0" column="0">
                        <property name="name">
                            <cstring>Layout25</cstring>
                        </property>
                        <grid>
                            <property name="name">
                                <cstring>unnamed</cstring>
                            </property>
                            <property name="margin">
                                <number>0</number>
                            </property>
                            <property name="spacing">
                                <number>6</number>
                            </property>
                            <widget class="LineEdit" row="5" column="1">
                                <property name="name">
                                    <cstring>genre</cstring>
                                </property>
                                <property name="associations" stdset="0">
                                    <stringlist>
                                        <string>@widgetText</string>
                                    </stringlist>
                                </property>
                            </widget>
                            <widget class="LineEdit" row="1" column="1">
                                <property name="name">
                                    <cstring>title</cstring>
                                </property>
                                <property name="associations" stdset="0">
                                    <stringlist>
                                        <string>@widgetText</string>
                                    </stringlist>
                                </property>
                            </widget>
                            <widget class="Label" row="4" column="0">
                                <property name="name">
                                    <cstring>Label12_4_5</cstring>
                                </property>
                                <property name="text">
                                    <string>Year</string>
                                </property>
                            </widget>
                            <widget class="Label" row="2" column="0">
                                <property name="name">
                                    <cstring>Label12_2_3</cstring>
                                </property>
                                <property name="text">
                                    <string>Track</string>
                                </property>
                            </widget>
                            <widget class="LineEdit" row="2" column="1">
                                <property name="name">
                                    <cstring>track</cstring>
                                </property>
                                <property name="associations" stdset="0">
                                    <stringlist>
                                        <string>@widgetText</string>
                                    </stringlist>
                                </property>
                            </widget>
                            <widget class="Label" row="0" column="0">
                                <property name="name">
                                    <cstring>Label11_3</cstring>
                                </property>
                                <property name="text">
                                    <string>Artist</string>
                                </property>
                            </widget>
                            <widget class="Label" row="1" column="0">
                                <property name="name">
                                    <cstring>Label12_6</cstring>
                                </property>
                                <property name="text">
                                    <string>Title</string>
                                </property>
                            </widget>
                            <widget class="LineEdit" row="3" column="1">
                                <property name="name">
                                    <cstring>album</cstring>
                                </property>
                                <property name="populationText">
                                    <string></string>
                                </property>
                                <property name="associations" stdset="0">
                                    <stringlist>
                                        <string>@widgetText</string>
                                    </stringlist>
                                </property>
                            </widget>
                            <widget class="Label" row="6" column="0">
                                <property name="name">
                                    <cstring>Label12_4_3_2</cstring>
                                </property>
                                <property name="text">
                                    <string>Genre</string>
                                </property>
                            </widget>
                            <widget class="LineEdit" row="4" column="1">
                                <property name="name">
                                    <cstring>year</cstring>
                                </property>
                                <property name="associations" stdset="0">
                                    <stringlist>
                                        <string>@widgetText</string>
                                    </stringlist>
                                </property>
                            </widget>
                            <widget class="Label" row="3" column="0">
                                <property name="name">
                                    <cstring>Label12_3_3</cstring>
                                </property>
                                <property name="text">
                                    <string>Album</string>
                                </property>
                            </widget>
                            <widget class="LineEdit" row="6" column="1">
                                <property name="name">
                                    <cstring>comment</cstring>
                                </property>
                                <property name="associations" stdset="0">
                                    <stringlist>
                                        <string>@widgetText</string>
                                    </stringlist>
                                </property>
                            </widget>
                            <widget class="LineEdit" row="0" column="1">
                                <property name="name">
                                    <cstring>artist</cstring>
                                </property>
                                <property name="associations" stdset="0">
                                    <stringlist>
                                        <string>@widgetText</string>
                                    </stringlist>
                                </property>
                            </widget>
                            <widget class="Label" row="5" column="0">
                                <property name="name">
                                    <cstring>Label12_4_4_2</cstring>
                                </property>
                                <property name="text">
                                    <string>Comment</string>
                                </property>
                            </widget>
                        </grid>
                    </widget>
                </grid>
            </widget>
            <widget class="Konsole">
                <property name="name">
                    <cstring>Konsole2</cstring>
                </property>
                <property name="enabled">
                    <bool>true</bool>
                </property>
                <property name="geometry">
                    <rect>
                        <x>0</x>
                        <y>240</y>
                        <width>480</width>
                        <height>80</height>
                    </rect>
                </property>
                <property name="paletteForegroundColor">
                    <color>
                        <red>151</red>
                        <green>151</green>
                        <blue>151</blue>
                    </color>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string>TAGS=""

@if(!@String.isEmpty(@comment))
TAGS="--comment \"@comment\""
@endif

@if(!@String.isEmpty(@artist))
TAGS="$TAGS --artist \"@artist\""
@endif

@if(!@String.isEmpty(@title))
TAGS="$TAGS --title \"@title\""
@endif

@if(!@String.isEmpty(@track))
TAGS="$TAGS --track \"@track\""
@endif

@if(!@String.isEmpty(@genre))
TAGS="$TAGS --genre \"@genre\""
@endif

@if(!@String.isEmpty(@year))
TAGS="$TAGS --year \"@year\""
@endif

@if(!@String.isEmpty(@album))
TAGS="$TAGS --album \"@album\""
@endif

echo pacpl $TAGS @tagFile
pacpl $TAGS @tagFile</string>
                    </stringlist>
                </property>
            </widget>
        </widget>
        <widget class="QWidget">
            <property name="name">
                <cstring>tab</cstring>
            </property>
            <attribute name="title">
                <string>Abo&amp;ut</string>
            </attribute>
            <widget class="ScriptObject">
                <property name="name">
                    <cstring>qt_dead_widget_ScriptObject1</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>106</x>
                        <y>64</y>
                        <width>32</width>
                        <height>32</height>
                    </rect>
                </property>
                <property name="associations" stdset="0">
                    <stringlist>
                        <string></string>
                    </stringlist>
                </property>
            </widget>
            <widget class="TextEdit">
                <property name="name">
                    <cstring>TextEdit1</cstring>
                </property>
                <property name="geometry">
                    <rect>
                        <x>20</x>
                        <y>10</y>
                        <width>450</width>
                        <height>300</height>
                    </rect>
                </property>
                <property name="paletteBackgroundColor">
                    <color>
                        <red>61</red>
                        <green>61</green>
                        <blue>61</blue>
                    </color>
                </property>
                <property name="textFormat">
                    <enum>AutoText</enum>
                </property>
                <property name="text">
                    <string> Perl Audio Converter

Copyright (C) 2005-2008 Philip Lyons (viiron@gmail.com)

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.
</string>
                </property>
                <property name="readOnly">
                    <bool>true</bool>
                </property>
            </widget>
        </widget>
    </widget>
</widget>
<images>
    <image name="image0">
        <data format="XPM.GZ" length="3694"> </data>
    </image>
</images>
<connections>
    <connection>
        <sender>cleart</sender>
        <signal>clicked()</signal>
        <receiver>Konsole2</receiver>
        <slot>clear()</slot>
    </connection>
    <connection>
        <sender>ripall</sender>
        <signal>clicked()</signal>
        <receiver>tracks</receiver>
        <slot>clear()</slot>
    </connection>
    <connection>
        <sender>clearr</sender>
        <signal>clicked()</signal>
        <receiver>ripkonsoler</receiver>
        <slot>clear()</slot>
    </connection>
    <connection>
        <sender>tracks</sender>
        <signal>completionBoxActivated(const QString&amp;)</signal>
        <receiver>ripall</receiver>
        <slot>toggle()</slot>
    </connection>
    <connection>
        <sender>clearc</sender>
        <signal>clicked()</signal>
        <receiver>Konsole1</receiver>
        <slot>clear()</slot>
    </connection>
    <connection>
        <sender>convert</sender>
        <signal>clicked()</signal>
        <receiver>Konsole1</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>writetags</sender>
        <signal>clicked()</signal>
        <receiver>Konsole2</receiver>
        <slot>execute()</slot>
    </connection>
    <connection>
        <sender>rip</sender>
        <signal>clicked()</signal>
        <receiver>ripkonsoler</receiver>
        <slot>execute()</slot>
    </connection>
</connections>
<layoutdefaults spacing="6" margin="11"/>
</UI>
