Opendigitalradio / dablin

DAB/DAB+ receiver for Linux (including ETI-NI and EDI AF playback)
GNU General Public License v3.0
123 stars 27 forks source link

Record whole ensemble #53

Open jpuigs opened 5 years ago

jpuigs commented 5 years ago

Maybe some people don't need this, but the ones who mainly use DABlin to hear Satellite DAB feeds, know that sometimes we want to save the whole ensemble (ETI-NI), so we have to close DABlin, and open it again but finishing command line with > file.eti . Then we can't hear what we are recording. Would it be posible to add another record button, to record ensemble (.eti file) ? (I understand it's easy to do, just to copy stdin to a .eti file) Then, we could record without exiting DABlin.

andimik commented 5 years ago

I don't think this is necessary. You could use a fifo file instead, I guess.

basicmaster commented 5 years ago

A FIFO is equal to a pipe and thus has one input and one output. So a FIFO won't allow to distribute the signal to DABlin and to a file at the same time. Instead the tool tee can be used to split the signal e.g. eti-cmdline-rtlsdr (...) | tee /tmp/test.eti | dablin_gtk.

I agree it could be helpful to start/stop an ensemble recording on demand, while listening via DABlin. In general it should not be that hard. Thinking about it, I tend to restrict such feature to NOT allow to record a service and the whole ensemble at the same time: It would be more difficult to show the status and I don't like the idea to have two recording buttons. So I think, starting the recording with the Shift button pressed (or via a context menu) would do the job here. In addition, the prerecording feature is something I wouldn't implement for ensemble recording, as we are talking about a larger bandwidth, compared to just a single service.

andimik commented 5 years ago

Sorry, you are right.

andimik commented 4 years ago

I guess you can close this issue.

jpuigs commented 4 years ago

???

basicmaster commented 4 years ago

I guess you can close this issue.

For what reason? The desired feature is not yet implemented...