| Summary: | bin/cue filenames should be handled case-insesitiveely | ||
|---|---|---|---|
| Product: | [Applications] k3b | Reporter: | shift |
| Component: | general | Assignee: | Sebastian Trueg <trueg> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
shift
2005-11-06 02:53:48 UTC
SVN commit 478443 by trueg:
Also search for the datafile inoring case.
BUG: 115755
M +1 -0 ChangeLog
M +5 -4 libk3b/projects/k3bcuefileparser.cpp
--- branches/stable/extragear/multimedia/k3b/ChangeLog #478442:478443
@@ -1,6 +1,7 @@
0.12.8
======
* Load index0 value in audio project.
+ * Ignore case in cue files.
0.12.7
======
--- branches/stable/extragear/multimedia/k3b/libk3b/projects/k3bcuefileparser.cpp #478442:478443
@@ -94,9 +94,9 @@
// save last parsed track for which we do not have the proper length :(
if( d->currentParsedTrack > 0 ) {
d->toc.append( K3bDevice::Track( d->currentDataPos,
- d->currentDataPos,
- d->trackType,
- d->trackMode ) );
+ d->currentDataPos,
+ d->trackType,
+ d->trackMode ) );
}
// debug the toc
@@ -207,7 +207,8 @@
QStringList possibleImageFiles = parentDir.entryList( QDir::Files );
int cnt = 0;
for( QStringList::const_iterator it = possibleImageFiles.constBegin(); it != possibleImageFiles.constEnd(); ++it ) {
- if( (*it).startsWith( filenamePrefix ) && !(*it).endsWith( "cue" ) ) {
+ if( (*it).lower() == dataFile.section( '/', -1 ).lower() ||
+ (*it).startsWith( filenamePrefix ) && !(*it).endsWith( "cue" ) ) {
++cnt;
setImageFilename( K3b::parentDir(filename()) + *it );
}
|