Video Library Tag - How to import them from an NFO file? - 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: Video Library Tag - How to import them from an NFO file? (/showthread.php?tid=361113) |
Video Library Tag - How to import them from an NFO file? - piscator74 - 2021-03-05 I have plenty of movies and am looking for a quick way to search them by the spoken language. I figured I could use the Video Library Tags for that. So I created an NFO file matching the movie name:
Next, I scan the files to the video library again. However, I do not see any tags appearing. What am I missing here? RE: Video Library Tag - How to import them from an NFO file? - Karellen - 2021-03-05 (2021-03-05, 01:36)piscator74 Wrote: So I created an NFO file matching the movie name:Ooh, no don't do that. If that is your entire nfo file, then you will ruin your library. If your video files have been correctly ripped, then the language should already be embedded in the file, and Kodi would have read that into the database. Try creating a Smart Playlist and filtering the language... https://kodi.wiki/view/Smart_playlists/GUI_Method The only trick here is making sure you have the correct abbreviation for the language code. - eng, jpn, kor, ita, swe etc etc If you are comfortable with SQL, open the MyVideos database and check strAudioLlanguage column in the streamdetails table. RE: Video Library Tag - How to import them from an NFO file? - scott967 - 2021-03-05 (2021-03-05, 01:36)piscator74 Wrote: I have plenty of movies and am looking for a quick way to search them by the spoken language. I figured I could use the Video Library Tags for that.You need: The audio tracks should have language code embedded (at least mp4 and mkv, not sure about folder or iso rips) as Karellen posted so you could filter on that rather than tag. scott s. . RE: Video Library Tag - How to import them from an NFO file? - piscator74 - 2021-03-06 (2021-03-05, 02:25)Karellen Wrote: Try creating a Smart Playlist and filtering the language... https://kodi.wiki/view/Smart_playlists/GUI_MethodThanks for the suggestion. I never used smart playlists before. Of course, my library is not that clean that strAudioLanguage works reliable enough for language filtering. But I see you can also create smart playlists based on parts of a filename. That should work for me as that was my original plan. Out of curiosity, what does strVideoLanguage in streamdetails refer to? @scott967. I tried a <movie> section around the <tag> section, but that does not work either. No tags are read into the library. Thanks for the pointers! RE: Video Library Tag - How to import them from an NFO file? - Karellen - 2021-03-06 (2021-03-06, 02:14)piscator74 Wrote: what does strVideoLanguage in streamdetails refer to?You are able to set a language for a video stream in mkv files (and probably other files also), but no idea why you would want to. Its the audio that is language specific not video. Best to just ignore it. (2021-03-06, 02:14)piscator74 Wrote: I tried a <movie> section around the <tag> section, but that does not work either. No tags are read into the library.Nfo files are not used to add extra info. They are a complete replacement. If you get that to work, it is not going to simply add the tag to what is already in the library, it will wipe the existing library entry and add a tag. You need all the existing information in the nfo file in addition to the tag. Anyway you won't get that to work as a tag cannot create a library entry on its own. RE: Video Library Tag - How to import them from an NFO file? - piscator74 - 2021-03-06 (2021-03-06, 02:28)Karellen Wrote: Nfo files are not used to add extra info. They are a complete replacement. If you get that to work, it is not going to simply add the tag to what is already in the library, it will wipe the existing library entry and add a tag. You need all the existing information in the nfo file in addition to the tag. Anyway you won't get that to work as a tag cannot create a library entry on its own.Thanks for clarification. That's not the way I want to go, so I'll use the smart playlists. |