Commit 8d02eef
UI: Add UUID to file-based list widgets to uniquely identify items
List widgets are currently used as playlists in source properties,
but only contain the file paths and no other identifying information.
This can lead to files being added multiple times, so when changes to
list order occurs, plugins cannot uniquely identify which duplicate
item was actually changed (because they're only identified by the path).
By adding a UUID to the user data role of a list item, an additional
unique information is added that allows plugins to de-duplicate list
items.1 parent e8f87e4 commit 8d02eef
File tree
1 file changed
+29
-3
lines changed1 file changed
+29
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
740 | 741 | | |
741 | 742 | | |
742 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
743 | 752 | | |
744 | 753 | | |
745 | 754 | | |
| |||
2024 | 2033 | | |
2025 | 2034 | | |
2026 | 2035 | | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
2027 | 2039 | | |
2028 | 2040 | | |
2029 | 2041 | | |
| |||
2293 | 2305 | | |
2294 | 2306 | | |
2295 | 2307 | | |
2296 | | - | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
2297 | 2313 | | |
2298 | 2314 | | |
2299 | 2315 | | |
| |||
2318 | 2334 | | |
2319 | 2335 | | |
2320 | 2336 | | |
2321 | | - | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
2322 | 2344 | | |
2323 | 2345 | | |
2324 | 2346 | | |
| |||
2341 | 2363 | | |
2342 | 2364 | | |
2343 | 2365 | | |
2344 | | - | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
2345 | 2371 | | |
2346 | 2372 | | |
2347 | 2373 | | |
| |||
0 commit comments