Commit Graph

13 Commits

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