Cantata

Audioplayers by CraigD 391 comments

Sounds like an interesting idea. Please feel free to send me the patch - either via email (my address is in the AUTHORS file), or create a bug report on the googlecode page and add it there. - May 20 2012
Cantata

Audioplayers by CraigD 391 comments

The XML contains the last-update time of the MPD database. When the XML is loaded it is compared to this, if it is older then a full load from MPD should occur.

In order for the MPD database to be updated, you need to use an MPD client (Cantata, gmpc, mpc, etc.) to instruct MPD to update. (You can do this in catata by presseing the 'Refresh Database' button in the library page). - May 19 2012
Cantata

Audioplayers by CraigD 391 comments

If the music is not local, then cantata cannot access the local covers, so it will attempt to download them from last.fm. Cantata will send last.fm a query containing the album artist and title, and use whatever last.fm replies with. The result will be cached to ~/.cache/cantata/covers/<album artist>/<album>.jpg - May 18 2012
Cantata

Audioplayers by CraigD 391 comments

In order for Cantata to see your cover.jpg, you need to have entered the correct MPD music folder in the 'Server' settings page. When MPD plays a song, it tells cantata the relative path. e.g. 'AC-DC/Stiff Upper Lip/01 Stiff Upper Lip.mp3' Cantata removes the filename, and prepends the folder set in the config dialog. So, if this folder was set to '/home/Music' - cantata would look for '/home/Music/AC-DC/Stiff Upper Lip/cover.jpg'

As for downloading covers, these are fetched from last.fm.I have no current plans to change this, but please feel free to submit a patch.
- May 18 2012
Cantata

Audioplayers by CraigD 391 comments

Cantata *automatically* downloads covers, you do not need to do this. Any downloaded covers will be saved as 'cover.jpg' or 'cover.png' within the folder containing the track - if you have write permission to the folder. Otherwise it will save it in ~/.cache/cantata/covers/<artist>/<album><.jpg/.png>

If you have any existing covers within you music folders, cantata should pick these up first before downloading. - May 17 2012
Cantata

Audioplayers by CraigD 391 comments

There is an entry in the TODO about adding a interface to mpdscribble. If I add scrobbling support, this is how I would do it. However, this is not a top priority for me, as its not something I would ever use. - May 17 2012
UFW KControl Module

System Software by CraigD 48 comments

Only just updated to 12.04... Can you try editing helper/kcm_ufw_helper.py.cmake and add (without dashed lines!)

------------------------
from ufw.common import UFWRule
------------------------

...at about line 47. Then at line 300 (was 299 in error message), change:

------------------------
rule = ufw.common.UFWRule(action, protocol)
------------------------

to

------------------------
rule = UFWRule(action, protocol)
------------------------

Then rebuild, and reinstall kcm_ufw. Does this fix the issue? It seems to for me at least... If so, I'll release an update.
- May 07 2012
Cantata

Audioplayers by CraigD 391 comments

No. I dont like the 1st track taking 3 lines. I like the play queue as is. - Apr 24 2012
Cantata

Audioplayers by CraigD 391 comments

1. Will think about this

2. Not too keen on git, but I have uploaded the svn repository to googlecode: https://code.google.com/p/cantata/

Please feel free to contact me via email, and feel free to submit patches :-) - Apr 23 2012
Not gonna happen unless someone else volunteers. I no longer actively use QtCurve. If anyone wants to do this, I'd be happy to help as much as I can. - Apr 23 2012
I've had this setting cause issues before :-(

Anyway, QtCurve reads your KDE settings, so this 'Apply to non-KDE...' is not required. - Apr 23 2012
Nope. - Apr 23 2012
This is due to status/menubar hiding. I've implemented a GHB work-around for 1.8.15 - which I'll upload soon. - Apr 23 2012
Cantata

Audioplayers by CraigD 391 comments

1. I lied, sorry! Just tested, and it does adapt to change in icon size.

2. Dont like the idea of using a 3rd line. What I /might/ do is draw the album cover behind the playqueue. So that its drawn beneath (e.g.) the first 5 entries.

3. I'll add an extra-large setting (64 pixels for library, 160pixels for albums?) - Apr 18 2012
Cantata

Audioplayers by CraigD 391 comments

1. The default 'cd' icon should be used when the cover is loading. This is the case for me at least. I have, however, noticed that if you change the size of the covers - this default icon is left at its previous size. This may be the error you are seeing.

2. Tricky. At the moment, the first row is 'Header + 1st track'. This fits nicely with the cover size, increasing the size would disrupt this.

3. Why? It uses enough memory as is!

4. I'll think about this. - Apr 18 2012
Cantata

Audioplayers by CraigD 391 comments

1. I'll think about this. But in your screenshot how would you set the priority? Also, would you not want the priority displayed in the playqueue?

2. Done for 0.7.0

3. Dont like the idea of a central info pane - its one of the first things I re-arranged with Amarok when it was possible. I will think about adding support, but its not a high priority for me. [ Patches always welcome :-) ]

4. I've extended the DBUS interface for 0.7.0. To raise cantata window:

qdbus org.kde.cantata /org/mpris/MediaPlayer2 Raise

to show library page, and focus in search field:

qdbus org.kde.cantata /org/mpris/MediaPlayer2 showPage library true

The view is the next 'tab' stop down, so that already works. As for adding a song with 'Enter', etc, you can already assign keyboard short-cuts to the add/replace actions. - Apr 16 2012
Cantata

Audioplayers by CraigD 391 comments

Thank you, nice to hear some encouraging word now and again!

The main feature for the 0.7.0 release will be dynamic playlists. Its not 100% finished yet, but seems to work. - Apr 11 2012
Cantata

Audioplayers by CraigD 391 comments

Keyboard... To have Cantata start when you press the 'media player' icon on a multimedia keyboard; right click kmenu icon, select 'Edit Applications...', navigate to Multimedia/Cantata, select 'Advanced' tab, click on 'Current shortcut key' button, the press the button on your keybard. This should assign the shortcut to starting cantata. You would then need to press-tab until the search has focus. Maybe for 0.7.0 I'll add a 'search action' (assigned to CRTl-F?) that will focus on the current pages search field...

As to the other points...

1. Oops, I never fully tested that! Is fixed for 0.7.0
2. Good idea, fixed for 0.7.0
3. Not 100% convinced that its worth the effort. The sidebar is meant to be quite slim, if so there is not much width for an image. Also, text above an image would not be as clear. - Apr 11 2012
UFW KControl Module

System Software by CraigD 48 comments

I'm still on 11.10 :-( However, moving /lib/ufw to /usr/lib/ufw/ should not be the reason for the errors - as the stuff in there is not directly used by this kcm.

What is the output of:

sudo /usr/lib/kde4/libexec/kcm_ufw_helper.py --status --list

This kcm uses 'kcm_ufw_helper.py' to do all the real work. And this python helper links into the ufw python modules. - Apr 01 2012
Cantata

Audioplayers by CraigD 391 comments

Just tried with hardware mixer - but still no error messages.

Can you enable the debug? If so, do you see cantata sending extra "setvol XX" (where XX = volume level) messages?? - Mar 29 2012
Cantata

Audioplayers by CraigD 391 comments

Just noticed my mistake... The "i have no idea how to do this" was in reference to setting up forums/irc...

As to suggestion 4... You can drag and drop songs into place, so I see no real point to a "add after current" - Mar 25 2012
Cantata

Audioplayers by CraigD 391 comments

To see the messages sent between Cantata and MPD, edit mpd/mpdconnection.cpp and remove the double slashes (//) from lines 39 and 40. Then recompile. - Mar 22 2012
Cantata

Audioplayers by CraigD 391 comments

But cantata already allows you to control/switch outputs, via the config dialog. Neither of your scenarios requires the output be accessible via a menu. - Mar 21 2012
Cantata

Audioplayers by CraigD 391 comments

One thought with the volume issue, do you have 'Fadout on stop' set? If so, try changing this so that it says 'Do not fadeout'. Does that help??? - Mar 20 2012
Cantata

Audioplayers by CraigD 391 comments

1. Again, I still dont see this. Did you try enabling the debug? Kinda hard to fix a problem I dont see, without the extra info.

2. Not at the moment. I'm running out of spare time to do this, and Cantata already fills my needs. The amarok thing I think is just way too complex.

3. Will think about this for the next release.

4. I have *no* idea how to do this :-(

I keep meannig to add the code to googlecode, as I have an account there, so perhaps this will help. Then, I hope at least, some others can add the missing bits... - Mar 20 2012
Cantata

Audioplayers by CraigD 391 comments

1. What is the real use-case? when do you need such quick access?? I have no problem adding it, just dont want to clutter the UI if I can avoid it.
2. Ah, see what you mean - seach each word individually.
3. Could do
- Mar 20 2012
Cantata

Audioplayers by CraigD 391 comments

1. ??? Not sure what you mean by 'activated' here???
2. All tagas are searched, but how would I know that 'pink floyd' is the artist, and 'wish' was for the song? I guess using tags would help - artist:pink floyd song:wish
3. Then point cantata to a non-existant folder - that way covers will not be saved there. Perhaps for 0.6.0 I'll add an option to not auto-save downloaded covers to the library.
4. I like the cover size as is, fits with the size of the text and buttons. 'Comment' - why? At the moment Cantata ignores 'comment' - I have no need for this. File type and bitrate I could perhaps add as a tooltip, but I really dont see why this is important enough to always be present. - Mar 20 2012
Cantata

Audioplayers by CraigD 391 comments

Cantata contains code to calculate replaygain tags, and store these back to your audio files. Without KDE support, this functionality is missing. I agree, the message could be clearer :) - Mar 20 2012
Cantata

Audioplayers by CraigD 391 comments

The UI should not be blocked when loading the database, as the MPD connection is in another thread. However, when the database is loaded Cantata then compares this with its existing copy, and checks for additions/removals - but this should be fairly quick. The only 'blocking' is probably because whilst the MPD thread is reading/processing the database it cant be sending play, etc, commands. I could resolve this by having 1 more mpd connection - one for updating the DB, and one for sending commands.

As to why the whole DB is read - that's they way it was with QtMPC (which Cantata is based upon). It does cache the DB to an XML file, so subsequent restarts should be faster. Having the whole DB does help with things like device sync - as I can then check if a file is already in the DB very quickly. - Mar 19 2012
Cantata

Audioplayers by CraigD 391 comments

I'm not 100% certain what you are asking for here. Do you mean that cantata should be checking for albums which have 1 album artist, but multiple artists? And then file these under 'Various Artists'? - Mar 19 2012
Cantata

Audioplayers by CraigD 391 comments

1. Cantata does not alter the volume when song changes, but it does read the MPD status. Do you have any otehr clients running that could be changing the volume? To see the messages sent between Cantata and MPD, edit mpd/mpdconnection.cpp and remove the double slashes (//) from lines 39 and 40. Then recompile.

2. Not much I can do about this, I'm just using the standard KDE notification system.

3. Auto scrolling lyrics, must admit I *hate* that feature - I don't like the text moving whilst I'm trying to read.

4. By playlist, I assume you mean the play queue? The table style play queue allows you to have more information shown - but not everything. - Mar 19 2012
Cantata

Audioplayers by CraigD 391 comments

Saving/restoring of zoom levels for lycris and info pages will be in 0.5.1

I'd rather implement a proper rating system - but its not high on my priority list, as its not something I would use. Dont really like the idea of modifying the song files themselves to store this. I had thought about using MPDs stickers (http://www.musicpd.org/doc/protocol/ch03s07.html) - but not sure.

As to website/forum/etc. never even thought about this. The first step would be to put the source code repositroy online somewhere. I have been thinking about this, but just have not gotten round to it. - Mar 15 2012
Cantata

Audioplayers by CraigD 391 comments

If possible, coud you email me one of the missing covers?

Also, if you email me I can send you a copy of the code with extra debug - so I can see what is going on. - Mar 14 2012
Cantata

Audioplayers by CraigD 391 comments

Cantata will not read, or use, the embedded covers. Apart from filesize, whatelse is different between the displayed and missing ones? Are the missing ones owned by a different user, or group? Is the folder structure different? ie. does one, or more, of the folders contain odd chararcters? (Just guessing here...) - Mar 14 2012
Cantata

Audioplayers by CraigD 391 comments

Icons are missing? The icon names should be from the free-desktop spec, so should load. Have the icons *always* been missing?

I've not changed the album cover loading code. You would need to send me more details of which covers you cant load. - Mar 14 2012
Cantata

Audioplayers by CraigD 391 comments

1. Interesting idea. Not sure how well it would really work.I guess I'd need some sort of halo/blur behind the text...

2. The 'refresh' buttons in the library, albums, and folder views should trigger an MPD rebuild

3. Not sure. What is its use? Must admit I *always* strip the comment fields from my files. At the moment, Cantata caches all MPD information into an XML file (~/.cache/cantata/library/*.xml). This helps speed up restarts. The tag editor currently only supports the tags that are also in this file. Adding support for "comments" seems a little too much. I'd also need to add save/restore code for each file type - possible, just needs to be done.

4. Might be useful.

5. You can already increase the font size by using ctrl+mousewheel - Mar 14 2012
Cantata

Audioplayers by CraigD 391 comments

You need to install TagLib and TagLib-devel (or whatever thay are called in Mageia). For 0.5.1 I'll make TagLib mandatory - as it's used in other places, and will stop errors like this. - Mar 14 2012
Cantata

Audioplayers by CraigD 391 comments

Ah, it does not look for 'Folder.jpg' only 'folder.jpg' I can think about adding a config item for the cover filename for 0.6.0, but for now could you not just rename your Folder.jpg's to folder.jpg? If not, just edit gui/covers.cpp and at about line 59 change QLatin1String("folder") to QLatin1String("Folder") :-) - Mar 13 2012
Cantata

Audioplayers by CraigD 391 comments

I can add this. Currently, Cantata will attempt to rea lyrics form <filename>.lyrics if found - if not it will attempt to download. Donwloaded lyrics are cached to ~/.cache/cantata/lyrics - Mar 13 2012
Cantata

Audioplayers by CraigD 391 comments

It already reads cover.jpg, cover.png, folder.jpg, folder.png, AlbumArt.jpg, and AlbumArt.png.

It only *creates* cover.jpg/png for library albums though.

If one of the above files is found, then Cantata will *not* download a cover. So, I fail to see the issue here... - Mar 13 2012
Cantata

Audioplayers by CraigD 391 comments

Hmmm.... this is odd, as I've just tried and managed to copy files to my Android phone (Motorola Defy with froyo), and the files were copied fine.

Can you send me an email (my address is in the AUTHORS file), and I'll create a build with lots of debug. Then I can hopefully track down the issue. - Mar 13 2012
Cantata

Audioplayers by CraigD 391 comments

I have tried this and it was working, but its possible I broke something before release. Which device type are you using? UMS or MTP? - Mar 12 2012
Cantata

Audioplayers by CraigD 391 comments

This is already on my TODO - just haven't gotten round to implement it. Probably won't be in the next version (0.5.0), but I do fully intend to add this (but as an option). - Feb 23 2012
Cantata

Audioplayers by CraigD 391 comments

Must admint I don't personally use the album view - its a bit slow. So, I was never quire sure on album-artist or artist-album. I'll add a config item :-) - Feb 23 2012
Cantata

Audioplayers by CraigD 391 comments

I'm sorry you feel offended, that was not my intention. I was simply asking the question as to why you thought all lines would be required. As you can see your two posts take a lot of space - especially when using a device with a small screen (I frequently check this site on my phone). This makes it harder to notice other posts.

But, you are correct there are many media players and I hope you find one that suits your needs. - Feb 15 2012
Cantata

Audioplayers by CraigD 391 comments

First of all, please dont post the *complete* output - whats the point? Just the error would do.

Anyway, edit widgets/actionlabel.cpp and change:

---------------8<-----------------
#include <KDE/KIconLoader>
---------------8<-----------------

to:

---------------8<-----------------
#ifdef ENABLE_KDE_SUPPORT
#include <KDE/KIconLoader>
#else
#include <QtGui/QIcon>
#endif
---------------8<-----------------

You then also need to change (about line 63):

---------------8<-----------------
QImage img(KIconLoader::global()->loadIcon("audio-x-generic", KIconLoader::NoGroup, 48).toImage());
---------------8<-----------------

to:


---------------8<-----------------
#ifdef ENABLE_KDE_SUPPORT
QImage img(KIconLoader::global()->loadIcon("audio-x-generic", KIconLoader::NoGroup, 48).toImage());
#else
QImage img(QIcon::fromTheme("audio-x-generic").pixmap(48, 48).toImage());
#endif
---------------8<-----------------

Then this file should now compile. (The change is already in the next version, 0.4.0, which I will release soon)
- Feb 15 2012
Cantata

Audioplayers by CraigD 391 comments

Can you try editing CMakeLists.txt and add

SET( XDG_APPS_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/applications" )

at about line 287 - i.e. just before "ENDIF( ENABLE_KDE_SUPPORT )"
- Feb 15 2012
Cantata

Audioplayers by CraigD 391 comments

1. Install cmake, and qt-devel packages
2. Untar cantata source
3. cd into cantata source dir
4. mkdir build
5. cd build
6. cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DWANT_KDE_SUPPORT=NO
7. make
8. sudo make install

NOTE: A Qt-only build will be lacking in many features - device support, etc. - Feb 14 2012
KGtk (Use KDE Dialogs in Gtk Apps)

Various KDE 1.-4. Improvements by CraigD 453 comments

I can confirm the crash. But **please** do not report KGtk errors to upstream projects. KGtk is a massive *HACK*. The fact that it sometimes works is a bonus, but it messes about underneath the toolkit, so its hardly surprising that somethings crash.

Why not use the firefox-kde support created by openSUSE? This works much better, and is packaged with KUbuntu as well. - Feb 13 2012
Cantata

Audioplayers by CraigD 391 comments

Does 0.2.0 fix the issue? It should, as I've just included the libmaia source files as part of the cantata build - so no libraries. - Jan 09 2012