Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix red 7693ecc

Change-Id: Ief9395eda8c2eb2837706227be75e482842e48ec

+7 -6
+6 -6
apps/tagtree.c
··· 1574 1574 int i; 1575 1575 int namebufused = 0; 1576 1576 int total_count = 0; 1577 - int special_entry_count = 0; 1577 + c->special_entry_count = 0; 1578 1578 int level = c->currextra; 1579 1579 int tag; 1580 1580 bool sort = false; ··· 1691 1691 dptr->customaction = ONPLAY_NO_CUSTOMACTION; 1692 1692 dptr++; 1693 1693 current_entry_count++; 1694 - special_entry_count++; 1694 + c->special_entry_count++; 1695 1695 } 1696 1696 if (offset <= 1) 1697 1697 { ··· 1701 1701 dptr->customaction = ONPLAY_NO_CUSTOMACTION; 1702 1702 dptr++; 1703 1703 current_entry_count++; 1704 - special_entry_count++; 1704 + c->special_entry_count++; 1705 1705 } 1706 1706 1707 1707 total_count += 2; ··· 1839 1839 qsort_fn = sort_inverse ? strncasecmp_inv : strncasecmp; 1840 1840 1841 1841 struct tagentry *entries = get_entries(c); 1842 - qsort(&entries[special_entry_count], 1843 - current_entry_count - special_entry_count, 1842 + qsort(&entries[c->special_entry_count], 1843 + current_entry_count - c->special_entry_count, 1844 1844 sizeof(struct tagentry), 1845 1845 compare); 1846 1846 } ··· 1882 1882 if (strip) 1883 1883 { 1884 1884 dptr = get_entries(c); 1885 - for (i = special_entry_count; i < current_entry_count; i++, dptr++) 1885 + for (i = c->special_entry_count; i < current_entry_count; i++, dptr++) 1886 1886 { 1887 1887 int len = strlen(dptr->name); 1888 1888
+1
apps/tree.h
··· 92 92 #ifdef HAVE_TAGCACHE 93 93 int currtable; /* db use */ 94 94 int currextra; /* db use */ 95 + int special_entry_count; /* db use */ 95 96 #endif 96 97 int sort_dir; /* directory sort order */ 97 98 int out_of_tree; /* shortcut from elsewhere */