I work on an mopidy backend extension. I met an problem in the resume playing. More detailed information are listed below.
The music provider only give 10 min valid audio link via API. So, if pause long time, the mopidy won't resume successful.
I have follow two ideas in my mind to solve this problem, but I do not know which one is better or how to do it.
- Let GStreamer download full audio files.
- Set a timer of pause time, if the timer expired, reload audio url.
Is someone could give me an example?