(2020-08-19, 00:58)Klojum Wrote: Stream details of a video are only available when the video is being displayed in the movie or tv episode listings, or displayed in one of the Recently Added lists. Scraping alone is not enough.
Came here looking to see if there was a way to force this for all files, as I've noticed the same.
Codec and resolution (for TV shows, at least) only populate when I view the episodes via the "Season #" tab or (to scan an entire series at once) the "All Seasons" tab — not only can I see it populating, I can here Kodi reading from my NAS while it scans the files.
I've got 361 series newly scraped to go through. Any way to automate this process? Or do I need to open all 361 series and view the "All Seasons" tab of each (noting shows with only one season will require one fewer step).
Might this scan also happen when I export the library to local .nfos? Just tested, and answer is "nope".
I didn't think to test before I scraped some 12,000 or so episodes. It took a while, so I'm hoping an answer here might save me some time.
To be clear, I'm looking to add the data from the <fileinfo> tag — which only seems to be populated if I view each series individually. It's omitted from saved .nfo files if I leave out that step.
<fileinfo>
<streamdetails>
<video>
<codec>hevc</codec>
<aspect>2.388060</aspect>
<width>3840</width>
<height>1608</height>
<durationinseconds>3554</durationinseconds>
<stereomode></stereomode>
</video>
<audio>
<codec>eac3</codec>
<language>eng</language>
<channels>6</channels>
</audio>
<subtitle>
<language>eng</language>
</subtitle>
<subtitle>
<language>eng</language>
</subtitle>
</streamdetails>
</fileinfo>