Closed daslicht closed 8 years ago
Hey,
There is no easy way to do this, I guess. My approach would be setting up a custom pass-through stream between FileReadStream
and ShoutStream
. Then you can calculate the position according to data length and source encoding.
Yeah that was my approach either :) but the calculation is anything else than trivial :D
Hi, let's say we have a DJ Mix of multiple songs wich is one long audio file. Is there a way to determine the current position of the stream so that we can inject the correct metadata ?