Picard Qt
Redirect page
Redirect to:
File:picardqt-small.png |
PicardQt is a new version of PicardTagger, written using Qt as the GUI toolkit. It also includes implementations of a few new ideas, such as IntuitivePicardInterface or TaggerScript.
Download
See PicardDownload for download instructions.
Development Source Code
The source code is maintained in a Bazaar branch at http://code.launchpad.net/~luks/picard/qt-port/. To download it you need to install Bazaar and run:
bzr branch http://code.launchpad.net/~luks/picard/qt-port/ picard-qt
If you already have the branch and want to update it, use:
bzr pull
- Ubuntu Feisty: To get the right bazaar version, install package bzr, not bazaar. To build picard-qt from the source, you need to:
sudo apt-get install g++ python-dev libexpat-dev python-qt4 python-mutagen
sudo apt-get install libavformat-dev libofa0-dev libgstreamer0.10-dev gstreamer0.10-ffmpeg
(This is from my experience, feel free to add anything else you notice. --Bogdanb)
Installation From Source Code
To run Picard you need at least:
Optionally also:
- libdiscid (and ctypes if you use Python 2.4) for CD lookups
- libofa
- libavformat/libavcodec
Once you have installed the requirements, you can compile the C extensions:
python setup.py config <edit build.cfg if neccessary> python setup.py build_ext -i python setup.py build_locales -i
And now you can start Picard:
python tagger.py
Mac OS X Installation Notes
A rough installation guide is available here: /MacInstallGuide
The Apple supplied python 2.3 in OSX 10.4.x will not work with picard, and some of the dependencies listed above expect a framework version of python. http://pythonmac.org/packages/ provides a framework python 2.4 which seems to work.
OpenSUSE Installation Notes
For SUSE/OpenSUSE installation, you need to ensure two repositories are added to YAST/Smart/Zypper:
1) GURU's RPM repository. Select the correct repository for your version from the list at Guru's Website (Most SUSE users already have this repository.)
It contains the RPM for Picard-QT.
2) Go to the OpenSUSE Python repository and select the correct repository for your version.
It contains Python-QT4 and other Python RPMs you may need.
Other requirements should already be taken care of by default repositories and GURU's repository.
3) Select picard-qt in YAST/Smart/etc. and install.
4) Run Picard-QT using the command "picard".
Ubuntu Feisty Installation Notes
Add the following repository line to your apt sources.list
deb-src ftp://ftp.musicbrainz.org/pub/musicbrainz/users/luks/ubuntu feisty musicbrainz
Make sure you have devscript
installed
Now run these commands (they should be pretty much self-explanatory
apt-get build-dep picard apt-get source picard cd picard*/ debuild binary cd .. dpkg -i picard-*.deb
Debian Lenny Installation Notes
The simplest installation path is to use the provided repository for sid (deb ftp://ftp.musicbrainz.org/pub/musicbrainz/users/luks/ubuntu sid musicbrainz) - either edit your /etc/apt/sources.list or grab the deb package from there and dpkg it manually). Note, though, that the sid repository is not updated as often as the ubuntu one (so, you may want to try the feisty repo with unpredictable results, or go the source way).
Obviously, you can't (yet) use it on a pure lenny, as some required dependencies are still in sid. Just add sid in your sources list (deb http://ftp.us.debian.org/debian sid main contrib non-free) and maintain a mixed distro. Be dead sure to pin it if you don't want to wake up on a fully-blowned sid!
At that time, the only failing dependency is on python-qt4, so pin it. Something like:
Package: python-qt4 Pin: release a=unstable Pin-Priority: 2000 Package: * Pin: release a=testing Pin-Priority: 1000 Package: * Pin: release a=unstable Pin-Priority: 100
Technically, that should do it for the i386 binary package.
If you prefer to roll your own (or if you're on amd64 and have no choice), the same solution (is needed and) does the trick. For what it's worth, here's the full package dependency list:
python2.4, python-central (>= 0.5.8), python (<< 2.5), python (>= 2.4), fftw3, liba52-0.7.4, libavcodec0d (>= 0.cvs20060823), libavformat0d (>= 0.cvs20060823), libc6 (>= 2.5-5), libdc1394-13, libexpat1 (>= 1.95.8), libgcc1 (>= 1:4.2-20070516), libgsm1 (>= 1.0.10), libofa0 (>= 0.9.3), libogg0 (>= 1.1.3), libraw1394-8, libstdc++6 (>= 4.2-20070516), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), zlib1g (>= 1:1.2.1), python-qt4 (>= 4.1), libdiscid0, python-ctypes, python-mutagen (>= 1.9)
Note that you may experience random segfaults on amd64 (reason yet unknown).
Fedora 7, 8 and higher Installation
picard is now in the official Fedora package collection:
https://admin.fedoraproject.org/pkgdb/packages/name/picard
since dependent packages PyQt4 and libdiscid are now also available in Fedora. Just install with yum
yum install picard
Currently these packages do not have support for acoustic fingerprinting because that depends on ffmpeg which isn't available in Fedora due to patent issues in ffmpeg. An add-on package to be made available in RPM Fusion is being worked on. In the meantime you can enable this manually, here's some (untested) steps that should get you going:
Follow the instructions on:
to enable the livna repository. Once enabled, run as root:
yum install yum-utils rpmdevtools rpm-build ffmpeg-devel
as normal user:
yumdownloader --source picard fedora-buildrpmtree rpm -Uvh picard*.src.rpm (i.e. that you just downloaded) cd ~/rpmbuild/SPECS
edit picard.spec in your favourite editor and add "BuildRequires: ffmpeg-devel" in the BuildRequires section.
rpmbuild -bb picard.spec cd ~/rpmbuild/RPMS/i386/ (or whatever arch you run on)
as root:
yum localinstall picard-*.i386.rpm
(note you may need to remove any previously installed picard if you haven't bumped the release number. You can provide feedback to alexlan AT fedoraproject org)