Compare commits
No commits in common. "c04114b07a94460b7c0d6fe5670bb3bc97ab56e9" and "0507f495ade4ea51b82946f5e50cf2326223e2b9" have entirely different histories.
c04114b07a
...
0507f495ad
@ -486,9 +486,9 @@ class PlaylistRows(Base):
|
||||
|
||||
@classmethod
|
||||
def get_unplayed_rows(cls, session: Session,
|
||||
playlist_id: int) -> List["PlaylistRows]:
|
||||
playlist_id: int) -> List[int]:
|
||||
"""
|
||||
For passed playlist, return a list of playlist rows that
|
||||
For passed playlist, return a list of track rows that
|
||||
have not been played.
|
||||
"""
|
||||
|
||||
|
||||
@ -932,7 +932,7 @@ class Window(QMainWindow, Ui_MainWindow):
|
||||
unplayed_plrs = PlaylistRows.get_unplayed_rows(
|
||||
session, playlist_id)
|
||||
if helpers.ask_yes_no("Move tracks",
|
||||
f"Move {len(unplayed_plrs)} tracks:"
|
||||
f"Move {len(unplayed_playlist_rows)} tracks:"
|
||||
" Are you sure?"
|
||||
):
|
||||
self.move_playlist_rows(session, unplayed_plrs)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user