View Single Post
Old 05-28-2022, 02:58 PM   #416
Vespero
Junior Member
Vespero began at the beginning.
 
Vespero's Avatar
 
Posts: 6
Karma: 10
Join Date: May 2022
Device: Kindle Paperwhite 5
Smile

Quote:
Originally Posted by chaley View Post
You can't use template syntax inside a GPM template.

This should do it. The spacing might be wrong.
Code:
program:
	if 
		'cbz' in approximate_formats() 
	then
		strcat('books/', $author_sort, '/', $series, '/', $title)
	else	
		strcat('books/', $author_sort, '/', $series, '/', $series, finish_formatting($series_index, '0>2s', ' - ', ' - '), $title)
	fi
Hey, thank you so much! That worked like a charm! And now that I have an idea of how it works, if I need to do tweaks in the future, I can!
Vespero is offline   Reply With Quote