Getting the duration of elapsed time/track duration in IOS apps

Hi,

I am in the process of automating a music player app on IOS. I encountered a problem wherein, I cannot get the duration of the track or elapsed time. If I use the .get_attribute(‘value’), I get the name of that attribute since the label, name and value are all same (Its trackDurationLabel). Is there a way to get this in appium using python for IOS apps?

Thanks