Skip to content

Commit

Permalink
fix: resolves issue with naming of add_movies foldernames (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
marksie1988 authored Mar 7, 2021
1 parent 93465f8 commit 7d46609
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pyarr/radarr_api_v3.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
from datetime import datetime
from .request_api import RequestAPI
from os import path


class RadarrAPIv3(RequestAPI):
Expand Down Expand Up @@ -87,7 +88,7 @@ def construct_movie_json(

movie_json = {
"title": s_dict[0]["title"],
"path": rootDir + s_dict[0]["title"],
"rootFolderPath": rootDir,
"qualityProfileId": qualityProfileId,
"year": s_dict[0]["year"],
"tmdbId": s_dict[0]["tmdbId"],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyarr"
version = "1.0.1"
version = "1.0.2"
description = "A Sonarr and Radarr API Wrapper"
authors = ["Steven Marks <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 7d46609

Please sign in to comment.