From: rjk@greenend.org.uk <> Date: Sun, 15 Jul 2007 16:43:59 +0000 (+0100) Subject: disorder-rescan now obsoletes tracks that belong to no collection; X-Git-Tag: 5.0.3~694 X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/commitdiff_plain/d1694464b875e336ac335741596b15361929f630?hp=d1694464b875e336ac335741596b15361929f630 disorder-rescan now obsoletes tracks that belong to no collection; handy when you remove some collection. The code should be relatively robust against such tracks but they'll annoy the random track picker. trackdb_rescan() is thus modified to be able to return all tracks. find_track_collection() maps a track to its collection, or 0 if it doesn't have one. ---