Ensure all rows in playlist are updated.
This commit is contained in:
parent
958c3a8086
commit
b049f3207d
@ -29,9 +29,9 @@ class Config(object):
|
||||
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
|
||||
MAIL_USE_TLS = os.environ.get('MAIL_USE_TLS') is not None
|
||||
MILLISECOND_SIGFIGS = 0
|
||||
MYSQL_CONNECT = "mysql+mysqldb://songdb:songdb@localhost/songdb"
|
||||
MYSQL_CONNECT = "mysql+mysqldb://songdb:songdb@localhost/musicmuster"
|
||||
ROOT = "/home/kae/music"
|
||||
TESTMODE = False
|
||||
TESTMODE = True
|
||||
TIMER_MS = 500
|
||||
|
||||
|
||||
|
||||
@ -185,7 +185,8 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
def test_function(self):
|
||||
"Placeholder for test function"
|
||||
|
||||
pass
|
||||
import ipdb
|
||||
ipdb.set_trace()
|
||||
|
||||
def test_skip_to_end(self):
|
||||
"Skip current track to 1 second before silence"
|
||||
|
||||
@ -600,14 +600,9 @@ class Playlist(QTableWidget):
|
||||
next = self.meta_get_next()
|
||||
notes = self.meta_get_notes()
|
||||
|
||||
if current:
|
||||
start_row = current
|
||||
else:
|
||||
start_row = 0
|
||||
|
||||
# Set colours and start times
|
||||
running_end_time = None
|
||||
for row in range(start_row, self.rowCount()):
|
||||
for row in range(self.rowCount()):
|
||||
|
||||
if row == current:
|
||||
# Set end time
|
||||
|
||||
Loading…
Reference in New Issue
Block a user