autoresume: Match full directory path names only in autoresumable()
commit86c397c849a3c181a80044dee0e0bc60e776cb9c
authorsideral <sideral@a1c6a512-1295-4272-9138-f99709370657>
Fri, 11 Feb 2011 00:20:03 +0000 (11 00:20 +0000)
committersideral <sideral@a1c6a512-1295-4272-9138-f99709370657>
Fri, 11 Feb 2011 00:20:03 +0000 (11 00:20 +0000)
tree24eaddd45e98a48e19d36f3fc336d658244b8429
parent358741d4f45ec4cd6857534587bbe0d340c8d31c
autoresume: Match full directory path names only in autoresumable()

Removed genre-tag matching (considered too fragile for real-world use).

Removed substring matching for file names.  To avoid unintended
matches, the search pattern now must match the file's full dir name
(or a parent directory thereof), anchored in the root directory.

Search strings now must be delimited with ":" rather than ",".  The
default list of directories is "/podcast:/podcasts" (case-insensitive).

Made implementation somewhat more efficient (don't use strtok -> no
need to copy the string to private storage (stack) before tokenizing
it).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29280 a1c6a512-1295-4272-9138-f99709370657
apps/menus/settings_menu.c
apps/metadata.c
apps/settings.h
apps/settings_list.c