implement fix for nested FilterComparers + other fixes #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed
.ItemSorter
now acceptsshuffle_weight
between -1 and 1 instead of 0 and 1.This parameter's logic has not yet been implemented so no changes to functionality have been made yet.
.get_filepaths
from :py:class:.LocalTrack
to super class :py:class:.File
Fixed
.PrettyPrinter.json
and :py:meth:.PrettyPrinter._to_str
converts attribute keys to stringto ensure safe json/str/repr output
.FilterMatcher
and :py:class:.FilterComparers
now correctly import conditions from XML playlist files.Previously, these filters could not import nested match conditions from files.
Changes to logic also made to :py:meth:
.Comparer.from_xml
to accommodate..XMLLibraryParser
now handles empty arrays correctly. Previously would crash..Comparer
dynamic process method alternate names forin_the_last
andnot_in_the_last