(2021-01-28, 15:14)tars Wrote: Glad to hear it worked.
It's my fault that I wrongly assumed you're on the latest version and familiar to all the new features and thus failed to provide detailed instructions.
Looks like a lot of miscommunication was going on between us on this thread. Hopefully it'll work much better next time.
Clearly a problem of communication. I was trying to apply your code but without v4.1 and remux.csv file, I was all lost. I didn't understood your code at all until you provide that link to the blog. Anyway, I really really appreciate your help and your patience.
Just in case it can help to other people, I just have addapted the code to my needs, which are the following:
- If directory has Remux in the path, it will apply Remux code... if not...
- If filename has Remux in the name, it will apply Remux code... if not...
- It will apply No Remux code
Besides, my code is the following:
Remux: Tittle (year) [Resolution Remux Video Codec Audio Codec] [ID TMDB] --> Aladdín (2019) [1080p Remux x264 DTS] [ID 420817].mkv
No Remux: Tittle (year) [Resolution Video Codec Audio Codec] [Dual + Subs] (if correspond) [ID TMDB] --> Alcanzando tu sueño (2019) [1080p x264 AC3] [Dual + Subs] [ID 440918].mkv
Change:
h264 by x264
h265 by x265
2160p by 4K
This is the code I will use from now on, withouth the need to change it manually depending of the source (Thanks again Tars).
${if movie.path = movie.path;replace(remux.csv)}${if movie.mainVideoFile.basename = movie.mainVideoFile.basename;replace(remux.csv)}${title} (${year}) [${movie.mediaInfoVideoFormat;replace(remux.csv)} ${movie.mediaInfoVideoCodec;replace(remux.csv)} ${movie.mediaInfoAudioCodec}] ${if movie.mediaInfoAudioCodecList.length = '1' } ${else} [Dual${if movie.mainVideoFile.subtitles} + Subs${end}] ${end}[ID ${movie.tmdbId}]${else}${title} (${year}) [${movie.mediaInfoVideoFormat;replace(remux.csv)} Remux ${movie.mediaInfoVideoCodec;replace(remux.csv)} ${movie.mediaInfoAudioCodec}] [ID ${movie.tmdbId}]${end}${else}${title} (${year}) [${movie.mediaInfoVideoFormat;replace(remux.csv)} Remux ${movie.mediaInfoVideoCodec;replace(remux.csv)} ${movie.mediaInfoAudioCodec}] [ID ${movie.tmdbId}]${end}