-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Describe the bug
When trying to import a movie list from IMDb that was exported from a non-english account, the importer doesn't find any list items.
Setting the IMDb language to English, re-exporting the list and importing again solves the problem.
To Reproduce
Steps to reproduce the behavior:
- Log in to IMDb, change page language to German
- Export any movie list of yours
- Try to import it to Watcharr using the IMDb importer
Expected behavior
The import should work or there should be some documentation that mentions the requirement to export the lists using the English language.
Platform (please complete the following information):
- OS: Linux
- Browser (latest version): Brave (chrome)
- Watcharr Version: 2.0.2
Additional context
Looking at the code, the culprit seems to be this line: https://github.com/sbondCo/Watcharr/blob/565d90dbf042915730badfdc07287171f6e33f25/src/routes/(app)/import/process/%2Bpage.svelte#L150C13-L150C17
The Title Type
field in the .csv file actually is translated, in German it's "Film" instead of "Movie". This results in the importer failing to detect the type and skipping the item.
I suppose this might fail with other languages as well then and other fields might be affected too - I didn't test it with TV shows.
Adding some documentation or text to the import page is probably the more feasible fix.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status