Topic: Loading an AO format file while an AO format file hangs/crashes Cog

By AO formats, I mean PSF, miniPSF, PSF2, etc.


If an AO format file is currently playing, loading another from the Finder or the File Tree pane will make Cog beachball. (But it won't crash; it'll actually keep playing, but while beachballing.)

It won't happen if you're loading an AO format file via the playlist (i.e., file is in playlist, you double-click it in the playlist).

Also, it won't happen if you're playing another format, say, MP3, then an AO format,
or an AO format, then, say, MP3.

Re: Loading an AO format file while an AO format file hangs/crashes Cog

Re: Loading an AO format file while an AO format file hangs/crashes Cog

This is a limitation of Cog with autoplay. The fix requires rearchitecting the entire growl/last.fm/metadata system. Or, I can disable metadata loading for autoplay, then growl/last.fm won't be correct but that'll fix that. I consider AO a very specialized format, so I'm loathe to change the general behavior of Cog just because of it.

Edit: Another option would be to disable metadata for AO. That would also fix the majority of these kinds of issues, since that's when most multithreaded access occurs.

Last edited by vspader (2009-03-05 08:30:53)

Re: Loading an AO format file while an AO format file hangs/crashes Cog

Well, perhaps for the time being, no metadata for AO formats should be fine.

File names are sufficient.



I'll post a sample later.

Re: Loading an AO format file while an AO format file hangs/crashes Cog

Actually, I moved stuff around so this shouldn't happen. The last.fm/growl notifications will be delayed until it can read the metadata though.

Re: Loading an AO format file while an AO format file hangs/crashes Cog

Yeah, the Growl notifications come at really weird times now.

Like, you load a bunch of songs, no metadata, no Growl notification.

Then you load one song after those, you get 3 Growl notifications, and the metadata is now loaded. o_O