#883127 gst123: playlist option always returns parse error

Package:
gst123
Source:
gst123
Description:
GStreamer based command line media player
Submitter:
Joseph Nahmias
Date:
2017-11-30 00:24:04 UTC
Severity:
normal
#883127#5
Date:
2017-11-30 00:21:39 UTC
From:
To:
Hello,

It seems that there is something buggy in the command-line argument parsing
code in gst123.  No matter what, using -@ (or --list) always gives aborts
saying Error parsing option.  See below for an example.  Any help
troubleshooting would be appreciated.

Thanks,
--Joe

joe@brain:~$ cat Party.m3u
HM.ogg
joe@brain:~$ ls -l HM.ogg
-rw-r--r-- 1 joe users 3977322 Nov 29 19:17 HM.ogg
joe@brain:~$ gst123 -@ Party.m3u
Error parsing option -@
Usage:
  gst123 [OPTION...] <URI>... - Play video and audio clips

Help Options:
  -h, --help                              Show help options
  --help-all                              Show all help options
  --help-gst                              Show GStreamer Options

Application Options:
  -@, --list=<filename>                   read playlist of files and URIs from <filename>
  --version                               print version
  --full-version                          print full version
  --verbose                               print GStreamer pipeline used to play files
  -r, --repeat                            repeat playlist forever
  -z, --shuffle                           shuffle playlist before playing
  -Z, --random                            play files in random order forever
  -x, --novideo                           do not play the video stream
  -a, --audio-output=<driver>[=<dev>]     set audio output driver and device
  -v, --visualization=<plugin_name>       set visualization plugin to use for audio playback
  -V, --visualization-list                show available visualization plugins
  -k, --skip=<n>                          Skip the first 'n' seconds
  -q, --quiet                             don't display any messages

joe@brain:~$ gst123 --list=Party.m3u
Error parsing option --list
Usage:
  gst123 [OPTION...] <URI>... - Play video and audio clips

Help Options:
  -h, --help                              Show help options
  --help-all                              Show all help options
  --help-gst                              Show GStreamer Options

Application Options:
  -@, --list=<filename>                   read playlist of files and URIs from <filename>
  --version                               print version
  --full-version                          print full version
  --verbose                               print GStreamer pipeline used to play files
  -r, --repeat                            repeat playlist forever
  -z, --shuffle                           shuffle playlist before playing
  -Z, --random                            play files in random order forever
  -x, --novideo                           do not play the video stream
  -a, --audio-output=<driver>[=<dev>]     set audio output driver and device
  -v, --visualization=<plugin_name>       set visualization plugin to use for audio playback
  -V, --visualization-list                show available visualization plugins
  -k, --skip=<n>                          Skip the first 'n' seconds
  -q, --quiet                             don't display any messages

joe@brain:~$