Kodi Community Forum

Full Version: How export videofile details from TVshows?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use that list for movies:

Code:
${foreach movies movie}
   ${foreach movie.videoFiles vf}
      "${vf.path}\\${vf.filename}";"${vf.videoCodec}";"${vf.videoWidth}";"${vf.videoHeight}"
   ${end}
${end}

I would like to get that list exported for TVshows as well. How dod I do that? That did not work:

Code:
${foreach tvShows show}
   ${foreach show.videoFiles vf}
      "${vf.path}\\${vf.filename}";"${vf.videoCodec}";"${vf.videoWidth}";"${vf.videoHeight}"
   ${end}
${end}

Thanks in advance.
there are two problems here:

a) a video file is not associated to a show, but to an episode inside the show (so you need another loop in the show to get the episodes)
b) getVideoFiles is not implemented in the episode entity ;D (added that for the next version)
Ah, I see. Will wait.

BTW, there's need to update the Wiki page with the possible export fields. "videoFiles" is missing for example.

Thanks a lot.