Kodi import different languages - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Kodi import different languages (/showthread.php?tid=357627) |
Kodi import different languages - NathanDrake - 2020-10-10 Hi everyone, I list all my movies with their original title except for a bunch of movies that have a "particular" original title (like japanese or chinese, in ideograms). I rename these movies with their english title. But when I export all movies (single file) and then import them to a new device, these movies have their original title in ideograms. I would like, when I import to a new device, to keep the original title of movies except for those I renamed. I mean I would like to have the EXACT same library that I exported. Is there a way to do that? Maybe I could do this using an .nfo file? Thank you very much for the help! RE: Kodi import different languages - Klojum - 2020-10-10 (2020-10-10, 19:32)NathanDrake Wrote: I mean I would like to have the EXACT same library that I exported. Kodi does export both titles, the original and the content-setting language version, in the nfo files of movies. The export nfo file will contain the edited movie title, so re-importing the movie should not be a problem. Example: Code: <movie> RE: Kodi import different languages - NathanDrake - 2020-10-10 (2020-10-10, 20:34)Klojum Wrote:Yes exactly. The problem is if, for example, I have a library like this:(2020-10-10, 19:32)NathanDrake Wrote: I mean I would like to have the EXACT same library that I exported. <movie> <title>Ip Man</title> <originaltitle>葉問</originaltitle> ...OTHER TAGS... </movie> <movie> <title>Dr. No</title> <originaltitle>Dr. No</originaltitle> ...OTHER TAGS... </movie> ...OTHER MOVIES... When I import this XML and set the use of original title the second one will be ok but the first one will have the ideograms. I would like to impose, only for the first movie, to use the title and not the original title. RE: Kodi import different languages - Klojum - 2020-10-10 In total there are 3 movie name fields in the Kodi database: c00 - Movie title c10 - Edited title c16 - Original title Maybe all 3 need to be exported to the nfo file, so all of them can be imported again. You could create a Github Bug tracker ticket as a feature request for Kodi Matrix v19. RE: Kodi import different languages - NathanDrake - 2020-10-10 (2020-10-10, 22:19)Klojum Wrote: In total there are 3 movie name fields in the Kodi database:I'm sorry, I'm not sure if I understood correctly. You're saying that there are three movie name fields but when I export my library I only see two fields (title and originaltitle, I don't see edited title). You're suggesting me to create a ticket on the github Bug tracker to fix this kind of behavior and correctly import movies? If this is correct can you link the github to me? Thank you RE: Kodi import different languages - Klojum - 2020-10-10 The github link says "Bug Tracker" at the top of every forum page. ;-) RE: Kodi import different languages - Karellen - 2020-10-10 @NathanDrake Please do not add a Feature Request ticket to Github. It will be closed. Feature Requests are made on the forum here... https://forum.kodi.tv/forumdisplay.php?fid=9 edited title correctly called SortTitle won't be visible in the nfo file if you have not added a SortTitle. Sort Titles are used mainly in Movie Sets where you want to get a certain order in your listing of the movies in the sets and can be done via Context Menu>Manage>Edit Sort Title. The easiest solution for you is to swap the values in the "title" and "original title" tags. eg... and <originaltitle>葉問</originaltitle> become < title>葉問</title> and <originaltitle>Ip Man</originaltitle> Or if you know your way around SQL databases, you can swap the entries directly. RE: Kodi import different languages - NathanDrake - 2020-10-11 (2020-10-10, 23:38)Karellen Wrote: @NathanDrakeOk but in this way I have to edit the xml every time I export the library. It will take a lot of time every time. It's not very easy to manage.. Anyway thank you! So I do not open a Bug tracker ticket? RE: Kodi import different languages - Karellen - 2020-10-11 (2020-10-10, 19:32)NathanDrake Wrote: I list all my movies with their original title except for a bunch of moviesDoes this means you have enabled the setting "Keep Original Title" in the scraper settings? (2020-10-10, 19:32)NathanDrake Wrote: But when I export all movies (single file) and then import them to a new device, these movies have their original title in ideograms.I could not replicate this. I changed the title, exported to single file, then imported the single file and it still had the English Title. Even checking the exported xml file shows the English name for the title. How are you editing the title? Another method is to add these movies to a new Source. Then set this source to not use the setting "Keep Original Title" RE: Kodi import different languages - NathanDrake - 2020-10-11 (2020-10-11, 02:24)Karellen Wrote:Yes I have the "Keep Original Title" set in the scraper settings.(2020-10-10, 19:32)NathanDrake Wrote: I list all my movies with their original title except for a bunch of moviesDoes this means you have enabled the setting "Keep Original Title" in the scraper settings? Maybe that's because when you import you do not set the "Keep Original Title". What happens to me is: 1) Export in single file 2) Import in a new device and set "Keep Original Title" 3) All movies have their original title so also japanese/chinese movies have their original title in ideograms Maybe when you import you do not set the "Keep Original Title". Otherwise it's impossible. In your XML export should be the title and originaltitle tag. The title tag I suppose is the one you edited. RE: Kodi import different languages - NathanDrake - 2020-10-11 Ok I just solved the problem. Kodi allows the use of "Combination nfo": https://kodi.wiki/view/NFO_files#Combination_nfo In this kind of nfo file you can "override data from the scraper site such as the title, runtime, movieset etc. It will scan the metadata located between the <movie></movie> XML tags and the omitted data will be scraped at the provided URL". So it is sufficient to add an nfo file inside the directory of the movie. Example: Code: <movie> This way it will always ignore the original title from the scraper and it will set the title you write in the nfo. Thank you everyone! |