Adding *only* a particular metadata field (runtime)
#1
Hi,

I have an odd movie that is scrapped correctly (https://www.themoviedb.org/movie/343864-...uage=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.
Reply
#2
(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)
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki) || Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
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>
Reply



Logout Mark Read Team Forum Stats Members Help
Adding *only* a particular metadata field (runtime)0
This forum uses Lukasz Tkacz MyBB addons.