Archives For MPD

Cantata, the open-source Qt5 graphical client for MPD, has reached the new major 2.1 release hours ago with a huge list of changes. Here’s how to install it in all current Ubuntu releases via PPA.

Cantata 2.1.0 release highlights:

  • Re-add all album sorts from Cantata 1.x.
  • Detect and show DLNA streams in grouped view.
  • Re-add genre combo to library view. Only visible if grouping by artist or
  • Fix Jamendo and Magnatune covers.
  • Use Pulse Audio for ‘Personal’ MPD instance.
  • Fix crash when changing playqueue view type.
  • Fix local file playback on remote MPD when MPD’s curl is using IPv6.
  • Read lyrics from MP4 files.
  • Support disc number in CUE files.
  • Allow single-key shortcuts.
  • Improve Mopidy support.
  • Enable support for Opus tags if enabled in TagLib.
  • Remove Qt4, KDE4, and Ubuntu touch support.
  • Make all of Cantata’s internal actions accessible via DBUS.
  • Add support for OriginalDate tag.
  • Enable retina support for all builds.

Cantata MPD

How to Install Cantata 2.1.0 in Ubuntu:

Besides building the from source, All current Ubuntu releases, including Ubuntu 14.04, Ubuntu 16.04, Ubuntu 17.04, Ubuntu 17.10, and their derivatives can install either the KDE build or Qt5 build from unofficial PPAs.

1. Open terminal via Ctrl+Alt+T or from app launcher. When it opens, run command to add either PPA:

  • For Qt5 build, run command:
    sudo add-apt-repository ppa:ubuntuhandbook1/cantata-qt

  • For KDE integration, add the kde build PPA instead:
    sudo add-apt-repository ppa:ubuntuhandbook1/cantata
  • 2. Then launch Software Updater utility to upgrade the client from an existing release:

    Or run commands one by one in terminal to install or upgrade Cantata:

    sudo apt-get update
    sudo apt-get install mpd cantata


    To remove the PPA repositories, go to System Settings -> Software & Updates -> Other Software tab.

    To remove the mpd client, either use your system package manager or run command in terminal:

    sudo apt-get remove --autoremove cantata


    A bug-fix release for Cantata 2.0, a graphical client for the music player daemon (MPD), was announced one day ago with various fixes and improvements.

    Cantata originally started as a fork of QtMPC, mainly to provide better KDE integration. However, the code (and user interface) is now very different, and it can be compiled with KDE support, or as a pure Qt application for Windows, Linux, and OS X.

    cantata in kubuntu

    Cantata 2.0.1 release highlights:

    • Fix possibly missing save play queue icon.
    • Use 2.0 API for finding similar artists in dynamic playlists.
    • Fix listing of CUE files.
    • Only honour ‘startHidden’ setting if also configured to use system tray.
    • Don’t allow copying of cue file tracks to devices.
    • Fix playback of AudioCDs
    • Fix incorrect AudioCD cover
    • Fix wrong/missing ratings in toolbar.
    • Fix compilation with Qt5.7
    • Fix drag’n’drop of non-loaded playlists.
    • Use a single-shot timer to timeout obtaining current cover.
    • Fix AudioCD playback when MPD’s curl is using IPv6
    • see more in its release page.

    How to Install Cantata in (K)Ubuntu:

    Besides building from the source tarball, you can install Cantata 2.0.1 from my personal PPA. Ubuntu 16.04, Ubuntu 14.04, and Ubuntu 15.10 are supported.

    1. Add PPA

    For KUbuntu user, open terminal emulator and run command:

    sudo add-apt-repository ppa:ubuntuhandbook1/cantata

    Type in password (no visual feedback) when it asks and hit Enter to continue.

    For non-KDE user, run the command below instead to add the Qt version:

    sudo add-apt-repository ppa:ubuntuhandbook1/cantata-qt


    2. Install / Upgrade Cantata.

    If you have a previous release installed, launch Software Updater (or Update Manager) and you’ll see Cantata 2.0.1 available in the update list after checking for updates.

    Or run the commands below one by one in terminal to update and install the client:

    sudo apt update
    sudo apt install cantata

    3. To remove Cantata 2.0.1, use Synaptic Package Manager or just run the command below in terminal:

    sudo apt remove cantata && sudo apt autoremove

    You may also remove the PPA by going to System Settings -> Software & Updates -> Other Software.

    MPD Client Cantata 2.0

    Cantata, an open source MPD client for Linux (Qt/KDE), reached the new major 2.0 release a few days ago with lots of changes.

    Cantata 2.0.0 brings some UI changes, various fixes and improvements, and now it uses Qt5 version as default build.

    • Use SQLite to cache MPD listing
    • Combine Artists and Albums into Library tab
    • Allow grouping by Genre
    • Merge Online and Streams into Internet tab
    • Merge Playlists and Dynamc Playlists tabs
    • Use ‘Composer’ tag to group albums of specified genres
    • Use mix of icon themes for flatter icon style – and use mono icons where appropriate
    • And more changes in ChangeLog file

    Cantata 2.0 in Ubuntu 15.10

    How to Install Cantata 2.0.0 in ubuntu:

    Since there’s no easy way to install the software, I’ve uploaded both KDE and Qt5 version into PPA, available for Ubuntu 16.04, Ubuntu 15.10, Ubuntu 14.04, and their derivatives.

    1. Add PPA.

    Open terminal from Unity Dash, App Launcher, or via Ctrl+Alt+T key. When it opens, select paste ONE of below command to add PPA:

    For Qt5 version:

    sudo add-apt-repository ppa:ubuntuhandbook1/cantata-qt

    Type in your password (no visual feedback just type in mind) when it asks and hit enter to continue.

    MPD 2.0 ppa

    For Kubuntu KDE version:

    sudo add-apt-repository ppa:ubuntuhandbook1/cantata

    2. After that, either install Cantata 2.0 via Synaptic, or upgrade it through Software Updater, or run below commands in terminal:

    sudo apt-get update
    sudo apt-get install cantata

    For those who don’t want to add PPA, grab the .deb packages from this page for KDE version, or this page for qt version.

    3. (Optional) Just in case you want to remove this software and downgrade to the stock version available in Ubuntu repositories, install ppa-purge and purge the PPAs via 2 commands:

    sudo apt-get install ppa-purge
    sudo ppa-purge ppa:ubuntuhandbook1/cantata-qt

    You may change the PPA name depends on which version you installed.

    MPD Client Cantata 1.5.2

    Cantata, a graphical MPD client for KDE and QT, has reached the 1.5.2 release. Both Qt and KDE build available for Ubuntu 14.04, Ubuntu 14.10, Ubuntu 15.04 and Linux Mint 17 users.

    Cantata started off as a fork of QtMPC, mainly to provide better KDE integration – by using KDE libraries/classes wherever possible. However, the code (and user interface) is now very different to that of QtMPC, and both KDE and Qt (Linux) builds have the same feature set.

    Cantata Music Player Client

    The first stable release in 2015, Cantata 1.5.2, was released a few hours ago with below changes:

    • Fix Ubuntu Touch builds.
    • When refreshing search menu, clear items first!
    • Fix setting of cover when existing cover is embedded in music file.
    • Fix OSX executable name for case-sensitive filesystems.
    • Hide ratings widgets, etc, in tag editor for devices and Mopidy, etc.
    • Use Control+Alt+Number as shortcut to toggle an output.
    • Don’t allow to set short-cuts for actions that are menus.
    • Add high-dpi support to Linux and Windows Qt5.4 builds.
    • When calculating ReplayGain, if peak value is less than 0.00001 then assume the calculation is invalid.
    • When parsing podcast RSS, if episode is marked as video (e.g. video/mp4) but the url ends in an audio extension then it is proably an audio podcast.
    • Correctly initialise search category.
    • Fix potential crashes on refresh.
    • Fix duplicate notification when Cantata is started whilst playing, or when ‘Replace Play Queue’ is used.
    • Only show output change notification if outputs menu was not previously empty.
    • Construct a new config object, rather than changing group, to avoid any race conditions.
    • If fading volume on stop, then reset volume just before stopping. Some outputs (e.g. pulse audio) only allow setting a volume whilst playing.
    • If ‘url’ entry is empty in ‘enclosure’ section of podcast RSS file, then use ‘guid’ text as url – if possible.
    • Fix copying of covers to UMS, etc, devices if song is transcoded.
    • Add an option for 64 bit non KDE linux builds to install helper apps to lib64 instead of just lib. Pass -DCANTATA_HELPERS_LIB_DIR=lib64 to cmake.
    • In tag editor, only mark rating as changed if it has been.
    • For Linux non-KDE builds, use login1 interface to detect system resuming.
    • Enable scrobble ‘love’ button even if scrobbling is disabled.
    • Don’t crash when detecting an audio CD with no tracks.
    • When playing a digitally imported (or JazzRadiom, etc) stream from the favourites section, then modify the URL if the user has a premium account (to match what existing behaviour is stream is played from the station list)
    • Workaround build issues with SpeexDSP 1.2rc2
    • Use correct stream icon in playqueue for streams with no song details.
    • Fix FreeBSD build.
    • Respect carriage returns when displaying comments in context view.
    • Fix replaygain calculation when ffmpeg is using planar formats.
    • Enable ‘save’ button when reading ratings from multiple files.
    • Fix cantata-remote script (used for Unity launcher integration) when this uses qdbus.
    • Fix display of rating in tag dialog when only 1 file is being edited.
    • Fix fetching of ratings in table style playqueue.
    • Don’t convert -ve track, disc, or years to unsigned – set to 0.
    • Bundle openSSL libs with windows builds.

    How to Install Cantata 1.5.2 in Ubuntu:

    Open terminal from the Dash/Menu or by pressing Ctrl+Alt+T on keyboard. When it opens, run below commands one by one:

    For KDE users, run commands one by one to install Cantata from PPA:

    sudo add-apt-repository ppa:ubuntuhandbook1/cantata
    sudo apt-get update
    sudo apt-get install cantata

    For Qt built without KDE libraries, install Cantata from another PPA:

    sudo add-apt-repository ppa:ubuntuhandbook1/cantata-qt
    sudo apt-get update
    sudo apt-get install cantata

    MPD Client Cantata 1.5

    Cantata, yet another client for the music player daemon (MPD), now is at version 1.5.0 which brings lots of new features, improvements and fixes.

    Cantata is a MPD client originally started as a fork of QtMPC, it can be compiled with KDE support, or as a pure Qt4 application.

    Cantata works on Linux and Windows. Since 1.5.0 release, it adds support for Mac OS X.

    Cantata MPD client

    According to the changelog, The 1.5.0 release brings below changes:

    • Remove cover size setting, set automatically.
    • Artist images only shown in grid view.
    • No images, or icons, shown in basic tree view.
    • Remove GUI option to control saving of scaled covers. This is enabled by default, and can be toggled via the config file.
    • Don’t re-load view when sort changes.
    • Simplify view config pages.
    • Use QUrl with server details to build HTTP address used to compare MPD http file paths against.
    • Store song ratings in MPD’s sticker DB. Ratings stored using ‘rating’ key and values 0 to 10. In the UI, ratings are show as 5 stars.
    • If we fail to download a cover, don’t keep trying next time song is played.
    • Simplify toolbar cover widget, no border.
    • Allow preference dialog to shrink smaller. If screen size is less than 800px, then views page is re-arranged to allow much smaller dialog, category selector uses smaller icons, and headers are removed.. You can check this setting by calling cantata as follows: CANTATA_NETBOOK=1 cantata
    • Support MPDs “find modified-since” with MPD 0.19 and newer. If a number is entered it is taken to be ‘modified since X days in past’, otherwise a date should be entered (e.g. 01/12/2001 to find all tracks since 1st Dec 2001) Cantata will first try to convert from your locale date format, default date format, and then ISO date format.
    • Show covers in search results.
    • Show performer in cover tooltip if this is set and different to album artist.
    • Always large action icons for grid view.
    • Increase gap between add and play icons in grid view.
    • Disable volume fade on stop by default – this is really something MPD itself should implement.
    • Remove ‘Add albums in random order’ from view context menus.
    • Reorganize playqueue context menu.
    • Use ‘Metadata’ and not ‘Tags’ as metadata/tags view in context song pane.
    • Minor changes to song progress slider.
    • Show covers in playlist tree and list views.
    • Use read-only editable combo for filename in tag editor, so that text can be selected.
    • Also read /com/canonical/desktop/interface/scrollbar-mode to determine if overlay scrollbars have been disabled.
    • Add note about ‘AlbumArtist’ tag to initial settings wizard.
    • Use QDesktopWidget::logicalDpiX()/96.0 to set DPI scale factor.
    • Expand ~/ to QDir::homePath() when read from UI.
    • Save QDir::homePath()/ as ~ in config file, and convert when read.
    • Allow all bar title and artist columns to be hidden in playqueue.
    • Add option to disable song info tooltips.
    • Only show icons in message widget buttons if style uses icons for dialog buttons.
    • Add option to have separate play queue search action – enabled by default.
    • Revert back to storing scaled covers as JPG. PNG is taking too much space, especially with retina displays.
    • Read ArtistSort, AlbumArtistSort, and AlbumSort from MPD. If found, use these to sort items.
    • Add ‘Full Refresh’ action – cuases caches to be removed, and models to be completely refreshed.
    • Add actions to mark podcast as episode as listened or new.
    • Add action to cancel podcast downloads.
    • Download podcasts sequentially.
    • Configurable limit to auto podcast downloading.
    • When starting, remove any previous partial podcast downloads.
    • Don’t make media keys backend configurable, auto detect the best one.
    • Remove Gtk combo popup size hack.
    • Fix Qt5 translations.
    • Add button to status bar to eanble/disable playback of MPD HTTP output stream.
    • Show notification when outputs changed.
    • Connect MPRIS stopAfterCurrent signal to correct action.
    • Add prev/play/pause/etc actions to Unity launcher, and to windows taskbar entry.
    • Fix current track highlight in grouped view under windows for header item.
    • Use same selection drawing for all views.
    • Fix size of collapsed window in windows builds.
    • If run under Unity or OSX, then place close buttons on left.
    • Fix auto-marking of played downloaded podcasts when connected via a local socket.
    • Fix playback of local files by inbuilt HTTP server.
    • In catata-tags.exe set unhandled exception handler, to prevent windows crash dialog appearing.
    • If a command fails to be sent to MPD, and the socket is in an error state, then reconnect and update status and playqueue.
    • For windows builds, when window is not focused, draw sidebar selection as a darkened background.
    • If MPD supports https, then there is no need to convert SoundCould URLs.
    • If playlist is loaded and replaces playqueue, then start playback of first track.
    • Custom/thin scrollbars for context view.
    • If fail to read a Gtk setting from DConf then try GSettings.
    • Send a message (default to ‘status’) at least once every 30 seconds to keep command connection alive.
    • Fix inconsistent default cover sizes.
    • French translation – thanks to Jaussoin Timothée.
    • Seek 5seconds when control (or command for Mac) and lef/right arrow keys are pressed. (Seek setting may be changed via config file – refer to README for more details.)

    Install / Upgrade Cantata in Ubuntu:

    The latest binaries of KDE build have been made into PPA, available for Ubuntu 14.10, Ubuntu 14.04 and derivatives.

    If you have already added the PPA and installed a previous version, just run system update via Software Updater will bring you to Cantata 1.5.0.

    If not, press Ctrl+Alt+T to open terminal, run commands below one by one to add the PPA and install the MPD client:

    sudo add-apt-repository ppa:ubuntuhandbook1/cantata
    sudo apt-get update
    sudo apt-get install cantata

    Or you can grab the .deb installer directly from the Launchpad page.

    That’s it. Enjoy!