Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Release Version 2.4.6
#1
01.11.2013 - version 2.4.6
feature: new TV show renamer option: 01x01 format
feature: added a tag for optional tokens {}
fix: added -Djava.net.preferIPv4Stack=true to solve possible networking problems
fix: regression when choosing of local files
fix: reworked actor images (better import performance, jpg/png instead of tbn)
fix: removed http://www.imdb.de (isn't working anymore - http://www.imdb.com is taken all the time, including a force to the preferred scraping language)
fix: some graphical changes to the moviechooser

hint for the optional replacement:
{} = optional replacement
eg: {Year $Y} -> "Year 2013" if $Y is not empty
if $Y is empty (or no $x replacement inside) the complete tag is empty
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab
#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

Logout Mark Read Team Forum Stats Members Help
Version 2.4.60