#So you feel like posting a bug, sending me a pull request or just telling me how awesome I am. No problem!
## Got a issue/feature request or submitting a pull request?
##Just make sure you think of the following things:
Make sure you think of the following things:
* Search through the existing (and closed) issues first. See if you can get your answer there.
## Issue
* Search through the existing (and closed) issues first, see if you can get your answer there.
* Double check the result manually, because it could be an external issue.
* Post logs! Without seeing what is going on, I can't reproduce the error.
* What is the movie + quality you are searching for.
* What are you settings for the specific problem.
* What providers are you using. (While your logs include these, scanning through hundred of lines of log isn't my hobby).
* Give me a short step by step of how to reproduce.
* Also check the logs before submitting, obvious errors like permission or http errors are often not related to CP.
* What is the movie + quality you are searching for?
* What are you're settings for the specific problem?
* What providers are you using? (While you're logs include these, scanning through hundred of lines of log isn't our hobby)
* Post the logs from config directory, please do not copy paste the UI. Use pastebin to store these logs!
* Give a short step by step of how to reproduce the error.
* What hardware / OS are you using and what are the limits? NAS can be slow and maybe have a different python installed then when you use CP on OSX or Windows for example.
* I will mark issues with the "can't reproduce" tag. Don't go asking me "why closed" if it clearly says the issue in the tag ;)
* I will mark issues with the "can't reproduce" tag. Don't go asking "why closed" if it clearly says the issue in the tag ;)
* If you're running on a NAS (QNAP, Austor etc..) with pre-made packages, make sure these are setup to use our source repo (RuudBurger/CouchPotatoServer) and nothing else!!
**If I don't get enough info, the chance of the issue getting closed is a lot bigger ;)**
## Pull Request
* Make sure you're pull request is made for develop branch (or relevant feature branch)
* Have you tested your PR? If not, why?
* Are there any limitations of your PR we should know of?
* Make sure to keep you're PR up-to-date with the branch you're trying to push into.
**If we don't get enough info, the chance of the issue getting closed is a lot bigger ;)**
'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 "&"')
'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,
@ -122,13 +122,13 @@ config = [{
'advanced':True,
'name':'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,
'name':'foldersep',
'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.'),
'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.'),
'desc':'For the renamer to check for new files to rename in a folder',
'params':{
'async':{'desc':'Optional: Set to 1 if you dont want to fire the renamer.scan asynchronous.'},
'movie_folder':{'desc':'Optional: The folder of the movie to scan. Keep empty for default renamer folder.'},
'files':{'desc':'Optional: Provide the release files if more releases are in the same movie_folder, delimited with a \'|\'. Note that no dedicated release folder is expected for releases with one file.'},
'media_folder':{'desc':'Optional: The folder of the media to scan. Keep empty for default renamer folder.'},
'files':{'desc':'Optional: Provide the release files if more releases are in the same media_folder, delimited with a \'|\'. Note that no dedicated release folder is expected for releases with one file.'},
'base_folder':{'desc':'Optional: The folder to find releases in. Leave empty for default folder.'},
'downloader':{'desc':'Optional: The downloader the release has been downloaded with. \'download_id\' is required with this option.'},
'download_id':{'desc':'Optional: The nzb/torrent ID of the release in movie_folder. \'downloader\' is required with this option.'},
'download_id':{'desc':'Optional: The nzb/torrent ID of the release in media_folder. \'downloader\' is required with this option.'},
'status':{'desc':'Optional: The status of the release: \'completed\' (default) or \'seeding\''},
},
})
@ -64,25 +65,32 @@ class Renamer(Plugin):
defscanView(self,**kwargs):
async=tryInt(kwargs.get('async',0))
movie_folder=sp(kwargs.get('movie_folder'))
base_folder=kwargs.get('base_folder')
media_folder=sp(kwargs.get('media_folder'))
# Backwards compatibility, to be removed after a few versions :)
log.debug('Download status functionality is not implemented for downloader (%s) of release %s.',(rel_dict['info'].get('download_downloader','unknown'),rel_dict['info']['name']))
'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>'),