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

Update import and add rate limiting, fix csv writing for Windows #39

Merged
merged 2 commits into from
Apr 28, 2021

Conversation

andrewchenk
Copy link
Contributor

@andrewchenk andrewchenk commented Apr 22, 2021

Import for episodes and movies both weren't working well for me before with -w option (watched_at). I think that functionality is now fixed. To help with this, the import episodes now uses the episode object format, referenced from here instead of show object format. Tested with both movie and episode import and export.

Every format except for imbd did not work before when importing due to trying to parse the header line of the csv, now they work.

Also added a simple fix to ensure that 429 errors aren't being thrown due to rate limiting (mentioned in #36). And Windows now shouldn't write csv files with extra newlines.

While already mentioned in #25, I think that trakt should be set to the default format for import because there are movies on trakt without imdb ids. I didn't change this however.

@xbgmsharp xbgmsharp merged commit aab06e5 into xbgmsharp:master Apr 28, 2021
@xbgmsharp
Copy link
Owner

Thanks

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

Successfully merging this pull request may close these issues.

2 participants