![]() |
Adding *only* a particular metadata field (runtime) - Printable Version Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Information Providers (scrapers) (https://forum.kodi.tv/forumdisplay.php?fid=147) +----- Forum: Movie Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=302) ----- Thread: Adding *only* a particular metadata field (runtime) (/showthread.php?tid=360003) |
Adding *only* a particular metadata field (runtime) - jalcaid001 - 2021-01-22 Hi, I have an odd movie that is scrapped correctly (https://www.themoviedb.org/movie/343864-las-aventuras-de-zipi-y-zape?language=en-US). However, the website does not show runtime. Is there a way to and somehow an .nfo file just to add <runtime> information (the rest of information from the API)? It doesn't seem to be working. RE: Adding *only* a particular metadata field (runtime) - Karellen - 2021-01-22 (2021-01-22, 03:37)jalcaid001 Wrote: However, the website does not show runtime.The runtime comes from the video file itself. Kodi will read the stream details as well as the runtime. But you can force a runtime in an nfo file using <runtime>117</runtime> where 117 = minutes NFO files (wiki) RE: Adding *only* a particular metadata field (runtime) - jalcaid001 - 2021-01-23 Ok.. I can see the movie gets associated the exact length of the video 1:36:20. However, when I sort Movies by duration (shortest duration first), that movie shows no time on the right column and it always comes first (next movie I have is just 8:00). Is this a bug?
IF I export the movie to an .nfo file, it generates full metadata, incuding "<runtime>96</runtime>". If I remove the movie from library and I scan it back, then there is no problem (it shows 1:36:20 still, and I can sort the movies by ruation). To scrap this movie, I need the .nfo file https://www.imdb.com/title/tt0082039/. How can I combine it with "<runtime>96</runtime>"? I tried the following examples, without success: --- https://www.imdb.com/title/tt0082039/ <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <movie> <runtime>96</runtime> </movie> ------- <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <movie> <runtime>96</runtime> <id>tt0082039</id> </movie> |