Jump to content

Question about /Users/{UserId}/Items/{Id} RunTimeTicks field


Bloodred

Recommended Posts

Bloodred

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...