Description:

Cantata is a (yet another!) client for the music player daemon (MPD). Originally started as a fork of QtMPC, the code is now *very* different. Cantata 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.

Currently Cantata has the following views:

1. Library - Group by either Genre, Album Artist (or Artist if Album Artist not set), or Album
2. Folders - displays MPDs virtual filesystem. (This view is hidden by default)
3. Playlists - standard and dyamic
4. Internet - Radio 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.) and Online services (Jamendo, Magnatune, SoundCloud, and Podcasts)
5. Devices - enables copying from/to USB-Mass-Storage (UMS) and MTP devices, and ripping AudioCDs
6. Search - search via MPD

The sidebar has a context menu, allowing you to control its style and what items are shown.

Refer to http://mpd.wikia.com/wiki/Client:Cantata, and https://raw.githubusercontent.com/CDrummond/cantata/master/README, for further information.


******************
******************

NOTE: The screenshots on this page are out of date, and only reflect the 1.x codebase

******************
******************
Last changelog:

11 months ago

2.0.0
-----
Initial release of 2.0, main changes:

1. Use SQLite to cache MPD listing
2. Combine Artists and Albums into Library tab
3. Allow grouping by Genre
4. Merge Online and Streams into Internet tab
5. Merge Playlists and Dynamc Playlists tabs
6. Use 'Composer' tag to group albums of specified genres
7. Use mix of icon themes for flatter icon style - and use mono icons where appropriate

2.0.1
-----
1. Delay creation of Jamendo and Magnatune DBs until required.
2. Fix 'Scroll to current track' in table style play queue if track number column is hidden.
3. Add icon for proxy config - if proxy settings enabled.
4. Fix possibly missing save play queue icon.
5. Install pre-rendered PNG icons for Linux builds.
6. Use last.fm 2.0 API for finding similar artists in dynamic playlists.
7. Fix listing of CUE files.
8. Only honour 'startHidden' setting if also configured to use system tray.
9. Folder page nolonger has a search field - so if upgrading from a 1.x config with folder search visible, then hide it.
10. Don't allow copying of cue file tracks to devices.
11. When calculating collapsed window height, take into account size of menubar, if it is visible.
12. Try to ensure menu button width is at least equal to height.
13. Fix compilation on some systems.
14. Remove usage of libavutil/audioconvert.h - its no longer in ffmpeg since 1.3, and Cantata does not need it anyway.
15. Fix playback of AudioCDs
16. Fix incorrect AudioCD cover
17. Fix Qt5 gcc5 compilation.
18. Fix wrong/missing ratings in toolbar.
19. Fix compilation with Qt5.7
20. Fix drag'n'drop of non-loaded playlists.
21. Use a single-shot timer to timeout obtaining current cover.
22. Fix AudioCD playback when MPD's curl is using IPv6
23. Fix current track display when chaging from one track with no meta-data to another with no meta-data.

spuzzum

3 years ago

I'm running ubuntu 12.04, and needed a music manager/player that was "gapless". I then came across mpd and gmpc, and was impressed.. but was looking for something a little "more". I came across Cantata.. but it's only for ubuntu 13.04 and up.. figures. :P

But seeing as I was dying to try it, I installed LinuxMint16 in VirtualBox, along with mpd and Cantata. After a few permission issues... it's up and running fine. I absolutely love it! It even has some of my local radio stations pre-programmed.. stations that won't load into other players.

I then got it going in Windows using the exe's.. a lot easier than linux. So now I'm back in ubuntu, trying to get the Windows versions running under wine... can't get the 2 exe's talking to each other. :P

Report

CraigD

3 years ago

Why don't you just compile Cantata for 12.04? You can build Cantata as a Qt-only app - i.e. there is no need for KDE libs.

Report

spuzzum

3 years ago

That's the first thing I thought of, but not all the dependencies were available for 12.04.

Report

spuzzum

3 years ago

Looking at the readme in the source files, the dependency lists look different than what I was looking at before.. not sure where from. I'll see how far I get in a bit. Thanks.

Report

spuzzum

3 years ago

Found the guide I followed before, and it said to use apt to get the Cantata build dependencies, which couldn't be found.. which is why I gave up before.

http://www.linux.com/community/blogs/133-general-linux/763318-cantata-130-music-player-released-with-87-fixes-ubuntu-installation

Looking at the readme in the source files, I have everything needed for the QT4 build.. but it's erroring while configuring...

spuzzum@Lotusland:~$ cd cantata-1.3.2
spuzzum@Lotusland:~/cantata-1.3.2$ mkdir build && cd build
spuzzum@Lotusland:~/cantata-1.3.2/build$ cmake .. -DENABLE_KDE=OFF
CMake Error at /usr/share/cmake-2.8/Modules/CPack.cmake:338 (message):
CPack package description file: "/home/spuzzum/README" could not be found.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/CPack.cmake:342 (cpack_check_file_exists)
CMakeLists.txt:22 (include)


CMake Error at CMakeLists.txt:23 (include):
include could not find load file:

MacroLogFeature


-- Set build type to Release
CMake Warning at CMakeLists.txt:103 (find_package):
Could not find module FindTaglib.cmake or a configuration file for package
Taglib.

Adjust CMAKE_MODULE_PATH to find FindTaglib.cmake or set Taglib_DIR to the
directory containing a CMake configuration file for Taglib. The file will
have one of the following names:

TaglibConfig.cmake
taglib-config.cmake



CMake Error at CMakeLists.txt:104 (macro_log_feature):
Unknown CMake command "macro_log_feature".


-- Configuring incomplete, errors occurred!

Report

spuzzum

3 years ago

Got further in Kubuntu 12.04...

[ 73%] Building CXX object CMakeFiles/cantata.dir/dbus/mpris.cpp.o
/home/spuzzum/cantata-1.3.2/dbus/mpris.cpp:26:27: fatal error: playeradaptor.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/cantata.dir/dbus/mpris.cpp.o] Error 1
make[1]: *** [CMakeFiles/cantata.dir/all] Error 2
make: *** [all] Error 2


I've seen the same error posted elsewhere... I'll keep searching.

Report

spuzzum

3 years ago

Success!!

Found a thread on reddit explaining you need to revert some "OLD" files back to current:


quote:

In CMakeLists.txt

197c197
\< qt4_add_dbus_adaptor(CANTATA_SRCS dbus/org.mpris.MediaPlayer2.Player.xml dbus/mpris.h Mpris)
---
> qt4_add_dbus_adaptor(CANTATA_SRCS dbus/org.mpris.MediaPlayer2.Player.OLD.xml dbus/mpris.h Mpris)
205c205
< qt4_add_dbus_interfaces(CANTATA_SRCS dbus/org.freedesktop.Notifications.xml)
---
> qt4_add_dbus_interfaces(CANTATA_SRCS dbus/org.freedesktop.Notifications.OLD.xml)

Also move the dbus/...OLD.xml files into the NON old versions.


http://www.reddit.com/r/linux/comments/1o9yjo/i_recently_found_cantata_a_qtbased_mpd_client/


The line #'s in CMakeLists.txt don't match to his hint, but I just used the search tab. The files in dbus were easy enough to find.

Here's the dependencies I installed:

sudo apt-get install build-essential cmake qt4-dev-tools libqt4-core libqt4-gui libqt4-network libqt4-xml libqt4-dbus libqt4-webkit libtag1-dev libmtp-dev ffmpeg libspeexdsp-dev libmpeg3-dev libavcodec-dev libavformat-dev libavutil-dev libmpg123-dev zlibc zlib1g zlib1g-dev libcdparanoia-dev libqt4-dev libtag-extras-dev


For Kubuntu, I added kdelibs5-dev to the list. Working in both distros.

Report

spuzzum

3 years ago

I'm running ubuntu 12.04, and needed a music manager/player that was "gapless". I then came across mpd and gmpc, and was impressed.. but was looking for something a little "more". I came across Cantata.. but it's only for ubuntu 13.04 and up.. figures. :P

But seeing as I was dying to try it, I installed LinuxMint16 in VirtualBox, along with mpd and Cantata. After a few permission issues... it's up and running fine. I absolutely love it! It even has some of my local radio stations pre-programmed.. stations that won't load into other players.

I then got it going in Windows using the exe's.. a lot easier than linux. So now I'm back in ubuntu, trying to get the Windows versions running under wine... can't get the 2 exe's talking to each other. :P

Report

j4r0k4

3 years ago

Hello, first thanks for cantata, it is the best.

It would be very nice if you can add support to cantata to download and write covers.jpg to a NTFS partition.

Regards.

Report

CraigD

3 years ago

Ummm... how does it not support this? Cantata uses QFile to write files - it does not care about the filesystem.

Cantata will save covers in either the music folder (if Cantata is configured with the correct 'Music folder' and the option to save here is enabled), or it will save into your XDG cache folder (~/.cache/cantata/covers)

Report

j4r0k4

3 years ago

I realized that my problem wasn't NTFS partition, the bug is that Cantata doesn't support accents in the music folder. My music folder was /home/user/Música (with an accent) and when I restarted cantata one time, the name is changed to /home/cantata/Música/. With that name it have problems, can't write anything to it (but it can at least read the music).
I had to rename my folder to Musica (without accent) and now cantata can write to it.

Thanks for your attention and your work, very very good.

Report

j4r0k4

3 years ago

edit: the name is changed to /home/user/Música/
(not to /home/cantata/Música/).

That is, in resume, the problem.

Report

j4r0k4

3 years ago

Bug reported at:
https://code.google.com/p/cantata/issues/detail?id=439

Thanks.

Report

vaxxipooh

3 years ago

Cantata builds without problems and installs fine but when trying to start it it emmedietly crash with the following message:

QSocketNotifier: Invalid socket 14 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...

Report

CraigD

3 years ago

First of all, please use the bug-tracker at cantata.googlecode.com to report bugs.

As to the issue, never seen this. Which build? KDE4? Qt4? Qt5?

Please re-build cantata with debug symbols enabled, pass "-DCMAKE_BUILD_TYPE=Debug" to cmake. Then run cantata from within gdb (e.g. from a commandline "gdb ./cantata"). When the crash happens, type "where" (without quotes), and post the result.

Report

vaxxipooh

3 years ago

I run Linux Mint 14 "Nadia" KDE kernel 3.9.3-030903-generic.

i choose the "KDE" installation method

Cantata from repos work flawless

Report

Groni1

3 years ago

Hi CraigD
Thank you very much for Cantata it is a very great
MPD Client.
And looks very good.

Report

imruska

3 years ago

You said that Cantata can read lyrics from ID3 tags, I have a few files that have lyrics in USLT tags (ID3 2.3.0), but Cantata does not show them (1.3.0.1, openSUSE), It only tries to retrieve the lyrics from various on-line sources.
It would also be great if you could implement displaying Lyrics stored in other files such as Flac files.

Report

CraigD

3 years ago

Cantata *DOES* read from USLT in id3 tags - but only if it can access the file.

Also, it reads lyrics from LYRICS tag for FLAC, Opus, Vorbis, and Speex files.

Report

imruska

3 years ago

Oh, yes, you are right. The problem was that my collection was not complete. I had to do a database refresh and Cantata shows the embedded lyrics. Thank you very much.

Report

viron

3 years ago

Doesn't seem to want to compile with glibc 2.17 pthread. Throws DSO error and end of compilation as follows:

Linking CXX executable cantata-replaygain
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld: /usr/lib/gcc/i486-slackware-linux/4.8.2/../../../libavcodec.a(pthread.o): undefined reference to symbol 'pthread_join@@GLIBC_2.0'
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [replaygain/cantata-replaygain] Error 1
make[1]: *** [replaygain/CMakeFiles/cantata-replaygain.dir/all] Error 2
make: *** [all] Error 2

Report

CraigD

3 years ago

Please try 1.3.1 - I've modifed the build to explicitly link against pthread.

Report

therealpxc

3 years ago

Hey, Craig! I just wanted to drop by to tell you (and any of your committers, if applicable— spread the word and the love!) that I'm really impressed with Cantata.

I'd used MPD before in the past (2009-2010), and decided to reinstall it when I reconfigured a cabinet-bound, old laptop I sometimes use to play music at parties. I had no idea such a fine MPD client even existed! There's truly no contest.

I look forward to dancing and listening with my friends at our next party, and for all of us taking turns showing each other our favorite music without unplugging and replugging the speakers over and over. I've already much enjoyed using the many streams you've made easily accessible from your app, and especially the radio streams (I love NPR's Weekend Edition in the mornings). The SoundCloud capability of this app is great for spontaneous listening to tracks not in my collection, too!

I haven't been this delighted by the discovery of a new application since (perhaps fittingly) I tried Amarok 1.3.8 for the first time! I guess that makes Cantata part of a long and honorable tradition of excellence in KDE music players. ;-)

Thanks for all the care you've taken in building an application that manages to be elegant even as it is so feature-rich. I hope it sees many more years of such care, because it's really a joy to use. :-)

— Patrick C.

Report

CraigD

3 years ago

Thank you for your kind words, glad you like the program :-)

Report

bvbfan

3 years ago

First of all great app. Why name is Cantata with C we are KDE user and i really like all names to start with K especially C names, in this order C++ must be K++ :)
Vkontakte.ru may will be great feature.

Report

11 months ago

2.0.0
-----
Initial release of 2.0, main changes:

1. Use SQLite to cache MPD listing
2. Combine Artists and Albums into Library tab
3. Allow grouping by Genre
4. Merge Online and Streams into Internet tab
5. Merge Playlists and Dynamc Playlists tabs
6. Use 'Composer' tag to group albums of specified genres
7. Use mix of icon themes for flatter icon style - and use mono icons where appropriate

2.0.1
-----
1. Delay creation of Jamendo and Magnatune DBs until required.
2. Fix 'Scroll to current track' in table style play queue if track number column is hidden.
3. Add icon for proxy config - if proxy settings enabled.
4. Fix possibly missing save play queue icon.
5. Install pre-rendered PNG icons for Linux builds.
6. Use last.fm 2.0 API for finding similar artists in dynamic playlists.
7. Fix listing of CUE files.
8. Only honour 'startHidden' setting if also configured to use system tray.
9. Folder page nolonger has a search field - so if upgrading from a 1.x config with folder search visible, then hide it.
10. Don't allow copying of cue file tracks to devices.
11. When calculating collapsed window height, take into account size of menubar, if it is visible.
12. Try to ensure menu button width is at least equal to height.
13. Fix compilation on some systems.
14. Remove usage of libavutil/audioconvert.h - its no longer in ffmpeg since 1.3, and Cantata does not need it anyway.
15. Fix playback of AudioCDs
16. Fix incorrect AudioCD cover
17. Fix Qt5 gcc5 compilation.
18. Fix wrong/missing ratings in toolbar.
19. Fix compilation with Qt5.7
20. Fix drag'n'drop of non-loaded playlists.
21. Use a single-shot timer to timeout obtaining current cover.
22. Fix AudioCD playback when MPD's curl is using IPv6
23. Fix current track display when chaging from one track with no meta-data to another with no meta-data.

Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 87%
87.00 Likes
13 Dislikes
Details
version
2.0.1
updated Jun 03 2016
added Dec 21 2011
downloads
page views 14169