View Issue Details

IDProjectCategoryView StatusLast Update
0005097ardourbugspublic2015-09-18 15:27
Reportercolinf Assigned Tocolinf  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version3.0 
Summary0005097: Import of A2 sessions containing '-' (and probably other) characters in names doesn't find audiofiles
DescriptionArdour 2 sessions with a '-' (or anything not in [A-Za-z0-9_+=: ]) in their names replaced that character with a '_' in the name of the sub-directory under the session's interchange/ directory.

If you open such a session in A3, the audio files are not found, because A3 only replaces '\' and '/' characters in the session name with '_'s in the sub-directory of interchange/.

Adding the sub-directory as named by A2 with the '_'s allows importing to continue: all new audio files then end up in interchange/session-name/audiofiles/ whilst the already-existing audio files remain in interchange/session_name/audiofiles/.
Additional InformationThis is probably pretty easy to fix one way or another, but I'm not completely sure what the proper behaviour should be.

Should the interchange/session_name/ directory be renamed when importing an A2 session into A3, if the original name had characters that A2 would have turned into '_'s; or should A3 continue using the name with '_'s for everything; or is keeping the old files in the directory with '_'s, and also creating a new directory actually OK?
TagsNo tags attached.

Activities

colinf

2012-09-11 18:08

updater   ~0014012

I have a fix that does the second (keep using the path with the '_'s).

Does anyone have any strong preference for either of the other possibilities (renaming the directory, or keeping the old files in the old directory and the new files in the new directory), or shall I go ahead and commit?

colinf

2012-10-22 16:15

updater   ~0014135

If I open an A2 session in A3, and it goes wrong as described above, and I then add the old A2 path with underscores to the search path, the files are then found while the session remains in the same location.

However, if I move the session folder the files are not found the next time the session is opened, I think because paths are added to the search path as absolute even if they are within the session folder.

paul

2012-10-23 16:23

administrator   ~0014142

this should be much improved in svn rev 13321. please let me know

colinf

2012-10-23 17:06

updater   ~0014143

Yes, that seems to work well now, even after the session is moved. Thank you!

colinf

2015-09-18 15:27

updater   ~0017307

Closing old issues reported by me: these have long since been fixed.

Issue History

Date Modified Username Field Change
2012-09-08 17:41 colinf New Issue
2012-09-11 18:08 colinf Note Added: 0014012
2012-09-15 12:14 cth103 cost => 0.00
2012-09-15 12:14 cth103 Target Version => 3.0
2012-10-22 16:15 colinf Note Added: 0014135
2012-10-23 16:23 paul Note Added: 0014142
2012-10-23 16:23 paul Status new => feedback
2012-10-23 17:06 colinf Note Added: 0014143
2012-10-23 17:06 colinf Status feedback => resolved
2012-10-23 17:06 colinf Resolution open => fixed
2012-10-23 17:06 colinf Assigned To => colinf
2015-09-18 15:27 colinf Note Added: 0017307
2015-09-18 15:27 colinf Status resolved => closed