0

I'm using php-gracenote to access Gracenote's Web API. Can please someone explain how to get each track length in min/sec when searching for a album. Is it possible? Any examples?

Rich Adams
  • 26,096
  • 4
  • 39
  • 62

1 Answers1

2

This isn't possible. Generally speaking, track durations aren't returned by Gracenote.

jmctodo
  • 186
  • 4
  • thanks for your reply! is there another way to do it? –  Dec 11 '13 at 07:21
  • I'm afraid there isn't really a way outside of generating it yourself from some source media (CD or file). Sorry! – jmctodo Dec 11 '13 at 22:47
  • The only Gracenote API that returns track length as of today is when you do a MusicID-Stream query using the mobile SDK. – Jonx Dec 26 '13 at 22:30
  • 1
    Jonx is correct that all streaming queries return the duration of the matched track - including Entourage (ACR), GNSDK's musicid for streaming and Mobile SDK queries. – jmctodo Dec 27 '13 at 15:17