Release Version 2.4.6
#2
just another example, where the optional replacement comes in handy Smile

eg if you want to replace like this:
<title> (<year>) - <imdb_id> - <videoformat>

Usually you would do this with
$T ($Y) - $I - $F

But what happens, when some parameter are empty?
Would result in weird names like
<title> () - - <videoformat>

This is where the optional replacement kicks in Smile
Just use the curly brackets and a single replacement char in it.
$T{ ($Y)}{ - $I}{ - $F}
Note the space and separator chars within!
IF the $x value is empty the complete {...} tag will be empty.
But if the $x is filled, it just exchanges the variable, keeping all the extra stuff in there Smile

hth

hth
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image


Messages In This Thread
Version 2.4.6 - by mlaggner - 2013-11-01, 20:50
RE: Version 2.4.6 - by myron - 2013-11-01, 23:13
Logout Mark Read Team Forum Stats Members Help
Version 2.4.60