File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[playlist]
2- NumberOfEntries=3
2+ NumberOfEntries=2
33File1=/Users/syso/dev/tinyice/music/a_d.mp3
44Title1=a_d.mp3
5- File2=/Users/syso/dev/tinyice/music/Lexyyysy42l.mp3
6- Title2=Lexyyysy42l.mp3
7- File3=/Users/syso/dev/tinyice/music/disco.mp3
8- Title3=disco.mp3
5+ File2=/Users/syso/dev/tinyice/music/disco.mp3
6+ Title2=disco.mp3
97Version=2
Original file line number Diff line number Diff line change @@ -1319,8 +1319,16 @@ <h2>Edit AutoDJ</h2>
13191319 if ( adjDetails ) adjDetails . style . display = 'block' ;
13201320 if ( songTitle ) songTitle . textContent = st . song || 'Preparing...' ;
13211321 if ( progressBar ) {
1322- progressBar . dataset . start = st . start_time ;
1323- progressBar . dataset . duration = st . duration ;
1322+ if ( progressBar . dataset . start != st . start_time ) {
1323+ progressBar . style . transition = 'none' ;
1324+ progressBar . style . width = '0%' ;
1325+ progressBar . dataset . start = st . start_time ;
1326+ progressBar . dataset . duration = st . duration ;
1327+ progressBar . offsetHeight ; // Force reflow
1328+ progressBar . style . transition = 'width 1s linear' ;
1329+ } else {
1330+ progressBar . dataset . duration = st . duration ;
1331+ }
13241332 }
13251333 } else {
13261334 statusPill . classList . add ( 'inactive' ) ;
Original file line number Diff line number Diff line change 1- 38637
1+ 38718
You can’t perform that action at this time.
0 commit comments