Set name of Show to variable
Posted: 25 Mar 2014, 01:53
How can I store the renamed episode name (ie Archer S05E08), or any file that gets renamed as a bash variable? I'm trying to setup a notification system to setoff growl notifications on other computers, as well as make pushover notifications look nicer.
Right now I have it working with the $TR_TORRENT_NAME, but thats kind of ugly seeing the full path of all torrents, and notifications usually truncate them because of the length.
Ideally in my amc script, as well as in other custom scripts I'd be able to set it using a groovy tag (ie var={n.replaceTrailingBrackets()}) or just set it equal to the output from filebot CLI.
Anyway to do this?
Thanks.
Right now I have it working with the $TR_TORRENT_NAME, but thats kind of ugly seeing the full path of all torrents, and notifications usually truncate them because of the length.
Ideally in my amc script, as well as in other custom scripts I'd be able to set it using a groovy tag (ie var={n.replaceTrailingBrackets()}) or just set it equal to the output from filebot CLI.
Anyway to do this?
Thanks.