1 /*
2  *  Copyright (C) 2005-2018 Team Kodi
3  *  This file is part of Kodi - https://kodi.tv
4  *
5  *  SPDX-License-Identifier: GPL-2.0-or-later
6  *  See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 typedef enum {
12   SORT_METHOD_NONE=0,
13   SORT_METHOD_LABEL,
14   SORT_METHOD_LABEL_IGNORE_THE,
15   SORT_METHOD_DATE,
16   SORT_METHOD_SIZE,
17   SORT_METHOD_FILE,
18   SORT_METHOD_DRIVE_TYPE,
19   SORT_METHOD_TRACKNUM,
20   SORT_METHOD_DURATION,
21   SORT_METHOD_TITLE,
22   SORT_METHOD_TITLE_IGNORE_THE,
23   SORT_METHOD_ARTIST,
24   SORT_METHOD_ARTIST_AND_YEAR,
25   SORT_METHOD_ARTIST_IGNORE_THE,
26   SORT_METHOD_ALBUM,
27   SORT_METHOD_ALBUM_IGNORE_THE,
28   SORT_METHOD_GENRE,
29   SORT_METHOD_COUNTRY,
30   SORT_METHOD_YEAR,
31   SORT_METHOD_VIDEO_RATING,
32   SORT_METHOD_VIDEO_USER_RATING,
33   SORT_METHOD_DATEADDED,
34   SORT_METHOD_PROGRAM_COUNT,
35   SORT_METHOD_PLAYLIST_ORDER,
36   SORT_METHOD_EPISODE,
37   SORT_METHOD_VIDEO_TITLE,
38   SORT_METHOD_VIDEO_SORT_TITLE,
39   SORT_METHOD_VIDEO_SORT_TITLE_IGNORE_THE,
40   SORT_METHOD_PRODUCTIONCODE,
41   SORT_METHOD_SONG_RATING,
42   SORT_METHOD_SONG_USER_RATING,
43   SORT_METHOD_MPAA_RATING,
44   SORT_METHOD_VIDEO_RUNTIME,
45   SORT_METHOD_STUDIO,
46   SORT_METHOD_STUDIO_IGNORE_THE,
47   SORT_METHOD_FULLPATH,
48   SORT_METHOD_LABEL_IGNORE_FOLDERS,
49   SORT_METHOD_LASTPLAYED,
50   SORT_METHOD_PLAYCOUNT,
51   SORT_METHOD_LISTENERS,
52   SORT_METHOD_UNSORTED,
53   SORT_METHOD_CHANNEL,
54   SORT_METHOD_CHANNEL_NUMBER,
55   SORT_METHOD_BITRATE,
56   SORT_METHOD_DATE_TAKEN,
57   SORT_METHOD_CLIENT_CHANNEL_ORDER,
58   SORT_METHOD_TOTAL_DISCS,
59   SORT_METHOD_ORIG_DATE,
60   SORT_METHOD_BPM,
61   SORT_METHOD_MAX
62 } SORT_METHOD;
63