Commit Graph

1561 Commits

Author SHA1 Message Date
Bas Stottelaar
d34455af3f Bugfixes 2014-04-07 01:30:41 +02:00
Bas Stottelaar
06f2f1c661 Prefer to log debug when it is not white listed 2014-04-07 00:57:50 +02:00
Bas Stottelaar
7c87c534f9 Restored logger functionality, since requests are seperated now 2014-04-07 00:34:07 +02: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
Bas Stottelaar
41cb84957e Return empty list instead of None. It's not necessary to only subset the list if there are items 2014-04-06 18:03:37 +02:00
Bas Stottelaar
1de8ace080 Added six v1.6.1. Is required for some (newer) modules, like html5lib 2014-04-06 17:51:42 +02: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
9544b0e616 Replaced urllib2 in mb, notifiers, postprocessor, searcher and transmission 2014-04-06 16:16:04 +02:00
Bas Stottelaar
55796324b6 Replaces urllib2 in importer, lastfm and lyrics 2014-04-06 16:15:33 +02:00
Bas Stottelaar
a717594950 Replaced urllib2 in albumart and cache 2014-04-06 16:15:11 +02:00
Bas Stottelaar
084bf59b6a Bugfixes 2014-04-06 16:14:51 +02:00
Bas Stottelaar
51c32e09bd Replaced urllib2 in version check 2014-04-06 14:03:16 +02:00
Bas Stottelaar
cbb15a13dd Moved request method to helpers. Removed unused imports 2014-04-06 13:57:02 +02:00
Bas Stottelaar
f757ce0bde Replaced urllib with requests, part 1 2014-04-06 12:18:51 +02:00
Bas Stottelaar
667f768749 Updated requests package to v2.2.1
It was included, but never used. However, lots of code can improve from this.
2014-04-06 11:32:14 +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
a59ed331a8 Merge branch 'process-singleton' into develop 2014-04-05 21:53:10 -07:00
rembo10
d3c48970ae Add option to manage->force actions to process a single directory, or specify a different parent folder to run force pp on 2014-04-05 21:52:51 -07:00
rembo10
65bd0ad229 Fixed a little bug in the postproesser if the folder started or ended with a eriod 2014-04-05 20:48:09 -07:00
rembo10
1580f5c22e Added a little text to the config file for OR words 2014-04-05 16:14:55 -07:00
rembo10
da05a44187 Added ability to use OR in required words 2014-04-05 16:10:46 -07:00
rembo10
0f619a2d43 Merge branch 'api-update-features' into develop 2014-04-05 09:34:21 -07:00
rembo10
769982cc43 Updated API to include the download_specific_release stuff 2014-04-05 09:33:44 -07:00
rembo10
30ba21c616 Merge branch 'select-download' into develop 2014-04-04 21:06:23 -07:00
rembo10
91b596fb0f Some bug fixes and styling changes 2014-04-04 21:06:07 -07:00
rembo10
d79dc8f1ab Most work done to get the ability to choose which release you want 2014-04-04 18:11:20 -07:00
rembo10
ed63a08333 Little bugfix to add REPLACE_EXISTING_FOLDERS to global vars in init.py 2014-04-04 14:17:01 -07:00
rembo10
e136a6a4e4 Deleted the outdated TODO, moved all init scripts into a folder 2014-04-04 14:09:28 -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
rembo10
1683e4da76 Merge remote-tracking branch 'basilfx/logfix' into develop 2014-04-04 14:00:33 -07:00
rembo10
d7bc0625e3 Merge remote-tracking branch 'basilfx/gitfix' into develop 2014-04-04 13:54:50 -07:00
rembo10
20863084da Merge remote-tracking branch 'basilfx/postprocess_fixes2' into develop 2014-04-04 13:52:00 -07:00
rembo10
75dc68f176 Merge remote-tracking branch 'basilfx/savefix' into develop 2014-04-04 13:47:18 -07:00
Bas Stottelaar
6ae655ad7a Fixed the album number detection. Added more debugging 2014-04-04 19:45:35 +02:00
Bas Stottelaar
eb3a0ac217 Expand subdirectories so discographies are handled 2014-04-04 19:11:01 +02:00
Bas Stottelaar
42207516b9 Logfixes for postprocessor 2014-04-04 15:06:17 +02:00
Bas Stottelaar
f90a87f943 Moved exception handlers to different methods
Improvements to exception logging
2014-04-04 15:06:15 +02:00
Bas Stottelaar
a5480dd124 Encoder logging and exception improvements
Forgot to escape

Bugfix
2014-04-04 15:06:13 +02:00
Bas Stottelaar
1ac7ba0892 More logger replacements. 2014-04-04 15:06:13 +02:00
Bas Stottelaar
e409859c35 Add excepthook for verbose. Bugfixes
Enabled exception hook for all cases
2014-04-04 15:06:11 +02:00
Bas Stottelaar
2add9fa264 First attempt to replace logger methods with lazy evaluating version
Forgot to format the message
2014-04-04 15:06:04 +02:00
Bas Stottelaar
f3d192c548 Update GitHub version detection.
When working in a seperate branch, Headphones keeps telling I'm 0 commits behind. This patch looks at the
'behind_by' key instead of 'total_commit', which is what is desired. The case with -1 is now obsolete.

The web interface now respects the 'headphones.COMMITS_BEHIND' property.
2014-04-04 15:01:18 +02:00
Bas Stottelaar
e4032106d6 Do not continue with other attempts after verify 2014-04-04 13:51:48 +02:00
Bas Stottelaar
300b47d6f8 Bugfix for not able to save if 'replacing existing folders' isnt checked 2014-04-04 13:00:32 +02:00
Bas Stottelaar
89aff6e199 Improve logging for Last.FM import 2014-04-04 12:08:57 +02:00
Bas Stottelaar
bfbfb4262b Initial rewrite of logger.
Log messages are now fully handled by Python's logging framework. Since logger methods are
directly exposed, it is now possible to pass placeholders as arguments:

   logger.error("Caused by %s", object_with_expensive_to_string)

instead of

   logger.error("Caused by %s" % object_with_expensive_to_string)

This means debug messages are only formatted when they are enabled.
2014-04-04 12:08:56 +02:00
rembo10
79c293f32b Merge branch 'prefer-torrents-bugfixes' into develop 2014-04-03 22:37:52 -07:00
rembo10
a364c435e4 Fixed a bug with nzbs 2014-04-03 22:37:32 -07:00