Archives For MPD

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!

Cantata 1.4

Cantata, a (yet another) client for the music player daemon (MPD), just reached v1.4 with new features and many improvements.

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.

Features:

  • Library – sorted as Album Artist (or Artist if Album Artist not set), Album, and finally Track.
  • Albums – displays albums as icons, sorted by their title.
  • Folders – displays MPDs virtual filesystem. (This view is hidden by default)
  • Playlists
  • Dynamic – dynamic playlists
  • Streams – allows saving of internet radio URLs, searching for stations via TuneIn or ShoutCast, station listings from; Digitally Imported (+Sky, JazzRadio, RockRadio), TuneIn, IceCast, ShoutCast, SomaFM, etc.
  • Online – Jamendo, Magnatune, SoundCloud, and Podcasts
  • Devices – enables copying from/to USB-Mass-Storage (UMS) and MTP devices, and ripping AudioCDs
  • The sidebar has a context menu, allowing you to control its style and what items are shown.

Cantata MPD 1.4 ubuntu 14.04

Cantata MPD Preferences

The latest Cantata 1.4.0 was released on July 22, 2014 with below new features:

  • Use external helper app to read/write tags. Isolates Cantata from TagLib crashes.
  • Lyrics auto-scroll.
  • Option to auto-switch to context view.
  • Toolbar reorganisation.
  • Comment tag support for tag-editor and dynamic playlists.
  • Attempt to respect menubar usage of current DE.
  • Reduce memory used by covers.
  • Artists and albums with new tracks shown in bold.
  • ‘Touch Friendly’ option – increases button widths, and makes views flickable.
  • Multiple genre support.
  • Streams now stored in ‘[Radio Streams]’ MPD playlist. Compatible with MPDroid development version.
  • Use MusicBrainz AlbumId (if set) to differentiate albums. This helps if you have multiple releases of the same album.
  • Search for streams via dirble.
  • Reduce supplied stream providers to IceCast, ShoutCast, Drible, and TuneIn. Provide dialog to download others from Google drive.
  • Qt-only by default.
  • Scrobbling.
  • Show song lyrics, information, and tags, in context view.

Install Cantata 1.4 in Ubuntu:

Besides building from source, Ubuntu 14.10, Ubuntu 14.04 and Linux Mint 17 users can install this release from PPA.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the commands below one by one:

sudo add-apt-repository ppa:ubuntuhandbook1/cantata

sudo apt-get update

sudo apt-get install cantata

The above will add my personal PPA and install cantata packages from it. Don’t forget to install MPD daemon (available in Software Center) if you don’t have it.

If you don’t like Ubuntu PPAs, grab the .deb package from HERE.

Cantata MPD 1.3.4 ubuntu 14.04

This simple tutorial is going to show you how to install the latest release of MPD client cantata in Ubuntu 14.04 Trusty Tahr via PPA.

Cantata is yet another client for the music player daemon (MPD), which was originally started as a fork of QtMPC, the code is now very different. It can be compiled with KDE support, or as a pure Qt4 application. The interface is very configurable – most views can be shown as either a list or tree structure.

Cantata 1.3.4 in Ubuntu 14.04

Changes in Cantata 1.3.4:

  • Fix adding songs to playqueue with priority when playqueue is not empty.
  • When loading covers, if load fails, check to see if this is because of an incorrect extension. e.g. load a .jpg file with PNG type, and vice versa.
  • Fix showing of time-slider when Cantata is started minimized to system tray and MPD is playing.
  • Remove unused ‘Back’ action.
  • Don’t treat albums with artists such as ‘AlbumArtist ft Other’ as multiple artist albums.
  • Fix updating of playqueue sidebar tooltip and icon.
  • Add playqueue action to main window, so that shortcut works.
  • When using track organizer, also try to move artist images, backdrop images, and playlist files.
  • After altering filename scheme from track organizer, save settings.
  • Don’t set year or disc in tag editor for ‘All Tracks’ unless they are non zero.
  • In tag-editor, when obtaining values to use for ‘All Tracks’ entry, don’t ignore empty fields.
  • When determining album year, ignore playlist files!
  • If MPD database is refreshed whilst listview is not at top level, then reset view to top level.
  • When TrackOrganizer is called after TagEditor, only perform MPD update once.
  • When editing filename scheme, after inserting a variable set cursor position to after newly inserted text and give focus back to line edit.

Install Cantata:

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, copy and paste the commands below and run one by one:

sudo apt-add-repository ppa:ubuntuhandbook1/cantata

sudo apt-get update

sudo apt-get install cantata

That’s it. Enjoy!

Cantata MPD 1.3.3 ubuntu

Cantata, yet another client for the music player daemon (MPD), has recently updated to version 1.3.3 with improvements and bug fixes.

As you may know, cantata was originally started as a fork of QtMPC, the code is now very different. It can be compiled with KDE support, or as a pure Qt4 application. The interface is very configurable – most views can be shown as either a list or tree structure.

Cantata 1.3.3 in Ubuntu 13.10

Changes in Cantata 1.3.3:

  • If Cantata is started whilst an instance is also running, raise window of current instance. (Linux only fix)
  • Add song to playqueue from albums page when double-clicked.
  • Fix display of online-service track album-artist in copy dialog.
  • Ensure library is loaded the very first time Cantata is run (ie. after connected to MPD via initial settings wizard).
  • When song is updated in context view, abort any current network jobs.
  • Fix expand all / collapse all actions. Expand all will only expand 1 level for main browsers.
  • When reading lines from user mpd.conf file, read as utf-8.
  • Reset devices and online-services models when artist-view cover size changes.
  • If downloading online-service track listing fails, then stop loader and show error.
  • Use new location of Jamendo DB listing.

Install Cantata in Ubuntu:

I’ve uploaded the latest build of this MPD client to my PPA. It’s available for Ubuntu 14.04 Trusy, Ubuntu 13.10 Saucy and their derivatives.

To install it, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the commands below one by one:

sudo apt-add-repository ppa:ubuntuhandbook1/cantata

sudo apt-get update

sudo apt-get install cantata

For source tarball and Windows EXE, go to:

code.google.com/p/cantata/wiki/Downloads