Commit Graph

30 Commits

Author SHA1 Message Date
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