Commit Graph

1839 Commits

Author SHA1 Message Date
Wieland Hoffmann
5d6f9ea443 coverart: do not try the caa if all providers are disabled 2012-09-11 11:34:19 +02:00
Wieland Hoffmann
5719aa4bac coverart: Do not try to re-fetch index.json after a failure 2012-09-11 11:34:19 +02:00
Wieland Hoffmann
895c9b62f7 Add settings for the coverart plugin
This extends the coverart plugin to provide an options page so users can
configure which cover art provider they want to use and, in case of the
CAA, which image sizes and image types to download.
2012-09-11 11:34:18 +02:00
Michael Wiencek
eb72e12df8 Merge branch 'master' of github.com:musicbrainz/picard 2012-09-08 23:53:49 -05:00
Michael Wiencek
b36d88ad46 Subclass dict for Metadata
There were a few annoyances I had with the current code...

1. The indirection surrounding the __get and __set methods is a chore to
read when trying to debug things.

2. It implemented methods like keys, pop, __contains__, __delitem__, and
__repr__ that duplicated the default dict functionality.

3. Other modules were accessing _items to work around certain behavior,
which wasn't ideal.
2012-09-08 23:52:11 -05:00
Michael Wiencek
accb6b9b3f Use correct menu roles with translations on OS X 2012-09-08 20:54:51 -07:00
Michael Wiencek
d7af9a97e4 Use system language settings on OS X 2012-09-08 20:47:15 -07:00
Michael Wiencek
16c71eca7f Include ISRC when doing lookups 2012-09-08 12:15:52 -05:00
Michael Wiencek
b61a12f594 Include locale dir with app bundle
Apparently, translations have never worked here...
2012-09-08 00:36:11 -05:00
Michael Wiencek
433606f2d6 Use PyQt's new-style signal syntax 2012-09-08 00:08:45 -05:00
Michael Wiencek
50a42be828 Cleanup some unused code/imports 2012-09-08 00:08:36 -05:00
Michael Wiencek
d20a7c11cc Assign loaded metadata directly instead of copying it
The current metadata object will always be empty, and the new one will be
otherwise garbage collected. There are also no places in the code where a
reference to the old metadata object would be stored, other than
file.metadata.
2012-09-07 20:55:34 -05:00
Michael Wiencek
63eb97820f Merge branch 'master' of github.com:musicbrainz/picard 2012-09-06 11:43:26 -05:00
Michael Wiencek
fd1cc564b8 Options crashes when naming script produces empty filename 2012-09-06 11:41:37 -05:00
Wieland Hoffmann
d493efd3d8 Add the release date for 1.1 2012-09-04 10:18:02 +02:00
Michael Wiencek
24c80a4246 Try to solve UI freezes
Calling setCurrentIndex from currentChanged causes an infinite loop, breaking
the UI. But without that line, there are other very strange effects: see
PICARD-248. The only thing that currentChanged was added for was to make sure
the next item is selected after something is removed, so that keyboard
navigation is easier. This implements a new workaround for that without using
currentChanged.
2012-09-03 19:09:23 -05:00
Lukáš Lalinský
2efd17eed8 Increase the version number 2012-09-03 21:12:19 +02:00
Michael Wiencek
0695aacc78 Update NEWS.txt 2012-09-03 14:02:15 -05:00
Michael Wiencek
c15dffb95a Merge branch 'master' of github.com:musicbrainz/picard 2012-09-03 13:59:18 -05:00
Lukáš Lalinský
341a234660 Update translations from Transifex (tx pull) 2012-09-03 20:52:20 +02:00
Michael Wiencek
f38959afde Correctly edit different multi-valued tags 2012-09-03 13:31:42 -05:00
Michael Wiencek
ce9a2d5381 Remove duplicate counter var 2012-09-03 12:52:21 -05:00
Michael Wiencek
5a2d849324 Fix various tagdiff oddities (PICARD-256, PICARD-255) 2012-09-03 12:40:15 -05:00
Wieland Hoffmann
7a49fc11d1 Update picard.pot with strings from contrib/ 2012-08-28 15:56:53 +02:00
Wieland Hoffmann
7486e46a24 HACKING.txt: Run pybabel on contrib/ as well 2012-08-28 15:53:23 +02:00
Wieland Hoffmann
e65fe9f273 Merge branch 'picard-278' 2012-08-28 12:08:49 +02:00
Michael Wiencek
ebbc58a8f5 Fix initial shift-click in file browser (PICARD-314) 2012-08-25 22:30:36 -05:00
Michael Wiencek
0d40380541 Merge branch 'autoanalyze' of https://github.com/mineo/picard into mineo-autoanalyze 2012-08-25 15:36:20 -05:00
Wieland Hoffmann
3e6a20f93f Add filename related parameters for file naming scripts 2012-08-25 18:42:12 +02:00
Wieland Hoffmann
42be7c436f only autoanalyze files that can be analyzed 2012-08-25 13:37:25 +02:00
Wieland Hoffmann
3b7ac70cd9 save_images: Use separate counters for different base filenames 2012-08-24 09:49:34 +02:00
Wieland Hoffmann
1e8a412edf Prevent cover images from skipping numbers
This is a bug introduced with fc7470eee0:
When saving multiple images with the generic filename, only odd numbers
would be appended to the filename, because the "while exists(foo)" check
is always true for every image except the first one at least once,
causing "i" to be incremented twice for every image (except for the
first one).
2012-08-23 15:01:13 +02:00
Michael Wiencek
4a60fbf2e6 Add a unit test for lyrics language 2012-08-17 02:48:09 -05:00
Michael Wiencek
3385adf070 Merge branch 'PICARD-242-work-language' of https://github.com/weisslj/picard into weisslj-PICARD-242-work-language 2012-08-17 01:54:03 -05:00
Michael Wiencek
0076cce202 Prevent filebrowser from jumping when item is expanded 2012-08-17 01:35:37 -05:00
Michael Wiencek
f27219ff9a Multi-select and drag+drop broken for new file tree (PICARD-246) 2012-08-17 01:27:41 -05:00
Michael Wiencek
d31b4344c1 Don't use _ as a name, try 2
I screwed up the last commit.
2012-08-16 05:00:58 -05:00
Michael Wiencek
0da15ec331 Ctrl-clicking in releases list pane requires clicking twice. (PICARD-248) 2012-08-16 04:53:53 -05:00
Michael Wiencek
003e808fbf Don't use _ as a name
Fixes an issue from the previous commit where I used _ as a temp
variable name. It only broke the infodialog, but I'm replacing it
everywhere just to be safe.
2012-08-16 04:39:31 -05:00
Johannes Weißl
0d7e0d6864 Only store one identical language (PICARD-242).
Can happen if a recording is linked to >=2 works with the same language.
Fixup 835fa46.
2012-08-11 13:56:36 +02:00
Johannes Weißl
835fa46c85 Store lyrics language in tags instead of text representation language (PICARD-242)
This changes the meaning of the "language" tag. It is now no longer
derived from the text representation language of the release, but from
the lyrics language of the linked work(s).

The text representation language of the release is still available (e.g.
for scripting/plugins) as %_releaselanguage%. To get the old behavior
back, one must insert this line at the beginning of the scripting field:

    $set(language,%_releaselanguage%)

http://tickets.musicbrainz.org/browse/PICARD-242
2012-08-10 18:51:39 +02:00
Michael Wiencek
fc7470eee0 Make it possible to pass a filename when adding an image 2012-08-05 21:21:48 -05:00
Lukáš Lalinský
12ecb622da Remove the hard-coded font from ui_options_tags 2012-07-13 15:19:44 +02:00
Lukáš Lalinský
f9f27c30b3 Initialize format_context to NULL 2012-07-13 14:37:45 +02:00
stephen
aed1a9695a Fix for broken $rsearch
return the first subgroup if there is one, otherwise return the whole
match.
2012-07-10 04:51:29 -04:00
Lukáš Lalinský
1ac0b64d01 Merge remote-tracking branch 'mineo/cluster-analyze' 2012-06-18 10:11:34 +02:00
Wieland Hoffmann
0cdd05c12a Ensure can_analyze's return value depends on the files / clusters of a cluster 2012-06-14 15:58:11 +02:00
Lukáš Lalinský
a369dba157 Use the new metabrainz.org URL to the donation page
http://tickets.musicbrainz.org/browse/PICARD-238
2012-06-14 10:08:39 +02:00
Lukáš Lalinský
2d63d34c5c Pull translations from Transifex 2012-06-14 10:07:39 +02:00
Götz Waschk
fc3b6e28fa adapt for API change in ffmpeg 0.11
Replace av_open_input_file call, a similar fix is in chromaprint git.
2012-06-12 09:55:17 +02:00