Bloodred 12 Posted June 27, 2016 Posted June 27, 2016 Hello, I'm working on an application that needs to obtain some very basic information about files from Emby, among which is the file length. I'm calling the REST API at /Users/{UserId}/Items/{Id} and it seems that the length is represented by the RunTimeTicks field. After looking at a few files in my library it would seem that a "tick" in RunTimeTicks is 0.1ms, is this universally true? Does it hold for every file type supported by Emby, or does it change based on video frame rate, codec, container or some other such thing? Sorry if this is already covered, if the information is out there somewhere I've been unable to find it. Thanks!
ebr 16169 Posted June 27, 2016 Posted June 27, 2016 It is consistent as long as you are talking about playback time and not file size in bytes.
Bloodred 12 Posted June 27, 2016 Author Posted June 27, 2016 Yes, it's the playback time I'm after and not file size. Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now