Skip to content

Commit

Permalink
Increased version number
Browse files Browse the repository at this point in the history
  • Loading branch information
desimaniac committed Jun 1, 2019
1 parent 4b30d72 commit a5066bc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -950,10 +950,10 @@ Options:
Commands:
movie Add a single movie to Radarr.
movies Add multiple movies to Radarr.
run Run in automatic mode.
run Run Traktarr in automatic mode.
show Add a single show to Sonarr.
shows Add multiple shows to Sonarr.
trakt_authentication Authenticate traktarr.
trakt_authentication Authenticate Traktarr.
```

### Movie (Single Movie)
Expand Down
14 changes: 7 additions & 7 deletions traktarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Click
@click.group(help='Add new shows & movies to Sonarr/Radarr from Trakt.')
@click.version_option('1.2.3', prog_name='traktarr')
@click.version_option('1.2.4', prog_name='Traktarr')
@click.option(
'--config',
envvar='TRAKTARR_CONFIG',
Expand All @@ -45,7 +45,7 @@ def app(config, logfile):

# Load logger
from misc.log import logger
log = logger.get_logger('traktarr')
log = logger.get_logger('Traktarr')

# Load notifications
from notifications import Notifications
Expand All @@ -59,13 +59,13 @@ def app(config, logfile):
# Trakt OAuth
############################################################

@app.command(help='Authenticate traktarr.')
@app.command(help='Authenticate Traktarr.')
def trakt_authentication():
from media.trakt import Trakt
trakt = Trakt(cfg)

if trakt.oauth_authentication():
log.info("Authentication information saved; please restart the application")
log.info("Authentication information saved. Please restart the application.")
exit()


Expand Down Expand Up @@ -185,7 +185,7 @@ def show(show_id, folder=None, no_search=False):
@click.option('--no-search', is_flag=True, help='Disable search when adding shows to Sonarr.')
@click.option('--notifications', is_flag=True, help='Send notifications.')
@click.option('--authenticate-user',
help='Specify which user to authenticate with to retrieve Trakt lists. '
help='Specify which user to authenticate with to retrieve Trakt lists. '
'Default: first user in the config')
@click.option('--ignore-blacklist', is_flag=True, help='Ignores the blacklist when running the command.')
@click.option('--remove-rejected-from-recommended', is_flag=True,
Expand Down Expand Up @@ -807,7 +807,7 @@ def automatic_movies(add_delay=2.5, sort='votes', no_search=False, notifications
return


@app.command(help='Run in automatic mode.')
@app.command(help='Run Traktarr in automatic mode.')
@click.option('--add-delay', '-d', default=2.5, help='Seconds between each add request to Sonarr / Radarr.',
show_default=True)
@click.option('--sort', '-s', default='votes', type=click.Choice(['votes', 'rating', 'release']),
Expand Down Expand Up @@ -896,7 +896,7 @@ def exit_handler(signum, frame):
print("")

f = Figlet(font='graffiti')
print(f.renderText('traktarr'))
print(f.renderText('Traktarr'))

print("""
#########################################################################
Expand Down

0 comments on commit a5066bc

Please sign in to comment.