Re: adding directory contents to ogg123 playing in sorted order?
Ray Kohler <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.vorbis.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Feb 28, 2010 at 10:52 PM, <[email protected]> wrote: > On Sun, Feb 28, 2010 at 10:38 PM, Ray Kohler <[email protected]> wrote: >> On Sun, Feb 28, 2010 at 10:24 PM, Conrad Parker <[email protected]> wrote: >>> On 1 March 2010 12:07, Ray Kohler <[email protected]> wrote: >>>> Would a patch to ogg123 for using scandir(3) and alphasort(3) instead >>>> of opendir(3) and readdir(3) in playlist_append_directory() be >>>> accepted, or are those not sufficiently portable? On Linux, >>>> _SVID_SOURCE or _BSD_SOURCE is required to use them. This shouldn't be >>>> hard to implement and I'd like very much to have directories added to >>>> the playlist in sorted order. >>> >>> could you add a configure check for those functions, and if not >>> present then fall back to the existing behaviour? >> >> That's certainly possible to do. If it turns out that no platform we >> care about is missing them, then I'd like to avoid it, as it would >> make for a bigger patch. I'm willing to do it anyway if it's the right >> thing to do, and there's somebody interested in actually taking such a >> patch. > > Yes, we'd take such a patch. _Especially_ if you do the extra build > system legwork to establish portability. :-) Now is good timing too, > I intend to release a new ogg123 this month. Ok, I will work on this soon, hopefully tomorrow. I have to learn autotools practically from scratch, so this could give me a little trouble.