Sending "elapsed duration" (progress) of track #3403
Replies: 3 comments 6 replies
-
Hi @gAlleb,
|
Beta Was this translation helpful? Give feedback.
-
I've attached to the final source (radio). Current switch is
And this bizarre thing happens. If I attach it to
The pattern continues |
Beta Was this translation helpful? Give feedback.
-
here is attached to current
So what could you suggest? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've got a function which gives me source.on_metadata track duration and writes it to file. Then i fetch it and show in browser alongside playing track at the moment.
I would like somehow to send progress of the track to file, for example every second. I could use this
And It works if I have only one source/playlist. But I have different sources which are changing though out a day, therefore I will get only increasing numbers (if i use final source).
Is there a way to send changing progress of current track duration (something like non-existing
request.elapsed(m['filename'])
orsource.elapsed on a ['filename']
) ? :) What I am looking for is to show progress in a browser (like azuracast does it) but without azuracast :)Thank you! I'm still learning and help will be very appreciated!
Beta Was this translation helpful? Give feedback.
All reactions