Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: RE: Create UCL out of the bleeding edge build - me wrote a program ;)
From: scott (die_pokemon_die123_at_yahoo.com)
Date: 2003-07-19


the reason it was changed to .ajz_ was so it wouldn't get auto-roloed though. if you need to rolo
from within rockbox you can just rename the file first.

-scott

--- Mike Holden <rockbox_at_mikeholden.uklinux.net> wrote:
> scott said:
> > i agree with tim about renaming to ajbrec.ajz_.
>
> Only trouble I can see with using ajbrec.ajz_ is that Rockbox can't ROLO
> that file without renaming it first. We discussed this filename recently,
> but it was only today when I tried to ROLO a file of this name that I
> realised that Rockbox doesn't recognise the .ajz_ extension, so doesn't
> "play" it. Maybe we should add .ajz_ as a recognised extension for
> Rockbox?
>
> This simple patch to apps/tree.c adds support for ROLOing .ajz_ files, and
> also pre-empts the same issue for Player by adding .mod_ extension. Tested
> on FM Recorder, and compiles cleanly for Player.
>
> --- /home/rockbox/develop/clean/apps/tree.c 2003-07-19
> 11:54:26.000000000 +0100
> +++ tree.c 2003-07-19 20:22:06.000000000 +0100
> @@ -301,9 +301,11 @@
> #ifdef HAVE_RECORDER_KEYPAD
> else if (!strcasecmp(&entry->d_name[len-4], ".fnt"))
> dptr->attr |= TREE_ATTR_FONT;
> - else if (!strcasecmp(&entry->d_name[len-4], ".ajz"))
> + else if (!strcasecmp(&entry->d_name[len-4], ".ajz") ||
> + !strcasecmp(&entry->d_name[len-5], ".ajz_"))
> #else
> - else if (!strcasecmp(&entry->d_name[len-4], ".mod"))
> + else if (!strcasecmp(&entry->d_name[len-4], ".mod") ||
> + !strcasecmp(&entry->d_name[len-5], ".mod_"))
> #endif
> dptr->attr |= TREE_ATTR_MOD;
> else if (!strcasecmp(&entry->d_name[len-5], ".rock"))
>
>
> --
> Mike Holden
>
> Rockbox page: http://www.mikeholden.org/~rockbox
>
>

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa