WIP V3: display last played date
This commit is contained in:
parent
3e49ad08b9
commit
b83bd0d5c3
@ -21,6 +21,7 @@ from dbconfig import scoped_session, Session
|
||||
from helpers import (
|
||||
file_is_unreadable,
|
||||
get_embedded_time,
|
||||
get_relative_date,
|
||||
open_in_audacity,
|
||||
ms_to_mmss,
|
||||
set_track_metadata,
|
||||
@ -378,7 +379,7 @@ class PlaylistModel(QAbstractTableModel):
|
||||
else:
|
||||
return QVariant()
|
||||
if column == Col.LAST_PLAYED.value:
|
||||
return QVariant(prd.lastplayed)
|
||||
return QVariant(get_relative_date(prd.lastplayed))
|
||||
if column == Col.BITRATE.value:
|
||||
return QVariant(prd.bitrate)
|
||||
if column == Col.NOTE.value:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user