From: D. M. M. <mic...@ro...> - 2009-11-01 23:48:54
|
On Sunday 01 November 2009, Chris Cannam wrote: > Ogg and mp3 importer classes are not present (or at least not > activated) yet. They will be, though. Based on the results, I figured that was the case. > Dumb question perhaps, but does your Rosegarden audio file directory > (by default ~/rosegarden) exist? I can imagine that that might cause > the failure you're seeing, as the error message for being unable to > write to it might not have been ported over yet. Easy enough to test this one, and that looks like a direct hit. I renamed ~/rosegarden and tried the K3B files, and got the same error dialog as Dave. I created a new one, tried the operation again, and I got conv-k3b_wait_media1-20091101-184020-4.wav conv-k3b_wait_media1-20091101-184020-4.wav.pk in there. So we probably just need to throw in some code to detect that the directory doesn't exist, and then... Well that's a little bit of an interesting one. On the one hand, I've gotten really big on the whole "do the thing most people will want, and don't ask" philosophy, so I'd be inclined to just create the damn directory if it doesn't exist, and not bother the user with a dialog. OTOH, my ~/rosegarden is a COMPLETE fscking mess full of an unsortable amount of random junk from using and working on Rosegarden over the years, and this is because I never remember to change my audio path before starting a project. It might be a good idea to do a dialog in this case. "~/rosegarden doesn't exist, shall I create it, or would you like to give this project a custom audio path?" (Not that wording, but that's the gist of it.) It would almost be worth doing something on audio record too. The first time they try to record, ask for an audio path. Most other applications I can think of actually begin any new project this way, creating a purpose-built new directory straight up, but with Rosegarden we can't assume a new project will ever actually have audio until they want to record or import something. What do you guys think? -- D. Michael McIntyre |