Format Expression for type of file (episode or movie)
Posted: 09 May 2018, 18:35
This sounds pretty simple but i didn't find any format expression for whether it's a movie or an episode.
To be more specific, i would like to customize my pushover notification in german language via my own curl call. It's already working, but the output should be a whole sentense.
For example:
Similar in english:
Maybe this kind of problem solves other needs too.
To be more specific, i would like to customize my pushover notification in german language via my own curl call. It's already working, but the output should be a whole sentense.
For example:
Code: Select all
--form-string "message={objectfile = movie ? 'Der Film ' : objectfile = episode ? 'Die Folge ' : ''}{fn} wurde der Bibliothek hinzugefügt."
Code: Select all
--form-string "message={objectfile = movie ? 'The movie ' : objectfile = episode ? 'The episode ' : ''}{fn} has been added to the media-library."