Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmus becomes unresponsive when playing tracks in cue files with certain character (0x85) #605

Open
karlek opened this issue Jan 12, 2017 · 2 comments

Comments

@karlek
Copy link

karlek commented Jan 12, 2017

Sorry for the ridiculously long issue name.

The cue file contains a Next Line character[1] and when the track with that name starts playing, cmus becomes unresponsive. Track name appears normal except a <85> in it's name.

[1]: http://www.fileformat.info/info/unicode/char/85/index.htm

Cue file: http://karlek.io/a.cue

  1. uname -a:
Linux elysium 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64 GNU/Linux
  1. cmus --version:
cmus v2.8.0-rc0
Copyright 2004-2006 Timo Hirvonen
Copyright 2008-2016 Various Authors
  1. cmus --plugins:
Input Plugins: /usr/lib/cmus/ip
  mad:
    Priority: 55
    File Types: mp3 mp2
    MIME Types: audio/mpeg audio/x-mp3 audio/x-mpeg
  modplug:
    Priority: 50
    File Types: mod s3m xm it 669 amf ams dbm dmf dsm far mdl med mtm okt ptm stm ult umx mt2 psm
    MIME Types:
  wavpack:
    Priority: 50
    File Types: wv
    MIME Types: audio/x-wavpack
  vorbis:
    Priority: 50
    File Types: ogg oga ogx
    MIME Types: application/ogg audio/x-ogg
  aac:
    Priority: 50
    File Types: aac
    MIME Types: audio/aac audio/aacp
  flac:
    Priority: 50
    File Types: flac fla
    MIME Types:
  cdio:
    Priority: 50
    File Types:
    MIME Types: x-content/audio-cdda
  mpc:
    Priority: 50
    File Types: mpc mpp mp+
    MIME Types: audio/x-musepack
  wav:
    Priority: 50
    File Types: wav
    MIME Types:
  cue:
    Priority: 50
    File Types:
    MIME Types: application/x-cue
  ffmpeg:
    Priority: 30
    File Types: aa aac ac3 aif aifc aiff ape au fla flac m4a m4b mka mkv mp+ mp2 mp3 mp4 mpc mpp ogg shn tak tta wav webm wma wv
    MIME Types:

Output Plugins: /usr/lib/cmus/op
  pulse
  alsa
  oss
  jack
  ao
@mahkoh
Copy link
Member

mahkoh commented Jan 12, 2017

cmus only supports cue files stored as utf8.

@karlek
Copy link
Author

karlek commented Jan 13, 2017

Okay, that explains the error. Fixed by converting to utf8:
iconv -f latin1 -t utf8 a.cue

Thanks!

Would be nice if cmus printed an error when adding (or playing) the track instead of becoming unresponsive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants