Bloodred 11 Posted June 27, 2016 Share 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! Link to comment Share on other sites More sharing options...
ebr 14918 Posted June 27, 2016 Share Posted June 27, 2016 It is consistent as long as you are talking about playback time and not file size in bytes. Link to comment Share on other sites More sharing options...
Bloodred 11 Posted June 27, 2016 Author Share Posted June 27, 2016 Yes, it's the playback time I'm after and not file size. Thanks! Link to comment Share on other sites More sharing options...
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