Frederik “Freso” S. Olesen
a0c0ce7e47
Fix(/ignore) PEP8/flake8 errors
2017-06-01 02:31:03 +02:00
Frederik “Freso” S. Olesen
5ba3e924fb
Refactor Program.getPath disambiguation logic to .addDisambiguation
2017-05-31 23:33:07 +02:00
Frederik “Freso” S. Olesen
2465f03337
Add disambiguation to the end of template strings w/o "%d"
2017-05-31 23:33:07 +02:00
Frederik “Freso” S. Olesen
e5f2afe0db
Break out of disambiguation loop once disambig has been added
...
Instead of iterating over all the path parts and added disambiguation to
each, it now only adds the disambiguation to the first match.
2017-05-31 23:33:06 +02:00
Frederik “Freso” S. Olesen
a14989583e
Use regular str.split() to split template parts in disambiguation
...
os.path.split() only even splits into two components, which means that
path templates that have more than two parts (e.g., `%A/%d - %y/%X`)
will not get split properly for the purpose of added disambiguation
parts to them.
os.path.join() will still work fine to splice the split template back
together as it takes an arbitrary number of arguments.
2017-05-31 23:33:06 +02:00
Frederik “Freso” S. Olesen
3f30f1d46f
Always disambiguate in the release title part of the template
...
Fixes https://github.com/JoeLametta/whipper/issues/127
2017-05-31 23:31:15 +02:00
JoeLametta
b6fb7e8a86
Solve all flake8 warnings ( #163 )
...
Whipper is now fully PEP8 compliant.
Revised version which includes all the changes suggested by Freso.
2017-05-31 23:09:36 +02:00
Frederik “Freso” S. Olesen
8ebd329a19
Fix capitalisation of MusicBrainz everywhere
...
Make MusicBrainz consistently written as "MusicBrainz" and not
"musicbrainz" or "Musicbrainz".
Doesn't change instances that refer to the Python module or similar.
2017-05-19 01:16:45 +02:00
Frederik “Freso” S. Olesen
e75a54ee01
Fix typo in inline comment ("Ingore" → "Ignore")
2017-05-19 01:05:07 +02:00
Frederik “Freso” S. Olesen
a20c25258d
Remove "Morituri - for those about to RIP" lines.
2017-04-26 23:08:50 +02:00
Frederik “Freso” S. Olesen
cb0042c832
Update morituri references in inline documentation.
2017-04-26 23:08:50 +02:00
Frederik “Freso” S. Olesen
ff309e468c
Rename "morituri" module to "whipper".
...
Fixes https://github.com/JoeLametta/whipper/issues/100
2017-04-26 23:08:28 +02:00