Commit Graph

2479 Commits

Author SHA1 Message Date
rembo10
6b6dd6fbf6 Fix pep8 issue in helpers_test and fix import re #2574 2016-04-05 12:34:45 +01:00
rembo10
774b3fdf08 Merge remote-tracking branch 'maxkoryukov/fix/sofchroot-tmp-remove' into develop 2016-04-05 12:27:44 +01:00
rembo10
a1d93936f3 Merge remote-tracking branch 'satreix/travis' into develop 2016-04-05 12:12:27 +01:00
rembo10
778deb9674 Merge remote-tracking branch 'bfred-it/patch-1' into develop 2016-04-05 12:08:15 +01:00
rembo10
20e1954f0c Merge remote-tracking branch 'satreix/pep-e261' into develop 2016-04-05 12:06:45 +01:00
rembo10
b894ebb3c5 Merge remote-tracking branch 'andrzejc/clean-name' into develop 2016-04-05 12:04:44 +01:00
rembo10
db3df7e6c9 Merge remote-tracking branch 'andrzejc/metadata' into develop 2016-04-05 12:03:15 +01:00
rembo10
658ae4a587 Merge remote-tracking branch 'andrzejc/pathrender' into develop 2016-04-05 12:02:59 +01:00
rembo10
1e873d7e97 Merge remote-tracking branch 'satreix/pep-e262' into develop 2016-04-05 12:01:34 +01:00
rembo10
cd77bb827b Merge remote-tracking branch 'satreix/pep-e502' into develop 2016-04-05 11:57:48 +01:00
rembo10
35230a0674 Merge remote-tracking branch 'andrzejc/develop' into develop 2016-04-05 11:56:22 +01:00
rembo10
c1d18a278d Merge remote-tracking branch 'noam09/develop' into develop 2016-03-29 22:11:21 +01:00
maxkoryukov
a25ebdccfb FIX: bug with fullname of headphones.exceptions, visible just for pyflakes... 2016-03-20 16:48:56 +05:00
satreix
4e7d197c7f travis: better pip usage 2016-03-18 23:24:38 -07:00
Andrzej Ciarkowski
33baf66371 pathrender: Update explanation text. 2016-03-09 21:03:37 +01:00
Federico Brigante
5693e509b4 Custom build badges in readme 2016-03-08 19:54:43 -08:00
Noam
479a9548c1 Set Move-To Path for General Setting
- setTorrentPath was called only in case DELUGE_DONE_DIRECTORY was set,
forgot about the more general DOWNLOAD_TORRENT_DIR option. Thought about
it in deluge.py, forgot about it in searcher.py. This should fix #2557
2016-03-09 00:01:05 +02:00
satreix
f1e7078902 pep: fix e261 2016-03-04 12:47:51 -08:00
Noam
9b9d728ce3 Deluge Move-To Directory
- Deluge move-to directory only relevant if Deluge is the chosen torrent
downloader
2016-03-04 17:44:44 +02:00
Noam
5bf465b883 Go Back to Previous Folder Name
- Go back to previous folder name method
2016-03-04 15:29:52 +02:00
Andrzej Ciarkowski
fd8fb4529c helpers: Replace cleanName() implementation to get much higher match ratio.
Track matching is performed using 'CleanName' which up to now was obtained in
convoluted way, which effectively removed any non-ascii alphanumeric characters
but at the same time left some trash preventing the names to be matched due to
whitespace differences. Current implementation performs most of the
transliteration using Unicode NFD decomposition to remove diacritical marks from
characters in Latin scripts, leaving the others intact. Only alphanumeric chars
are included in resulting string and all the spaces are coalesced. Based on
observations on several-tens GiB library, this allows for much better ratio of
automatic track matches.
2016-03-04 11:25:16 +01:00
Noam
e05699e7ba Specify Name When Sending to Deluge Module
- Searcher should send "Artist - Album" string to Deluge so we don't
have to guess the name
2016-03-03 14:37:55 +02:00
Noam
147f62d87a Removed Folder Name
- Folder name (folder_name) is set to Artist - Album by default - use
that instead
2016-03-03 14:23:12 +02:00
Andrzej Ciarkowski
c9a6125d92 __init__.py: Fix pyflakes failing due to invalid use of headphones.exceptions. 2016-03-03 08:51:24 +01:00
Noam
30a3421710 More Travis
- Not sure what this is but I think this should fix it...
2016-03-02 23:32:13 +02:00
Noam
a7f2329fee Travis Fixes 2016-03-02 23:19:30 +02:00
Noam
1a56e24def Added SSL/TLS Disclaimer
- Currently self-signed certificates can't be verified
2016-03-02 15:35:20 +02:00
Noam
73a55e81b8 Better Downloading of Files
- Reading downloaded files now uses response.content instead of
response.text which caused loss of file data due to encoding
shenanigans. This fixes the WHAT issue.
- Fix URL for WFFLS downloads
- Special User-Agent for WHAT downloads, still not sure if this is
necessary
2016-03-02 15:12:18 +02:00
Noam
ac91e17f86 More Special Sites 2016-03-01 23:39:38 +02:00
Noam
69405d4f0d Let Deluge Handle Certain Downloads
- Use Deluge's web.download_torrent_from_url for specific sites
2016-03-01 14:54:29 +02:00
Noam
aff82e4755 Always Authenticate When Adding Torrents
- Avoid expired session cookies, just authenticate always
2016-03-01 13:16:33 +02:00
Noam
a8476e89f4 Log User-Agent Switch 2016-03-01 12:17:13 +02:00
Noam
3ac15d880f Scrub Local Windows User Path
- Scrub Windows user path from logs
2016-03-01 10:40:22 +02:00
Noam
8ead17e25e Try Different User-Agent for Specific Sites
- DLing not working for some users, possibly because of the site - maybe
a different UA will make a difference
- Make links lowercase before testing them for content
2016-03-01 10:15:36 +02:00
Noam
9e943a9681 Handle ConnectionError Properly
- except requests.ConnectionError...
2016-02-29 16:26:34 +02:00
Noam
b89dcfde65 More Scrubbing and Logging and Auto-Switch to HTTPS
- If Deluge is set to use HTTPS but there is no certificate configured
in HP, use HTTPS without verifying the certificate - connection will
still be encrypted but the certificate won't be validated - this will
show up as an ERROR in the logs
- Scrubbing session cookies
2016-02-29 13:45:30 +02:00
Noam
c166e36c4e Log Scrubber
- Attempt to remove sensitive information from logs
2016-02-29 11:54:35 +02:00
Noam
2c9c4d32db Another Fix For Encoding Issues
- Apparently some torrents are already proper UTF8 so we don't need to
encode them...
2016-02-28 22:48:37 +02:00
Noam
06ae4e97a0 Handle UnicodeDecodeError
- Attempt at handling encoding errors with specific torrent files
2016-02-28 16:47:17 +02:00
Noam
e2097fdb31 Expanded SSL Description 2016-02-28 13:42:34 +02:00
Noam
ef08a50673 Deluge SSL and More Logging
- Added option to use Deluge WebUI SSL using certificate file path
- Added logging in order to understand other bugs
2016-02-28 12:37:44 +02:00
Andrzej Ciarkowski
97e405ee8c metadata.py: Use arbitrary variables from existing tags or database in renamer.
This commit adds the possiblity to use variables from tags already present in
the downloaded media files in file, folder and album art renaming routines. The
variable names translate directly to MediaFile field names, so it is now
possible to use variables like $mb_albumid, $genre, $bitrate, $samplerate, etc.
The full list can be read from MediaFile.readable_fields().
2016-02-27 18:34:05 +01:00
Andrzej Ciarkowski
55eed7c378 pathrender: Add unit tests module for pathrender.py 2016-02-27 17:09:29 +01:00
Noam
85f5dcf2cb Merge remote-tracking branch 'refs/remotes/rembo10/develop' into develop 2016-02-27 12:59:26 +02:00
satreix
a4c9990df1 pep: fix e262 2016-02-26 19:33:30 +01:00
satreix
72b764cc51 pep: fix e502 2016-02-26 19:25:21 +01:00
Andrzej Ciarkowski
7e9bd432ce postprocessor.py: Safeguard against lack or ReleaseDate in metadata 2016-02-26 17:48:55 +01:00
rembo10
4b80e2b39b v0.5.13 v0.5.13 2016-02-25 19:44:11 +00:00
rembo10
0ac947099c Updated changelog for v0.5.13 2016-02-25 19:24:19 +00:00
rembo10
37a086d58d Possible fix for #2530 & #2526 2016-02-25 17:54:25 +00:00