[k3b] [Bug 384678] New: K3b fails reading cue files with title larger than 80 bytes
Mayeul Cantan
bugzilla_noreply at kde.org
Wed Sep 13 21:38:04 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=384678
Bug ID: 384678
Summary: K3b fails reading cue files with title larger than 80
bytes
Product: k3b
Version: 17.08.0
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Image Formats
Assignee: k3b at kde.org
Reporter: mayeul.cantan at live.fr
CC: michalm at jabster.pl, trueg at kde.org
Target Milestone: ---
Hello there,
I was batch-converting some music files with k3b, ripped with cue files, and it
looks like k3b fails to parse the cue file if the TITLE section is larger than
80 bytes.
For now, I ran
`LANG=C sed -i 's/TITLE\s\+"\(.\{80\}\).\+"/TITLE "\1"/' *.cue`
on my files, but this is less than ideal.
Tested with k3b 17.08.1 on Arch linux (this version doesn't appear on the bug
tracker page).
k3b fails with:
(K3b::CueFileParser) unknown Cue line: ' "TITLE \"This is a title wider than 80
bytes**********************************************\"" '
What's nice is that the bug is EXTREMELY EASY to reproduce: just create a file
with the following line and a .cue extension.
TITLE "This is a title wider than 80
bytes*********************************************"
Remove a star, and you instead get:
(K3b::CueFileParser) successfully parsed cue file.
I would like to see the following happening:
- Support for titles longer than 80 bytes, with unicode if possible
- If too complicated, cut the title to 80 bytes and warn the user
- If this can't be implemented because of manpower constraints, at least
provide a decent error message.
I could try to do it myself, but I suspect that it will take no time to fix for
someone familiar with the codebase.
Thanks for maintaining k3b,
Mayeul
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the k3b
mailing list