Get duration file #3489
livesbetter
started this conversation in
User Support
Replies: 3 comments 5 replies
-
Hi @livesbetter, To get the value of the nullable value, you have to use track_length = null.get(request.duration(new.metadata["filename"])) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello @vitoyucepi Thanks for help, but i have problem cause i´m using in custom fade |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Liquidsoap 2.2.1
Ubuntu 22
I´m getting track duration and returns:
Line:
track_length = int_of_float(request.duration(new.metadata.filename))
Beta Was this translation helpful? Give feedback.
All reactions