I'm simply trying to add the movie duration to my filenames using the {hours} expression. It's my understanding that it should be displayed as "1:42". Unfortunately i get "142" instead.
So my first question. Is 142 correct and it just requires further processing, or am I misreading the expression example
Code: Select all
hours duration in HH:mm 0:23
Code: Select all
filebot -script fn:amc --action move --conflict override -non-strict -r -no-xattr --def music=y --def clean=y "movieFormat=/mnt/nas/Movies/{n} ({y}) {genres} {hours}" Always\ Be\ My\ Maybe\ \(2019\)\ \[Romance\,\ Comedy\].mp4
Run script [fn:amc] at [Wed Sep 18 12:40:00 PDT 2019]
Parameter: music = y
Parameter: clean = y
Parameter: movieFormat = /mnt/nas/Movies/{n} ({y}) {genres} {hours}
Argument[0]: /home/me/Always Be My Maybe (2019) [Romance, Comedy].mp4
Input: /home/me/Always Be My Maybe (2019) [Romance, Comedy].mp4
Group: [Movie:Always Be My Maybe (2019)] => [Always Be My Maybe (2019) [Romance, Comedy].mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/home/me/Always Be My Maybe (2019) [Romance, Comedy].mp4]
Stripping invalid characters from new path: /mnt/nas/Movies/Always Be My Maybe (2019) [Romance, Comedy] 1:42
[MOVE] from [/home/Forrest/Always Be My Maybe (2019) [Romance, Comedy].mp4] to [/mnt/nas/Movies/Always Be My Maybe (2019) [Romance, Comedy] 142.mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ

Here is my system info
Code: Select all
filebot -script fn:sysinfo
FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 0.7.82
p7zip: p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)
unrar: UNRAR 5.30 beta 2 freeware
Chromaprint: fpcalc version 1.2.0
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/snap.filebot/gvfs]
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_191
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 6 GB Max Memory / 22 MB Used Memory
OS: Linux (amd64)
HW: Linux Loki 5.2.14-1-default #1 SMP Tue Sep 10 10:52:01 UTC 2019 (374b0ae) x86_64 x86_64 x86_64 GNU/Linux
DATA: /home/met/snap/filebot/24/data
Package: SNAP
License: FileBot License P9100343 (Valid-Until: 2020-08-30)
Done ヾ(@⌒ー⌒@)ノ