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

    BleachBit
    Copyright (C) 2014 Andrew Ziem
    http://bleachbit.sourceforge.net

    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 <http://www.gnu.org/licenses/>.

-->
<cleaner id="realplayer">
  <label>RealPlayer</label>
  <option id="cookies">
    <label>Cookies</label>
    <description>Delete cookies, which contain information such as web site preferences, authentication, and tracking identification</description>
    <action command="delete" search="file" path="~/.config/real/rpcookies.txt"/>
    <action command="delete" search="file" path="$APPDATA\Real\RealPlayer\cookies.txt"/>
  </option>
  <option id="history">
    <label>History</label>
    <description>Delete the usage history</description>
    <!-- FIXME: RealPlayer uses a special .ini format which isn't currently compatible -->
    <!-- <action command="ini" search="file" path="~/.config/real/realplayerrc" section="recent_urls"/> -->
    <action command="delete" search="file" path="$APPDATA\Real\RealPlayer\realplayer.ste"/>
    <action command="delete" search="glob" path="$APPDATA\Real\RealPlayer\History\*.lnk"/>
  </option>
  <option id="logs">
    <label>Logs</label>
    <description>Delete the logs</description>
    <action command="delete" search="file" path="$APPDATA\Real\RealPlayer\RealPlayer-log.txt"/>
    <action command="delete" search="walk.files" path="$APPDATA\Real\RealPlayer\ErrorLogs\"/>
  </option>
</cleaner>
