Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserList.add_items not working #78

Open
jasonlyle88 opened this issue Jun 21, 2017 · 3 comments
Open

UserList.add_items not working #78

jasonlyle88 opened this issue Jun 21, 2017 · 3 comments

Comments

@jasonlyle88
Copy link

jasonlyle88 commented Jun 21, 2017

Maybe I am just missing something, but I am attempting to add items to a UserList and can't get it to work. I am using the below code:

import trakt.core
from trakt import init
from trakt.users import UserList
from trakt.movies import Movie


trakt.core.AUTH_METHOD = trakt.core.OAUTH_AUTH
init('[USERNAME]', '[CLIENT_ID]', '[CLIENT_SECRET]')

ombiList = []
ombiList.append( Movie(title='Son of Batman', imdb_id='tt3139072') )

traktList = UserList.get('[LIST_NAME]', '[USERNAME]')
traktList.add_items(ombiList)

This runs without any issues... but when I check trakt, my list has not been updated. Am I doing something wrong or is there a bigger issue?

@piret28
Copy link

piret28 commented Jun 21, 2017

hi guys!!i dont know where to write...i download some days ago trakt and it doesnt open!!of course exodus doesnt authorize now trakt....thats why i try to work trakt without exodus involved...i spoke with support of trakt and they help me giving instructions...when i download it and try to open i couldnt...

@thechicacode
Copy link
Contributor

I encounter the same issue with UserList add_items

@glensc
Copy link
Contributor

glensc commented Jan 15, 2022

You need to pass imdb_id via ids property:

maybe that's the problem? since you have not reported any errors, this just a hunch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants