2014-03-26, 20:14
Hello Community,
I'm looking for a way to get the duration of items that are loaded into a playlist. I have several songs loaded into the current playlist, and I want to be able to retrieve the duration of each item. The media items that I have do not have a "duration" entry in the meta data.
If I look in the "Now Playing" window in XBMC, the data is available. XBMC will display the duration of each item. However, the "Playlist.GetItems" method only returns the metadata in the file - it does not return the duration that XBMC clearly has. Is there any way I can access the actual duration of the song as discovered by XBMC? This is critical to my application.
Thanks
I'm looking for a way to get the duration of items that are loaded into a playlist. I have several songs loaded into the current playlist, and I want to be able to retrieve the duration of each item. The media items that I have do not have a "duration" entry in the meta data.
If I look in the "Now Playing" window in XBMC, the data is available. XBMC will display the duration of each item. However, the "Playlist.GetItems" method only returns the metadata in the file - it does not return the duration that XBMC clearly has. Is there any way I can access the actual duration of the song as discovered by XBMC? This is critical to my application.
Thanks