upnpsoap: Add forced alphasort capability
Add the ability to force title modification for clients that do their own alphanumeric sorting. Adding a '!' to the beginning of the force_sort_criteria value will enable this behavior. It is implemented by prepending all titles with a zero-padded number, and possibly season and episode (or disc and track) numbers if they aren't already in the title.
This commit is contained in:
@ -196,6 +196,7 @@ extern uint32_t runtime_flags;
|
||||
#define SCANNING_MASK 0x0100
|
||||
#define RESCAN_MASK 0x0200
|
||||
#define SUBTITLES_MASK 0x0400
|
||||
#define FORCE_ALPHASORT_MASK 0x0800
|
||||
|
||||
#define SETFLAG(mask) runtime_flags |= mask
|
||||
#define GETFLAG(mask) (runtime_flags & mask)
|
||||
|
Reference in New Issue
Block a user