2019-07-18, 16:28
Even a simple line like the following produces a crash because of director not defined.
Here's the test export:
${foreach movies movie}"${movie.title}";"${movie.originalTitle}";"${movie.year}";"${movie.director}";${end}
Here's the error:
Error while parsing 'movie.director' at location (1:85)
Here are a little more complex templates that worked with v2 but don't work with the latest v3:
Videos (template.conf):
Videos (videos.jmte):
Series (template.conf):
Series (series.jmte):
Here's the test export:
${foreach movies movie}"${movie.title}";"${movie.originalTitle}";"${movie.year}";"${movie.director}";${end}
Here's the error:
Error while parsing 'movie.director' at location (1:85)
Here are a little more complex templates that worked with v2 but don't work with the latest v3:
Videos (template.conf):
name=Videos
type=movie
list=videos.jmte
extension=csv
description=Videos complete
Videos (videos.jmte):
${foreach movies movie}"${movie.title}";"${movie.originalTitle}";"${movie.year}";"${movie.director}";"${foreach movie.actors actor}${if index_actor=1}${actor.name},${end}${if index_actor=2}${actor.name},${end}${if index_actor=3}${actor.name},${end}${end}";"${movie.imdbId}";"${movie.tmdbId}";"${movie.top250}";"${movie.watched}";"${movie.videoIn3D}";"${movie.dateAddedAsString}";"${foreach movie.genres genre ,}${genre}${end}";"${foreach movie.tags tag ,}${tag}${end}";${foreach movie.videoFiles vf}"${vf.path}";"${vf.filename}";"${vf.filesize}";"${vf.durationHHMMSS}";"${vf.videoCodec}";"${vf.videoWidth}";"${vf.videoHeight}";"${vf.biteRateInKbps}";${foreach vf.audioStreams as}"${as.codec}";"${as.channels}";"${as.language}";"${as.bitrateInKbps}";${end}${end}
${end}
Series (template.conf):
name=Series
type=tv_show
list=series.jmte
extension=csv
description=Series complete
Series (series.jmte):
${foreach tvShows show}${foreach show.episodes episode}"${show.title}";"${show.year}";"${foreach episode.actors actor}${if index_actor=1}${actor.name},${end}${if index_actor=2}${actor.name},${end}${if index_actor=3}${actor.name},${end}${end}";"${show.dateAddedAsString}";"${foreach show.genres genre ,}${genre}${end}";"${foreach show.tags tag ,}${tag}${end}";"${show.imdbId}";"${show.tvdbId}";"${show.watched}";"${episode.season}";"${episode.episode}";"${episode.title}";"${episode.year}";"${foreach episode.actors actor}${if index_actor=1}${actor.name},${end}${if index_actor=2}${actor.name},${end}${if index_actor=3}${actor.name},${end}${end}";"${foreach episode.tags tag ,}${tag}${end}";"${episode.watched}";${foreach episode.videoFiles vf}"${vf.path}";"${vf.filename}";"${vf.filesize}";"${vf.durationHHMMSS}";"${vf.videoCodec}";"${vf.videoWidth}";"${vf.videoHeight}";"${vf.biteRateInKbps}";${foreach vf.audioStreams as}"${as.codec}";"${as.channels}";"${as.language}";"${as.bitrateInKbps}";${end}${end}
${end}${end}