* dtas-ctl queue cat in case player paused and song not started
@ 2015-12-16 15:53 Rene Maurer
2015-12-16 18:34 ` Eric Wong
0 siblings, 1 reply; 3+ messages in thread
From: Rene Maurer @ 2015-12-16 15:53 UTC (permalink / raw)
To: dtas-all
,----
| dtas-player &
| idle
|
| $ dtas-ctl queue cat
| --- []
|
| $ dtas-ctl pause
| ---
| paused:
| before: false
| after: true
|
| $dtas-enq /home/rene/tango.flac
| /home/rene/tango.flac OK
|
| $ dtas-ctl queue cat
| ---
| - "/home/rene/tango.flac"
`----
IMHO the output of dtas-ctl queue cat should be
,----
| ---
| - - "/home/rene/tango.flac"
| - 0s
`----
What do you think?
Best
René
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dtas-ctl queue cat in case player paused and song not started
2015-12-16 15:53 dtas-ctl queue cat in case player paused and song not started Rene Maurer
@ 2015-12-16 18:34 ` Eric Wong
2015-12-16 23:17 ` Rene Maurer
0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2015-12-16 18:34 UTC (permalink / raw)
To: Rene Maurer; +Cc: dtas-all
Rene Maurer <rmnet@mailc.net> wrote:
> | $ dtas-ctl queue cat
> | ---
> | - "/home/rene/tango.flac"
> `----
>
> IMHO the output of dtas-ctl queue cat should be
> ,----
> | ---
> | - - "/home/rene/tango.flac"
> | - 0s
> `----
>
> What do you think?
I consider the zero offset to be implied.
Redundant data just adds to noise over socket and output; and
it waste 80 bytes(!) of memory in the player for (40 bytes if
you're on 32-bit).
I don't think anybody would run the following on the command-line:
play foo.flac trim 0
Instead of:
play foo.flac
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dtas-ctl queue cat in case player paused and song not started
2015-12-16 18:34 ` Eric Wong
@ 2015-12-16 23:17 ` Rene Maurer
0 siblings, 0 replies; 3+ messages in thread
From: Rene Maurer @ 2015-12-16 23:17 UTC (permalink / raw)
To: dtas-all
Eric Wong <e@80x24.org> wrote:
> Redundant data just adds to noise over socket and output;
You are right. And on the other hand it's not a big deal to distinguish
between the output formats.
> I don't think anybody would run the following on the command-line:
>
> play foo.flac trim 0
>
> Instead of:
>
> play foo.flac
I start the player in paused state; add songs to the queue (while
watching the queue with dtas-ctl queue cat). As said, no problem
without zero offset.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-16 23:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-16 15:53 dtas-ctl queue cat in case player paused and song not started Rene Maurer
2015-12-16 18:34 ` Eric Wong
2015-12-16 23:17 ` Rene Maurer
Code repositories for project(s) associated with this public inbox
https://80x24.org/dtas.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).