Commit Graph

46 Commits

Author SHA1 Message Date
Philipp Wolfer
14277c18b5 PICARD-1288: Added unit tests 2019-02-20 12:55:33 +01:00
Michael Wiencek
f908e66a1e PICARD-1471: Artist searches do not show begin and end area
The search server outputs these property names with hyphens, not
underscores.

MBS does output them using underscores for artist lookups, but (1)
Picard doesn't appear to perform any artist lookups, and (2) MBS will be
fixing that to use hyphens as well.
2019-02-13 02:50:59 -06:00
Philipp Wolfer
4c01a084ff PICARD-490: Support tagging AAC files with APEv2 2018-12-12 10:40:15 +01:00
Philipp Wolfer
6038409d44 PICARD-490: Support load and rename for AAC (ADTS/ADIF) files 2018-12-12 10:40:15 +01:00
Philipp Wolfer
42c4bdf310 Added support for loading and renaming Standard MIDI files 2018-12-12 10:37:52 +01:00
Philipp Wolfer
5988bd66ad PICARD-1395: Load MusicBrainz genres 2018-11-25 17:08:49 +01:00
Philipp Wolfer
901962838b PICARD-1416: Save uppercase TXXX:ARTISTS tag to ID3 2018-11-23 17:52:03 +01:00
Philipp Wolfer
0546765d5f PICARD-1410: Added test for invalid Vorbis ratings 2018-11-12 09:17:29 +01:00
Philipp Wolfer
96c7f2f082 PICARD-1354: Allow using instruments and vocals as credited 2018-09-25 15:07:33 +02:00
Philipp Wolfer
3a380e2355 PICARD-1162: Fix solo attribute for vocals / instruments (#979) 2018-09-22 10:37:49 +02:00
Laurent Monin
63d61c7830 Merge branch 'master' into PICARD-1328-fix-load-optimfrog 2018-09-05 08:38:53 +02:00
Philipp Wolfer
870b159e22 Added unit tests for APE, ASF, Opus and Speex formats 2018-09-04 11:33:09 +02:00
Philipp Wolfer
9c649d97f0 PICARD-1328: Fix loading OptimFROG files 2018-09-03 23:26:53 +02:00
Philipp Wolfer
0e55d039c1 PICARD-1327: Fix loading TAK files 2018-09-03 17:42:12 +02:00
Philipp Wolfer
30895eedd6 FLAC: Preserve waveformatextensible_channel_mask when clearing tags
Fixes PICARD-1326
2018-09-03 15:07:57 +02:00
Laurent Monin
374849faef PICARD-1187: Add DSF file support 2018-02-26 14:08:48 +01:00
Wieland Hoffmann
8490422384 PICARD-1159: Don't pass filenames as bytes to wave.open
wave.open treats everything that's not a str as a file-like object.
encode_filename returns bytes, but they're not file-like.
2017-12-06 19:19:34 +01:00
Sambhav Kothari
b0d412169c Add null type tests 2017-07-26 16:12:12 +05:30
Sambhav Kothari
844eca9eaa Fix null type errors and add test data for null types 2017-07-26 16:09:34 +05:30
Laurent Monin
5aa025619e Fix null catalog-number and/or label cases, add matching tests 2017-07-25 15:41:03 +02:00
Sambhav Kothari
506d59e5c6 PICARD-1119: Fix wrong metadata parsing
Fixes https://tickets.metabrainz.org/browse/PICARD-1119
2017-07-22 01:46:53 +05:30
Sambhav Kothari
9062a69c1b Add acoustid json parser test 2017-07-18 15:24:34 +05:30
Sambhav Kothari
22586506cc Fix tests and add test data 2017-07-16 18:33:08 +05:30
Sambhav Kothari
43a33c5f03 Add more test data 2017-07-13 17:04:27 +05:30
Sambhav Kothari
ee8a56b48d Add tests for mbjson 2017-07-13 16:58:12 +05:30
Shen-Ta Hsieh
a3f74679e1 Recompress all png files
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
2017-05-05 16:57:30 +08:00
Sambhav Kothari
9ab441ad3c Add proper test mp3 file 2017-01-04 15:45:59 +05:30
Ville Skyttä
8fe381dbe6 Run *.png through zopflipng (#477) 2016-07-26 21:21:03 +02:00
Frederik “Freso” S. Olesen
d26c908587 Optimise PNG files in the repository.
Commands used:
1. `optipng -fix -preserve -o7 -strip all -clobber **/*.png`
2. `advpng -4 -i 50 -z **/*.png`

See:
* optipng: http://optipng.sourceforge.net/
* advpng: http://advancemame.sourceforge.net/comp-readme.html
2016-02-22 00:54:51 +01:00
Laurent Monin
043d37b07a Merge pull request #376 from phw/aiff
PICARD-42: Support AIFF files
2014-12-02 19:18:42 +01:00
Philipp Wolfer
66feb95a5a Added tests for True Audio to make sure the recent ID3 changes didn't break anything. 2014-11-10 23:34:00 +01:00
Philipp Wolfer
be025002c9 Initial support for AIFF files with ID3 tags. 2014-11-10 23:31:50 +01:00
Philipp Wolfer
5cb930c150 Added tests for Musepack v7 and v8 2014-11-10 22:43:26 +01:00
Laurent Monin
b4367486bd Introduce image_info() to extract width, height from image data 2014-05-15 14:35:56 +02:00
Laurent Monin
4fc84a428b Remove (now) useless data test file. 2013-06-19 19:27:10 +02:00
Laurent Monin
6de59d8ee9 Add functions to convert bytes to human readable form.
Binary and decimal modes are supported (MB and MiB ie.)
It supports i18n using gettext and locale.
Precision can be modified if needed, by default it is using 1 digit (if needed).

Extensive tests were written, the toughest was to make them work for
both default C locale and fr_FR.UTF-8 locale (ofc it is possible to test for more
locales...). If one locale isn't available on testing system, test is skipped.
fr locale was chosen because decimal point is replaced by a comma and byte units
becomes "octet" units (1.5 MB in english -> 1,5 Mo in french).
2013-06-09 14:23:23 +02: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
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
Philipp Wolfer
d4362e3b56 Added ASF test and cover art test for all formats supporting it. 2010-04-11 23:58:27 +02:00
Will
cfe5299a76 fixing test cases by making settings to file loading optional 2008-01-22 23:23:09 -05:00
Lukáš Lalinský
8f22e383e1 Don't display an error on Ogg and FLAC files with no tags. 2007-04-28 12:32:04 +02:00
Lukáš Lalinský
b87f718aed Removed old code from mutagenext (now in mutagen). Added test for APEv2 files. 2007-02-24 08:53:37 +01:00
Lukáš Lalinský
cd39affd65 Fixed MP4 tag saving. Added test case. 2007-02-23 10:27:59 +01:00
Lukáš Lalinský
437dd9ec0b * VC: Fixed duplicate tag saving.
* Added some format tests.
2007-02-23 09:23:26 +01:00
Lukáš Lalinský
92507ecae2 Unneeded test file. 2007-01-20 18:01:38 +01:00
Lukáš Lalinský
d115db5074 Added ASF support to mutagenext. 2006-10-06 23:50:56 +02:00