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

    BleachBit
    Copyright (C) 2008-2025 Andrew Ziem
    https://www.bleachbit.org

    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/>.

    @app VLC media player
    @url https://www.videolan.org/vlc/index.html
    @os Windows, Linux, FreeBSD, NetBSD, OpenBSD
    @cleanerversion v2.0.0
    @cleanerdate 2019-03-18.2
    @cleanerby Andrew Ziem (2010-09-23 - 2018-10-15) & tiemay (2014-06-06) & theatre-x (2015-02-05) & ROCKNROLLKID (2017-01-14) & Vincent DUVERNET - Nolmë Informatique (???) & Tobias B. Besemer (2019-03-18)
    @tested ok v???, Windows 7
    @testeddate 2019-03-10 (... with an old version of the cleaner!)
    @testedby https://github.com/Tobias-B-Besemer
    @note 

-->
<cleaner id="vlc">
  <label>VLC media player</label>
  <description>Media player</description>
  <running type="exe" os="windows" same_user="true">vlc.exe</running>
  <running type="exe" os="linux" same_user="true">vlc</running>
  <var name="Profile">
    <value os="windows">%AppData%\vlc</value>
    <value os="linux">$XDG_CONFIG_HOME/vlc</value>
  </var>
  <var name="Config-File">
    <value os="windows">vlc-qt-interface.ini</value>
    <value os="linux">vlc-qt-interface.conf</value>
  </var>
  <option id="mru">
    <label>Most recently used</label>
    <description>Delete the most recently used list</description>
    <action search="file" path="$$Profile$$/$$Config-File$$" command="ini" section="General" parameter="filedialog-path"/>
    <action search="file" path="$$Profile$$/$$Config-File$$" command="ini" section="RecentsMRL"/>
    <action search="file" path="$$Profile$$/$$Config-File$$" command="ini" section="OpenDialog" parameter="netMRL"/>
    <!-- On VLC 3.0.7.1 Vetinari under Ubuntu 19.04, album art is under ~/.cache/vlc/art/artistalbum/ -->
    <action command="delete" search="walk.files" path="$$Profile$$/art/artistalbum/"/>
    <action command="delete" search="walk.files" path="$XDG_CACHE_HOME/vlc/art/artistalbum/"/>
  </option>
  <option id="memory_dump">
    <label>Memory dump</label>
    <description>Delete the file</description>
    <action command="delete" search="file" path="$$Profile$$\crashdump"/>
  </option>
</cleaner>
