You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
movies = radarr.add_movie(movie=lookup,
root_dir=root_dir,
quality_profile_id=quality_profiles[0]["id"],
monitored=False,
search_for_movie=False,
monitor="movieOnly",
minimum_availability="announced",
)
Solution
movies = radarr.add_movie(movie=lookup[0],
root_dir=root_dir,
quality_profile_id=quality_profiles[0]["id"],
monitored=False,
search_for_movie=False,
monitor="movieOnly",
minimum_availability="announced",
)
Steps To Reproduce
No response
Expected behaviour
Slice not needed to be defined
Pyarr Version
5.2.0
Python Version
3.11.4
Example Code
No response
Relevant log output
File "/home/maikel/Documents/python/.venv/lib/python3.11/site-packages/pyarr/radarr.py", line 111, in add_movie
movie["rootFolderPath"] = root_dir
~~~~~^^^^^^^^^^^^^^^^^^
TypeError: list indices must be integers or slices, not str
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behaviour
add_movies function throws an unexpected error
in relation with bug report: #163
Problematic code
Solution
Steps To Reproduce
No response
Expected behaviour
Slice not needed to be defined
Pyarr Version
5.2.0
Python Version
3.11.4
Example Code
No response
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: