Archives For MPD

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

Cantata MPD 1.3.2 ubuntu

Cantata, yet another client for the music player daemon (MPD) has reached release 1.3.2 with improvements and various bug fixes.

As you may know, Cantata is one of the most feature packed MPD clients, excelling at common use cases (playlists, streams, library management, lyrics) and including many features found in advanced media players (dynamic playlists, synchronization with external media players, transcoding, replaygain scanning, support for multiple MPD servers).

Cantata 1.3.2 in Ubuntu 13.10

Changes in Cantata 1.3.2:

  • In cover/artist dialog, when attempting to save an image into Cantata’s cache folder – ensure the ‘covers’ sub-folder is created.
  • When saving artist image from cover dialog, if set to save in MPD folder and song’s path does not have 2 folder elements then save in cache folder. Cantata will only save artist images, and backdrops, in MPD folder if the folder structure is (e.g.) Artist/Album/Track.mp3
  • Use case-insensitive sort of folder view items when adding to playqueue.
  • When determining the ‘basic’ artist of a track, if albumartist is set and artist is not, then use albumartist.
  • For the web-links in the context view, replace ampersand and question mark characters in artist names with the relevant URL encoding.
  • Use CMake to locate X11 libraries and headers.
  • Set minimum size for initial settings wizard.
  • If buddy of a checkbox or radio is clicked, then toggle check or radio.
  • Disable context-view cancel actions until a job is created.
  • When searching models, also search composer field.
  • Fix enabling of “Initially collapse albums” in playlists settings tab.
  • Fix grouped playlist view initial state when set to initially collapse albums.
  • Fix calculating size of song files when copying off a device that has been previously scanned, and its contents cached.
  • When copying from a CD, check that we have enough space for track that was encoded with a 1:18 ratio. Just a sanity check really.
  • Fix song notification mem-leak (Linux only).
  • When transitioning between backdrops in cover view, draw old at correct position.
  • Dont load library twice at start-up when cache has been deleted current tab is artists or albums.

Install or Upgrade Cantata:

To install or upgrade 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

You can also build it from the source tarball which is available in kde-apps.org.