satreix
72b764cc51
pep: fix e502
2016-02-26 19:25:21 +01:00
Andrzej Ciarkowski
6f8941d7be
helpers.py: Fix replace_all() broken by commit not in sync
2016-02-16 00:23:27 +01:00
Andrzej Ciarkowski
7ff27a42ca
pathrender.py: Add module for extended path formatting
...
The pattern matching is loosely based on foobar2000 pattern syntax, i.e. the
notion of escaping characters with ' and optional elements enclosed in square
brackets [] is taken from there while the substitution variable names are
Perl-ish or sh-ish. The following syntax elements are supported:
* escaped literal strings, that is everything that is enclosed within single
quotes (like 'this');
* substitution variables, which start with dollar sign ($) and extend until
next non-alphanumeric+underscore character (like $This and $5_that).
* optional elements enclosed in square brackets, which render nonempty value
only if any variable or optional inside returned nonempty value, ignoring
literals (like ['['$That']' ]).
2016-02-09 17:16:28 +01:00
rembo10
cda57dd733
Fixed some merge conflicts
2015-12-01 11:29:25 -08:00
Jamie Magee
327585327f
pep8, pyflakes, and pylint suggested fixes
2015-11-27 13:55:11 +01:00
Troy Olson
8506671c5c
Add fix for Ξ (capital 'Xi') for the band CHVRCHΞS
...
I'm guessing there aren't too many other bands that this will apply to. Hex code found here:
http://webdesign.about.com/od/localization/l/blhtmlcodes-gr.htm
2015-10-21 13:33:02 -07:00
rembo10
9149f62760
Fix for #2173 : Uncaught exception in get_age
2015-07-06 00:21:26 -07:00
Ade
0347ca1bcc
Various
...
- Email SSL
- History, show Folder Name when hovering over Status
- Cuesplit, allow wav, ape to be split
- mb, possible fix for #2181
2015-05-16 09:02:38 +12:00
rembo10
b0b0bcbdb7
Fix for piratebay returning size as 0 bytes for all results
2015-03-06 10:02:04 -08:00
Bas Stottelaar
37638369c1
Show all search results when clicking 'Choose Specific Release'.
...
This effectively shows all results, even the ones without enough seeds and/or quality. However, they are marked.
2014-12-19 23:02:55 +01:00
Bas Stottelaar
39c5242f30
Add support for Old Pirate Bay.
...
Note that this only downloads magnet links and you have to provide the URL yourself, because OPB is meant to be 'open'.
2014-12-19 23:02:13 +01:00
Bas Stottelaar
30be69f08b
Extended filtering directories to files. Only last part of path is matched.
...
Currently, only for library scan files, because the post processor code needs cleanups before filtering files would work.
2014-12-14 11:58:11 +01:00
Bas Stottelaar
ce296e691b
Add advanced option to ignore folder patterns ( #2037 ).
...
Applies to post processing folders and library scan folders. There is no configuration option in the web interface (yet), but one can specify the following in the INI file (make sure Headphones is shut down!).
[Advances]
...
ignored_folders = *.git, *.btsync
...
2014-12-06 13:24:57 +01:00
Jesse Mullan
ac0c61de98
Enable C0303 and C0325, whitespace at end of line and unnecessary () after if checks
2014-11-25 18:49:17 -08:00
Bas Stottelaar
396cbb7b64
Prevent infinite recursion while scanning library.
2014-11-13 02:32:23 +01:00
Bas Stottelaar
6f91694d51
Check if pyOpenSSL is installed before enabling HTTPS.
...
Previous, it is only checked if pyOpenSSL is installed when certificates are
generated. Now, it is checked when HTTPS is enabled. In case it is missing,
HTTPS will be disabled.
2014-11-12 22:53:22 +01:00
Jesse Mullan
6952505368
Fix all pyflakes complaints
2014-11-01 17:50:30 -07:00
Jesse Mullan
60af816a66
Fix pyflakes complaints plus a pylint complaint
2014-11-01 17:03:11 -07:00
Jesse Mullan
7726044c61
Fix whitespace around arithmetic operator
2014-11-01 16:28:44 -07:00
Jesse Mullan
b7abdf1973
Fix E201,E202,E211,E241,E303 whitespace issues
2014-11-01 16:23:38 -07:00
Jesse Mullan
5ede29b401
Fix W601 .has_key() is deprecated
2014-11-01 16:20:43 -07:00
Jesse Mullan
9eef7e40f5
autopep8 E221,E222,E225,E227,E228,E251 spaces around operators and in parameters
2014-10-27 11:00:48 -07:00
Jesse Mullan
5a4bff5be8
autopep8 E301,E302,E303 too many / too few blank lines
2014-10-27 10:56:43 -07:00
Jesse Mullan
3ff09aeb46
autopep8 E231 whitespace after some punctuation
2014-10-27 10:53:47 -07:00
Jesse Mullan
48ef8a93a9
Merge remote-tracking branch 'upstream/develop' into feature/refactor_config
...
Conflicts:
headphones/postprocessor.py
2014-10-25 19:14:14 -07:00
Jesse Mullan
80d0c6d430
Rename headphones.CFG to headphones CONFIG
2014-10-25 11:40:56 -07:00
Ade
ce73883ba2
Auto cue split
...
- Attempt to split audio files by cue sheet during post processing,
requires shntools with flac or xld. If the split fails then the
directory is set as unprocessed.
https://github.com/rembo10/headphones/issues/1938
- last.fm album art/info - try with release id if adding album
manually. https://github.com/rembo10/headphones/issues/1923 ,
https://github.com/rembo10/headphones/issues/1871
2014-10-25 16:32:53 +13:00
Jesse Mullan
0ffbd7824d
Saving the config appears to work again
2014-10-09 10:51:03 -07:00
Ade
63e106a12d
And another attempt to normalize
2014-10-01 22:13:02 +13:00
Bas Stottelaar
8ec1808313
Another batch of improvements:
...
* Prefer 'with' statements for open
* Catch proper exceptions
* Remove ex() method, there was only one use and we catch thousands of exceptions.
2014-09-14 23:14:29 +02:00
Ade
adaaf51e9a
Normalize path replacement strings
...
Potential fix for https://github.com/rembo10/headphones/issues/1824
2014-09-03 22:35:47 +12:00
Bas Stottelaar
d490091a9a
Bugfixes in helpers.py for MediaFile errors. Pre-detect potential file errors
...
Conflicts:
headphones/postprocessor.py
2014-04-15 10:10:10 +02:00
Bas Stottelaar
a0339d9814
Forgot a parenthesis
2014-04-12 18:23:59 +02:00
Bas Stottelaar
eb7a1d7117
Updated methods to log messages new style
2014-04-12 18:23:59 +02:00
rembo10
93d4df29a6
More bugs in replace_illegal_chars
2014-04-08 12:52:14 -07:00
rembo10
ae7dc456ca
Bug in helpers.replace_illegal_chars
2014-04-08 12:41:11 -07:00
rembo10
00c545b37e
Make character replacement a bit more systematic & uniform throughout
2014-04-08 12:08:28 -07:00
rembo10
d6e3ebf41a
Bug fixes, also moved lastfm.getSimilar to run only after a library scan
2014-04-06 18:35:17 -07:00
rembo10
8cdc48f33f
Merge remote-tracking branch 'basilfx/requests' into develop
2014-04-06 17:08:54 -07:00
Bas Stottelaar
22151ff4b0
Moved all request methods to seperate file, since it is getting a core function
2014-04-07 00:32:43 +02:00
Bas Stottelaar
21e1c100e7
Refactored Last.FM code
2014-04-06 23:30:04 +02:00
rembo10
686ea47449
Slightly improved re matching
2014-04-06 13:08:39 -07:00
Bas Stottelaar
7d3401ff9f
Bugfixes
2014-04-06 17:50:50 +02:00
Bas Stottelaar
210c23dd5d
Refactored few names
2014-04-06 16:26:32 +02:00
Bas Stottelaar
084bf59b6a
Bugfixes
2014-04-06 16:14:51 +02:00
Bas Stottelaar
cbb15a13dd
Moved request method to helpers. Removed unused imports
2014-04-06 13:57:02 +02:00
rembo10
ea6e3335a3
added in a pattern match for album folders in 'artist - album' format
2014-04-05 22:43:39 -07:00
rembo10
da05a44187
Added ability to use OR in required words
2014-04-05 16:10:46 -07:00
rembo10
b02889a451
Merge remote-tracking branch 'basilfx/discography_fixes' into develop
...
Conflicts:
headphones/postprocessor.py
2014-04-04 14:06:00 -07:00
Bas Stottelaar
6ae655ad7a
Fixed the album number detection. Added more debugging
2014-04-04 19:45:35 +02:00