Add expanded metadata to /articleservice API.
tamarahills opened this issue · 1 comments
tamarahills commented
client will pass in a body element of v=2
to request the expanded metadata.
Here is the sample response.
[ { "format": "mp3", "url": "https://bucket.s3.amazonaws.com/sha1.mp3", "status": "available", "language": "en", "voice": "Joanna", "sample_rate": 16000, "duration": 300, "size": 5000000, }, { "format": "opus", "url": "https://bucket.s3.amazonaws.com/sha2.opus", "status": "processing", "language": "en", "voice": "Joanna", "sample_rate": 16000, "duration": 300, "size": null, } ]
- Need to get exact duration (ffprobe)?
- Be able to check on the status of the transcoded opus file when we already have synthesized the file.
- Store the language?
- Store the voice?
tamarahills commented
Fixed by #156