Re: [jokosher-devel] [PATCH] for ticket #26 (Moving instruments)



--- Stuart Langridge <sil kryogenix org> wrote:

> > Some questions about uri-dnd:
> > - When importing an audio file (through the menu),
> the user can choose
> > to copy the file to the project audio directory.
> Should Jokosher
> > display a yes/no (or 'Copy', 'Use original')
> dialog when dropping?
> 
> No. All imports will eventually end up in the
> project audio directory
> (that you get the option to leave it outside at the
> moment is a bug)
> so just copy it in :)

Copy it in. The checkbox is only there because it was
making it optional made it easier to get my patch
accepted :)


> > - What to do with 'bad' file-uri's? (http:// in
> stead of file://,
> > trying to import a .txt, ...)
> 
> http isn't a bad URI; there's no reason why we can't
> importerctly from
> a remote URL (and indeed gnomevfs URLs like ssh:
> will need to work
> too). Trying to import something that isn't an audio
> file; I believe
> there's already stuff to handle this in the existing
> import-event code
> (Chris P was working on this) so you may want to
> look at that or hook
> up with him.

If you try to import a text file at the moment it
creates the white event box, posts an error to the
gstreamer bus, and sits there saying 0% loading
forever, I have a patch that can catch the error and
delete the event, but whenever I try and pop up a
dialog to inform the user why their event has
disapperared it crashes Jokosher in a fairly horrible
way (anything that requires kill (1) to fix is
horrible :)

Eventually I will get this sorted (or give up and just
delete the event without warning) so if you assume all
files are valid audio files thats fine.

As for URI schemes, if you try and open a project
using anything but file:// it pops up a dialog telling
you the uri scheme is not supported. This is because I
haven't thought through what we need to do to support
other schemes, check out LoadFromFile() in Project.py.

So if you want to just support file:// for now thats
fine, but if you want to support others (and we should
eventually) then cool.

Give us a shout here or on irc if you want any help 

chris


	
	
		
___________________________________________________________ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]