<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2023 Dániel Kolozsi -->
<component type="desktop-application">
    <id>io.github.swanux.hbud</id>
    <name>HBud</name>
    <summary>Simple audio/video player and karaoke app written in Python and GTK4</summary>
    <metadata_license>CC0-1.0</metadata_license>
    <project_license>GPL-3.0+</project_license>
    <content_rating type="oars-1.1"/>
    <description>
        <p>Features:</p>
        <ul>
            <li>Audio and video playback</li>
            <li>Subtitle support</li>
            <li>Karaoke mode (synced lyrics needed in own srt format, see GitHub repo for instructions)</li>
            <li>Static lyric automatically from online sources</li>
            <li>Metadata editor (for audio files)</li>
            <li>Playlists (from folder structure)</li>
            <li>Seamlessly switch back and forth between video and audio playback (remembers where to continue)</li>
            <li>Native, lightweight and simple</li>
            <li>Minimalistic design</li>
            <li>Customizable</li>
            <li>Flatpak package for compatibility and security</li>
        </ul>
    </description>
    <categories>
        <category>Video</category>
        <category>AudioVideo</category>
        <category>Player</category>
        <category>Audio</category>
    </categories>
    <url type="homepage">https://github.com/swanux/hbud</url>
    <url type="bugtracker">https://github.com/swanux/hbud/issues</url>
     <url type="donation">https://ko-fi.com/swanux</url>

    <releases>
        <release version="0.4.2" date="2023-03-22">
            <description>
                <p>A Shrektacular changelog for a spring release (annyversary of Shrek movies in May).</p>
                <ul>
                    <li>Loading animation during playlist processing</li>
                    <li>Added MPRIS integration</li>
                    <li>Added ability to open multiple files at once from file browser</li>
                    <li>Now possible to drag and drop files to open (video / audio / subtitle - detected automatically)</li>
                    <li>Added keyboard shortcuts window + new shortcuts</li>
                    <li>Reworked fullscreen video experience</li>
                    <li>Added option to set fullscreen player UI opacity</li>
                    <li>New right click menu option to play a track next</li>
                    <li>Added option to clear cache</li>
                    <li>New utility pane for managing multiple saved playlists (folder-based for now)</li>
                    <li>Hardened flatpak permissions (no filesystem access at all!)</li>
                    <li>Added animations to make changes in the UI more visually appealing / coherent</li>
                    <li>Faster loading speed with artwork caching (noticable with larger playlists)</li>
                    <li>Reduced flatpak installed size by around 50% (runtimes not included)</li>
                    <li>Reworked and improved seeking and slider</li>
                    <li>Changed the default icon for tracks without artwork</li>
                    <li>Polished karaoke lyric display</li>
                    <li>Lots of backend and frontend related fixes and improvements</li>
                    <li>Restructured development environment and codebase</li>
                    <li>Other minor UI and UX tweaks</li>
                </ul>
            </description>
        </release>
        <release version="0.4.1.2" date="2023-02-09">
            <description>
                <p>Fixes and improvements.</p>
                <ul>
                    <li>Fixed issue where missing codecs caused crash</li>
                    <li>Added System info page to Preferences</li>
                </ul>
            </description>
        </release>
        <release version="0.4.1.1" date="2023-02-05">
            <description>
                <p>Major pointrelease.</p>
                <ul>
                    <li>New About window using Adw.AboutWindow</li>
                    <li>Added option to edit lyric tag in the metadata editor</li>
                    <li>Updated runtime (Gnome 42 -> 43)</li>
                    <li>Improved video playback performance (up to 2-3x better with hardware acceleration)</li>
                    <li>Improved overall stability and compatibility</li>
                    <li>Handle baked in subtitles</li>
                    <li>Fixed flatpak related issues</li>
                    <li>Added option to disable / enable hardware acceleration</li>
                    <li>Switched from Gtk.Video to gtk4paintablesink from gst-rs</li>
                    <li>Fixed missing app icon in some cases</li>
                    <li>Many smaller bugfixes</li>
                    <li>Hotfixes over 0.4.1...</li>
                </ul>
            </description>
        </release>
        <release version="0.4.0" date="2022-07-26">
            <description>
                <p>Complete migration to GTK4/LibAdwaita.</p>
                <ul>
                    <li>Switching back to GStreamer</li>
                    <li>Improved video performance (finally)</li>
                    <li>Lots of improvements regarding flatpak packaging</li>
                    <li>Fixed issue related to playing mp4 videos</li>
                    <li>Complete migration to LibAdwaita and GTK4 (nearly full rewrite)</li>
                    <li>Lots of bugfixes</li>
                    <li>Several GUI related performance fixes</li>
                    <li>Updated custom widgets (TrackBox now based on ActionRow)</li>
                    <li>Code-based GUI generation instead of Glade</li>
                    <li>Brand new preferences (frontend and backend)</li>
                    <li>Fresh look and feel (including refreshed icon)</li>
                    <li>More attention to GNOME design standards</li>
                    <li>Album cover now part of the TrackBox widget</li>
                    <li>New minimal player mode</li>
                    <li>Removed drag and drop support (reorder is still possible using arrows)</li>
                    <li>Now using audio metadata to store lyrics by default (misc and same folder are still supported)</li>
                    <li>Seeking with mouse is a bit choppy (bug in GTK4 issue 4939 - had to use workaround)</li>
                    <li>Handling imperfect video files is WIP (crash is possible)</li>
                    <li>Probably new bugs (not intentional though)</li>
                </ul>
            </description>
        </release>
        <release version="0.3.5" date="2022-03-14">
            <description>
                <p>Short changelog, but quite big changes.</p>
                <ul>
                    <li>Complete rebase on libVLC v3 (instead of GStreamer)</li>
                    <li>Show current time when dragging slider</li>
                    <li>Numerous bugfixes and improvements</li>
                    <li>Performance optimizations (video playback 2-3x less CPU usage)</li>
                    <li>Complete migration to flatpak</li>
                </ul>
            </description>
        </release>
        <release version="0.3.0" date="2022-01-01">
             <description>
                <p>The first version from the 0.3.x branch (codename: Vereena), a milestone release.</p>
                <ul>
                    <li>Added new keyboard shortcuts (Ctrl+O, Ctrl+F, Ctrl+Space)</li>
                    <li>AcoustID and MusicBrainz integration for automatic metadata fetching</li>
                    <li>Added option to set preferred album cover size</li>
                    <li>Greatly improved lyric fetching</li>
                    <li>New helper scripts (translate, musixapi and letrasapi)</li>
                    <li>New high quality artwork by Seh</li>
                    <li>Added translation support (Hungarian and English for now)</li>
                    <li>Added focus on currently playing track</li>
                    <li>Added option to load lyric / subtitle from 'misc' subfolder (it is now the default location)</li>
                    <li>Added option to set offset for synced lyrics</li>
                    <li>Added option to confirm whether lyric is correct or not</li>
                    <li>Fixed several bugs</li>
                    <li>Improved theming</li>
                    <li>Polished the GUI</li>
                    <li>Optimized video playback</li>
                </ul>
            </description>
        </release>
        <release version="0.2.3" date="2021-10-03">
             <description>
                <p>Another update with bugfixes and small changes.</p>
                <ul>
                    <li>Modernized and revamped the settings menu</li>
                    <li>Added option to change accent color</li>
                    <li>Fixed packaging issues</li>
                    <li>Fixed some bugs</li>
                    <li>Added some shortcuts (double click to fullscreen, etc.)</li>
                    <li>Added release notes to about section</li>
                </ul>
            </description>
        </release>
        <release version="0.2.2" date="2021-09-05">
             <description>
                <p>Overall improvements and fixes.</p>
                <ul>
                    <li>Added option to force dark mode</li>
                    <li>Fixed some bugs (GUI and dependency related)</li>
                    <li>Added option to enable background for subtitles</li>
                    <li>Optimized code</li>
                    <li>Fixed dependency issues</li>
                    <li>Dropped AppImage support (it was fun, but it has no real use)</li>
                    <li>Smaller size (compiled code is nice, but it has not much use again)</li>
                </ul>
            </description>
        </release>
        <release version="0.2.1" date="2021-08-22">
             <description>
                <p>This is the first beta release of HBud (codename Yennefer), which means a lots of new features, improvements and fixes.</p>
                <ul>
                    <li>Bugfixes and quality improvements</li>
                    <li>Optimized stability and performane</li>
                    <li>Added online lyric support (static lyric)</li>
                    <li>Added AppImage build</li>
                    <li>Added a lots of small comfort functions</li>
                    <li>Now showing both elapsed and remaining time</li>
                    <li>Added optional rounded corners (why not?)</li>
                    <li>Own widgets instead of TreeView (improved visuals, stability and performance)</li>
                    <li>Added new drag and drop support</li>
                    <li>Added new keyboard controls (Up, Down, Left, Right, Del, F11, ESC)</li>
                    <li>Added option to save playlist order (speeds up loading time too) - rescan to append new tracks</li>
                    <li>Added proper sort method (multiple options)</li>
                    <li>Added search method</li>
                </ul>
            </description>
        </release>
        <release version="0.1.6" date="2021-07-23">
             <description>
                <p>Small updates and experiments.</p>
                <ul>
                    <li>Bugfixes</li>
                    <li>Performance improvements</li>
                    <li>Using Nuitka as a compiler, including modules in the binary</li>
                    <li>Added subtitle switch and option to visit OpenSubtitles / Subscenes</li>
                    <li>Added cover art support for metadata editor</li>
                </ul>
            </description>
        </release>
        <release version="0.1.0" date="2021-07-16">
             <description>
                <p>Initial public release.</p>
            </description>
        </release>
    </releases>


    <provides>
        <id>io.github.swanux.hbud</id>
    </provides>
    <developer_name>Dániel Kolozsi</developer_name>
    <update_contact>swanux_at_protonmail.com</update_contact>

    <screenshots>
        <screenshot type="default"><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/audio_more_dark.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/has_playlist.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/no_playlist.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/audio_light.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/met_ed.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/minimal.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/stat_lyr.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/syn_lyr.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/vid_full.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/vid_with_sub.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/set_0.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/set_1.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/set_2.png</image></screenshot>
        <screenshot><image type="source">https://raw.githubusercontent.com/swanux/hbud/master/Screenshots/0.4%20-%20Theresa/0.4.2/about.png</image></screenshot>
    </screenshots>

    <launchable type="desktop-id">io.github.swanux.hbud.desktop</launchable>
</component>
