Adrian Sampson
d11fe020ce
snake_case variable names
2015-12-12 18:03:12 -08:00
Adrian Sampson
6f6794f560
Merge pull request #1706 from sampsyo/editor
...
Edit plugin
2015-12-12 18:00:25 -08:00
Adrian Sampson
3855fa0766
Doc refinements for #1749
2015-12-12 17:33:23 -08:00
Adrian Sampson
d1adaa9cb7
Merge pull request #1749 from diego-plan9/humanlength
...
Format length as M:SS by default
2015-12-12 17:29:56 -08:00
Adrian Sampson
b31f8cd802
Remove tests for Google fetchart backend ( #1760 )
2015-12-12 16:58:49 -08:00
Adrian Sampson
5597313ea0
fetchart: Remove Google backend ( fix #1760 )
2015-12-12 16:47:00 -08:00
Adrian Sampson
3314db2f77
fetchart: Better logging for iTunes ( #1760 )
2015-12-12 16:44:55 -08:00
Adrian Sampson
37250ef27b
fetchart: Fix #1610 : itunes install docs
2015-12-12 16:40:42 -08:00
Adrian Sampson
0e454ad39c
Update Fedora instructions ( #1658 )
2015-12-10 18:04:44 -08:00
Adrian Sampson
2d8c3a3dd4
Merge pull request #1756 from Kozmo97/master
...
fixed copyright year
2015-12-10 14:51:01 -08:00
Matija
f7da854967
fixed copyright year
2015-12-10 23:40:45 +01:00
Adrian Sampson
659fab2ca9
Fix #879 (again): update ID3 string encodings
2015-12-10 14:30:25 -08:00
Diego Moreda
3e2d2479b5
Fix test that depended on local time, 2
2015-12-09 16:42:47 +01:00
Diego Moreda
25cb556ea2
Fix test that depended on local time
2015-12-09 16:40:14 +01:00
Diego Moreda
2f2cdd24da
Fix unused import leftover on test_library
2015-12-09 16:31:45 +01:00
Diego Moreda
a5ecc77663
Add documentation for M:SS length
2015-12-09 16:30:20 +01:00
Diego Moreda
4afdbdfdf4
Move raw_seconds_short to beets.util
2015-12-09 16:14:08 +01:00
Diego Moreda
0e64275993
Add tests for library-specific field types
2015-12-09 16:07:01 +01:00
Peter Kessen
4069e49f42
Merge branch 'pkess:fix_test_windows'
2015-12-05 15:10:37 +01:00
Peter Kessen
ceafad2651
Fixed testcase TestLibrary.test_write_with_custom_path
...
on windows it is important to use syspath with functions
to modify path
2015-12-05 15:05:25 +01:00
Peter Kessen
c086a634b6
Fixed testcase TestLibrary.test_no_write_permission
...
on windows it is important to use syspath with functions
to modify path
2015-12-05 14:58:03 +01:00
Diego Moreda
cca307c88b
Fix test that was expecting raw length format
2015-12-05 14:18:23 +01:00
Diego Moreda
62ee915aac
Fix pyflakes issues, variable name
2015-12-05 14:12:27 +01:00
Diego Moreda
8d2fda790b
Add config option for human vs raw track duration
...
* Add "format_raw_length" global configuration option to allow the user to
toggle between human-readable (default) or raw formatting of track durations.
2015-12-05 13:28:56 +01:00
Adrian Sampson
85e9097967
Merge pull request #1743 from pkess/fix_test_windows
...
Tried to fix test on windows
2015-12-05 07:47:15 +01:00
Diego Moreda
67eb0ed54c
Format track duration as H:MM instead of seconds
...
* Modify library.Item in order to have length formatted as H:MM instead of the
raw number of seconds by using a types.Float subclass (DurationType).
* Add library.DurationType, with custom format() and parse() methods that
handle the conversion.
* Add dbcore.query.DurationQuery as a NumericQuery subclass that _convert()s
the ranges specified by the user to floats, delegating the rest of the
functionality in the parent NumericQuery class.
* Add ui.raw_seconds_short() as the reverse of human_seconds_short(). This
function uses a regular expression in order to allow any number of minutes, and
always required SS to have two digits.
2015-12-04 20:51:25 +01:00
Peter Kessen
4937cc7e9e
fixed format
2015-12-02 22:13:38 +01:00
Peter Kessen
de7d9d6b0d
Tried to fix test on windows
...
test_slashed_query_matches_path (test.test_query.PathQueryTest)
2015-12-02 22:04:07 +01:00
Peter Kessen
f1f1288b30
Merge branch 'master' into editor
2015-12-02 21:35:33 +01:00
Adrian Sampson
5c8acc9a49
Fix #1721 by disabling \\?\ prefix for IM
2015-11-30 08:00:34 +01:00
Adrian Sampson
a333777946
Merge pull request #1737 from diego-plan9/mbtracks
...
info plugin: Allow custom formatting and human-readable lengths
2015-11-26 10:31:12 -08:00
Diego Moreda
3cdcaa45a8
info: modify emitter output, clearer path handling
...
* Make emitters produce a pair (dict, Item), in order to preserve the output
at print_data (dict is used if no custom format is specified, Item otherwise).
* Simplify the handling of the paths, printed at the top of print_data. The
path key is removed from the dict entirely and fetched from the Item.
2015-11-26 15:55:00 +01:00
Adrian Sampson
cd687e7bef
Merge pull request #1738 from diego-plan9/querysort
...
Documentation update: followup to #1736 , fix typo on inline.rst
2015-11-25 17:32:09 -08:00
Diego Moreda
47ceb492dc
Add docs note for custom-field sorting, fix typo
...
* Add note about ordering when sorting by custom-fields on query.rst.
* Fix typo on inline.rst.
2015-11-25 19:15:01 +01:00
Diego Moreda
a8f9f016d8
info: add format note to docs
2015-11-25 18:12:04 +01:00
Diego Moreda
be5138376b
info: add changelog entry for format option
2015-11-25 18:04:49 +01:00
Diego Moreda
ca63311101
info: revert human_length changes 2
...
* Remove human_length parameter from print_data()
2015-11-25 17:36:51 +01:00
Diego Moreda
83279ebe5b
info: revert human_length changes
...
* Remove human length changes from the plugin and the tests, as they will
eventually be handled at a higher level.
2015-11-25 16:06:19 +01:00
Adrian Sampson
155727a227
Merge pull request #1736 from diego-plan9/querysort
...
Fix for crash when sorting by nonexistent field (#1734 )
2015-11-24 20:05:54 -08:00
Diego Moreda
0ed3f4067a
Add changelog entry for nonexistent fields sorting
2015-11-24 19:43:48 +01:00
Diego Moreda
2bce87cd3f
Merge remote-tracking branch 'upstream/master'
2015-11-24 19:41:13 +01:00
Diego Moreda
455fd0e352
Fix sorting by nonexistent field ( #1734 ), tests
...
* Fix crash when sorting by nonexistent field.
* Add tests for queries with nonexistient fields for sorting.
2015-11-24 19:37:30 +01:00
Diego Moreda
67af8af7dd
info: add unit tests
...
* Add tests for length (human/raw, library/path) and custom format.
2015-11-24 17:16:14 +01:00
Diego Moreda
8d9db9ffe6
info: minor cleanups
...
* Rename filter() function to avoid warning of reserved built-in symbol.
* Remove mediafile fixture on two tests.
2015-11-24 16:41:56 +01:00
Diego Moreda
1ef407672a
info: add item format and length format arguments
...
* Add custom output formatting via a format string to InfoPlugin. The command
accepts a formatting string via the "-f" parameter, which is handled by its
CommonOptionsParser and applied during print_data().
* Modify the emitters in order to include an Item into the list of fields, that
is formatted according to the format string if specified.
* Add an argument to allow the user to choose if track lengths are displayed as
raw floats or using a human-readable form (mm:ss), defaulting to human-readable
form.
2015-11-24 16:31:01 +01:00
Adrian Sampson
6958f83dd6
Fix test for richer CalledProcessError
2015-11-23 22:55:51 -08:00
Adrian Sampson
4ccf81534e
Even more ImageMagick error logging ( #1721 )
2015-11-23 22:47:52 -08:00
Adrian Sampson
c90ca1096c
fetchart: Log reasons for rejecting art
2015-11-23 17:30:09 -08:00
Adrian Sampson
0a719a0152
Fix formatting in logging for #1721
2015-11-22 10:30:20 -08:00
Adrian Sampson
1d0984a294
Slight log rewording
2015-11-21 12:54:50 -08:00