Merge branch 'develop' of github.com:RuudBurger/CouchPotatoServer into develop
This commit is contained in:
commit
c72cca4ea2
4 files changed
+8
-8
No files matched your search
@@ -94,9 +94,9 @@ class uTorrent(Downloader):
|
|||||||
|
|
||||||
# Send request to uTorrent
|
# Send request to uTorrent
|
||||||
if data.get('protocol') == 'torrent_magnet':
|
if data.get('protocol') == 'torrent_magnet':
|
||||||
self.utorrent_api.add_torrent_uri(torrent_filename, data.get('url'), directory)
|
self.utorrent_api.add_torrent_uri(torrent_filename, data.get('url'))
|
||||||
else:
|
else:
|
||||||
self.utorrent_api.add_torrent_file(torrent_filename, filedata, directory)
|
self.utorrent_api.add_torrent_file(torrent_filename, filedata)
|
||||||
|
|
||||||
# Change settings of added torrent
|
# Change settings of added torrent
|
||||||
self.utorrent_api.set_torrent(torrent_hash, torrent_params)
|
self.utorrent_api.set_torrent(torrent_hash, torrent_params)
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ config = [{
|
|||||||
'label': 'Required Genres',
|
'label': 'Required Genres',
|
||||||
'default': '',
|
'default': '',
|
||||||
'placeholder': 'Example: Action, Crime & Drama',
|
'placeholder': 'Example: Action, Crime & Drama',
|
||||||
'description': 'Ignore movies that don\'t contain at least one set of genres. Sets are separated by "," and each word within a set must be separated with "&"'
|
'description': ('Ignore movies that don\'t contain at least one set of genres.', 'Sets are separated by "," and each word within a set must be separated with "&"')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'name': 'ignored_genres',
|
'name': 'ignored_genres',
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ config = [{
|
|||||||
'default': 1,
|
'default': 1,
|
||||||
'type': 'int',
|
'type': 'int',
|
||||||
'unit': 'min(s)',
|
'unit': 'min(s)',
|
||||||
'description': 'Detect movie status every X minutes. Will start the renamer if movie is <strong>completed</strong> or handle <strong>failed</strong> download if these options are enabled',
|
'description': ('Detect movie status every X minutes.', 'Will start the renamer if movie is <strong>completed</strong> or handle <strong>failed</strong> download if these options are enabled'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'advanced': True,
|
'advanced': True,
|
||||||
@@ -122,13 +122,13 @@ config = [{
|
|||||||
'advanced': True,
|
'advanced': True,
|
||||||
'name': 'separator',
|
'name': 'separator',
|
||||||
'label': 'File-Separator',
|
'label': 'File-Separator',
|
||||||
'description': 'Replace all the spaces with a character. Example: ".", "-" (without quotes). Leave empty to use spaces.',
|
'description': ('Replace all the spaces with a character.', 'Example: ".", "-" (without quotes). Leave empty to use spaces.'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'advanced': True,
|
'advanced': True,
|
||||||
'name': 'foldersep',
|
'name': 'foldersep',
|
||||||
'label': 'Folder-Separator',
|
'label': 'Folder-Separator',
|
||||||
'description': 'Replace all the spaces with a character. Example: ".", "-" (without quotes). Leave empty to use spaces.',
|
'description': ('Replace all the spaces with a character.', 'Example: ".", "-" (without quotes). Leave empty to use spaces.'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'name': 'file_action',
|
'name': 'file_action',
|
||||||
@@ -136,7 +136,7 @@ config = [{
|
|||||||
'default': 'link',
|
'default': 'link',
|
||||||
'type': 'dropdown',
|
'type': 'dropdown',
|
||||||
'values': [('Link', 'link'), ('Copy', 'copy'), ('Move', 'move')],
|
'values': [('Link', 'link'), ('Copy', 'copy'), ('Move', 'move')],
|
||||||
'description': '<strong>Link</strong> or <strong>Copy</strong> after downloading completed (and allow for seeding), or <strong>Move</strong> after seeding completed. Link first tries <a href="http://en.wikipedia.org/wiki/Hard_link">hard link</a>, then <a href="http://en.wikipedia.org/wiki/Sym_link">sym link</a> and falls back to Copy.',
|
'description': ('<strong>Link</strong>, <strong>Copy</strong> or <strong>Move</strong> after download completed.', 'Link first tries <a href="http://en.wikipedia.org/wiki/Hard_link">hard link</a>, then <a href="http://en.wikipedia.org/wiki/Sym_link">sym link</a> and falls back to Copy. It is perfered to use link when downloading torrents as it will save you space, while still beeing able to seed.'),
|
||||||
'advanced': True,
|
'advanced': True,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ config = [{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'name': 'languages',
|
'name': 'languages',
|
||||||
'description': 'Comma separated, 2 letter country code. Example: en, nl. See the codes at <a href="http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">on Wikipedia</a>',
|
'description': ('Comma separated, 2 letter country code.', 'Example: en, nl. See the codes at <a href="http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes">on Wikipedia</a>'),
|
||||||
},
|
},
|
||||||
# {
|
# {
|
||||||
# 'name': 'automatic',
|
# 'name': 'automatic',
|
||||||
|
|||||||
Reference in new issue
Block a user