Commit graph

59 commits

Author SHA1 Message Date
Tim-Philipp Müller
68afb292a2 tools: play: implement seeking via console in interactive mode
Arrow left and right to seek back of forward.
2013-11-24 14:38:25 +00:00
Tim-Philipp Müller
aab687505e tools: play: fix endless loop on unhandled keys
When debugging output is not enabled.
2013-11-24 14:33:51 +00:00
Tim-Philipp Müller
d6a6c2a3b1 tools: play: add keyboard controls for next/previous item in list
Make the '>' and '<' keys skip to the next or previous item in
the playlist.
2013-11-24 13:50:21 +00:00
Tim-Philipp Müller
5a36b793d6 tools: play: add --interactive switch and basic keyboard handling
Only pause/play with spacebar for now.
2013-11-24 01:08:48 +00:00
Tim-Philipp Müller
0f8040862f tools: play: add --shuffle command line option 2013-11-22 21:00:21 +00:00
Tim-Philipp Müller
9613f79c1e tools: play: set playbin to NULL state on error to flush messages
Just flushing the bus doesn't work here for some reason, so set
playbin to NULL state, which seems to clear all error state and
makes sure we do play the next playable song and don't pick up
'ghost' error messages from previous files on the bus.
2013-09-07 19:14:50 +01:00
Tim-Philipp Müller
716f992c17 gst-play: move current playlist index along in about-to-finish 2013-08-21 16:02:00 +01:00
Tim-Philipp Müller
fd873b1067 gst-play: add --gapless mode
so we can test about-to-finish.
2013-08-21 15:39:30 +01:00
Tim-Philipp Müller
8cd2d0a672 tools: add simple command-line gst-play utility for testing purposes
Differs from a plain gst-launch-1.0 playbin uri=... pipeline in that
it can take multiple arguments and as such allows testing of things
like gapless playback, switching between different formats and the
like. Very minimal at this point, we'll probably want to add
interactive controls and more options at some point.

https://bugzilla.gnome.org/show_bug.cgi?id=553520
2013-08-16 15:45:23 +01:00