~aleteoryx/muditaos

ref: 76dfa98656ced9f73b291e80e26be3b2b325de97 muditaos/module-apps/application-music-player/doc/data/UpdateRepoSortRepeatModes.puml -rw-r--r-- 526 bytes
76dfa986 — Wojtek Rzepecki [EGD-7666] Fix alarms time zones 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@startuml
skinparam BackgroundColor F0F0F0
start

if (repeatMode == Shuffle) then (yes) 
partition "**query** newData" {
    : ORDER BY RAND;
    }
else (no)
  if (sortMode == ByArtist) then (yes)
partition "**query** newData" {
    : ORDER BY Artist ASC, Title ASC;
    }
  else (no)
	 if (sortMode == ByAlbum) then (yes)
partition "**query** newData" {
	   : ORDER BY Album ASC, Title ASC;
	   }
	 else (no)
partition "**query** newData" {
	     : ORDER BY Title ASC, Artist ASC;
	     }
	 endif
  endif
endif

stop
@enduml