Skip to content

CD-Text cannot be parsed, raising ValueErrors #169

@MerlijnWajer

Description

@MerlijnWajer

I have several CDs that have possibly invalid CD-Text.

Whipper will raise this error when parsing it:

u"(ValueError('Trailing \\ in string',)

I added some debug to the toc parsing, and found that this is the value that it cannot parse properly:

Read: key: u'TITLE', value: u'\267|\246\250\245\'

(The TOC contains every slash once, not twice, but this is the representation of the string printed)

The simple fix would be to strip trailing slashes. I will do that now and test it.

Metadata

Metadata

Assignees

Labels

AcceptedAccepted issue on our roadmapBugGeneric bug: can be used together with more specific labelsNeeded: discussionMore discussion needed before anything can be done (or still no agreement has been reached)Needed: patchA pull request is requiredPriority: mediumMedium prioritySprintableSmall enough to sprint on

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions