Laurent Monin
9c033389e6
Merge pull request #528 from samj1912/picard868
...
PICARD-868,307: Fix TMOO,TSST frame not being saved
2017-01-10 21:51:33 +01:00
Sambhav Kothari
4dd5a66a94
Update tests to remove unsupported AIFF tags
2017-01-09 00:28:02 +05:30
Sambhav Kothari
e005d541fe
Minor changes to function names
2017-01-07 03:23:14 +05:30
Sambhav Kothari
1b35b91f8c
Add tests to check id3v23 compatibility
2017-01-07 02:24:18 +05:30
Sambhav Kothari
2b36896e5d
Add tests to check for performer duplication
2017-01-06 22:51:08 +05:30
Laurent Monin
639a6ed531
Merge pull request #523 from samj1912/delmp3
...
PICARD-867: Improve id3 tag deletion
2017-01-05 18:39:04 +01:00
Sambhav Kothari
44bf38f4c5
Add id3 specific deletion tests
2017-01-05 00:24:21 +05:30
Sambhav Kothari
3452b20111
Fix test cleanup
2017-01-04 23:29:03 +05:30
Sambhav Kothari
dcb8538f02
Add cleanup of temp files
2017-01-04 17:36:36 +05:30
Sambhav Kothari
e7e830bc61
Try magic number detection even if no extension
2017-01-04 16:42:22 +05:30
Sambhav Kothari
9ab441ad3c
Add proper test mp3 file
2017-01-04 15:45:59 +05:30
Sambhav Kothari
22b6fce42a
Add tests for guess_format
2017-01-04 15:45:26 +05:30
Sambhav Kothari
da5e0a29bb
Rename 'save_only_front_image_to_tags' appropriately
2016-12-28 04:22:46 +05:30
Laurent Monin
ac3f793f36
Merge pull request #501 from samj1912/removable-tags
...
PICARD-546,287: Add support for tag removal
2016-12-27 13:57:54 +01:00
Sambhav Kothari
08e101755a
Fetch max filename length from system for unix
...
Instead of hardcoding the value to 255, fetch the max filename length
from system limits.
Related: Docker limits max filename size to 242
2016-12-27 01:47:38 +05:30
Sambhav Kothari
a10bfdaf98
Add tests to check for complex tag deletion
2016-12-25 20:56:26 +05:30
Sambhav Kothari
fb64a83ae3
PEP8 Fixes
2016-12-24 01:45:24 +05:30
Sambhav Kothari
7f25a28dbc
Add removable tags
2016-12-20 18:30:10 +05:30
Sambhav Kothari
43311e4a5e
Add support for nosetests
2016-12-15 01:35:30 +05:30
barami
8f0617c282
Add comment to amazon url scheme test
2016-10-22 23:30:06 +09:00
barami
4274bc54ff
Add unit test for test to parsing of https amazon url
2016-10-22 14:57:15 +09:00
Christoph Reiter
6ed354406a
id3: Remove various mutagen hacks which no longer work with newer mutagen
...
Three parts:
(1) The monkey patching of EncodedTextSpec to ignore encoding errors
when using latin1 as encoding.
This gets replaced with a new id3text function which makes sure
that any value passed to mutagen can be encoded with the selected
encoding
(2) MultiSpec monkey patch to not null terminate a list of strings.
While this is valid according to the spec mutagen decided to terminate
all strings (not only the text lists handled here). If this is a
problem it should be discussed upstream (mutagen).
(3) compatid3 which implemented id3v2.3 support and added some
additional frames.
This gets replaced with the id3v2.3 support implemented upstream.
The additional frames still get passed to mutagen and, to match
the previous implementation, update_to_v23() gets wrapped to
allow some v2.4 only frames.
The newly added id3v2.3 code depends on mutagen 1.22+
2016-08-22 20:26:38 +02:00
Ville Skyttä
8fe381dbe6
Run *.png through zopflipng ( #477 )
2016-07-26 21:21:03 +02:00
Rahul Raturi
dadf13e484
Add tests for union_sorted_lists method
2016-04-23 18:31:57 +05:30
Frederik “Freso” S. Olesen
82da54a9af
Update test for new PNG file size.
2016-02-22 01:09:37 +01: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
Sophist
2d932e3bba
Add support for automated tests.
2015-10-15 10:51:20 +01:00
Philipp Wolfer
8688fe49c6
Tag deletion implemented for Vorbis files
2015-09-23 21:25:41 +02:00
Philipp Wolfer
645873d544
Added unit tests for tag deletion.
...
Currently fails for all formats but MP4 (since its only implemented there).
2015-09-23 21:01:16 +02:00
Laurent Monin
86320f02d0
Merge pull request #419 from zas/futurize_stage1
...
Improve python3 compatibility, minor changes
2015-08-28 13:42:38 +02:00
Philipp Wolfer
5fdc5a945a
Fixed test not run due to duplicated method name
2015-08-28 10:22:47 +02:00
Laurent Monin
a12ee509aa
import print_function
2015-08-25 11:16:05 +02:00
Wieland Hoffmann
7bd95c46be
Merge branch 'PICARD-663' of https://github.com/phw/picard
2014-12-05 17:55:14 +01:00
Philipp Wolfer
3b49da9109
Split the drive in replace_win32_incompat only on win32.
...
Also updated the tests, since this is now platform dependent.
2014-12-05 17:28:01 +01:00
Philipp Wolfer
eb3bb01ca7
Do not run the HiddenFileTest unit tests on Windows.
...
The unit tests only consider the string and whether any path component starts with a ".". On Windows the dotfiles are not used for hidden files so the tests fail. To have proper tests on Windows would require to have an actual folder structure with hidden files and folders.
2014-12-05 17:08:52 +01:00
Philipp Wolfer
8a336f4b92
Fixed renaming paths starting with "[a-z]:" being interpreted as drive names on Windows.
...
Fixes PICARD-663
2014-12-04 13:30:05 +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
Laurent Monin
61e7b351e8
Merge pull request #370 from phw/better_hidden_file_handling
...
PICARD-589: Better hidden file handling
2014-12-02 19:14:43 +01:00
Philipp Wolfer
ce5e4a4ff9
Do not require mutagen 1.23 but disable AIFF support for older versions.
2014-11-18 21:20:19 +01:00
Wieland Hoffmann
28482d3c2b
Merge branch 'improved-wma-tags' of github.com:phw/picard
2014-11-13 11:38:08 +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
Philipp Wolfer
388b429b0b
Improvements to ASF tags:
...
* Distingiush between WM/OriginalReleaseTime and WM/OriginalReleaseYear
* Save encodersettings to WM/EncodingSettings
* Save website to WM/AuthorURL
* Support WM/PartOfSet possibly containing totaldiscs
2014-11-06 21:43:56 +01:00
Philipp Wolfer
80e852ceae
Allow explicit loading of hidden files.
...
This will allow explicit loading of hidden files, but still will ignore hidden files and folders on deeper levels if the "show_hidden_files" option is disabled.
This fixes PICARD-589 and improves PICARD-528.
2014-10-26 13:08:38 +01:00
Laurent Monin
bff18344c1
Move cover art related files to a "coverart" sub-directory
2014-09-29 09:48:39 +02:00
Laurent Monin
94be311dc4
Merge pull request #359 from zas/PICARD-633
...
Picard-633: rework aliases selection for translation of artist's name
2014-09-27 11:53:49 +02:00
Laurent Monin
19d307d9bb
PICARD-630: linear_combination_of_weights() raises exception
...
It happens when the function is called with empty parts list.
Returns 0.0 instead of raising ZeroDivisionError exception
2014-09-26 10:24:56 +02:00
Laurent Monin
068723181f
PICARD-633: fix up artist's name translations
...
See http://chatlogs.musicbrainz.org/musicbrainz-devel/2014/2014-09/2014-09-18.html#T20-39-39-835764
Scores help when it comes to ambiguous choices, see tests.
2014-09-19 09:24:43 +02:00
Laurent Monin
deed015aea
Convert xml nodes values from str to unicode
2014-09-19 01:12:13 +02:00