mirror of
https://github.com/Royce551/FRESHMusicPlayer.git
synced 2025-01-22 10:51:52 -05:00
fix crashes on some DEs
This commit is contained in:
parent
4ada8c19d1
commit
1f95d881fe
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ namespace FRESHMusicPlayer.Handlers.Integrations
|
|||
var track = new Track(viewModel.Player.FilePath);
|
||||
var x = new Dictionary<string, object>()
|
||||
{
|
||||
{"mpris:length", (double)Math.Round(viewModel.Player.TotalTime.TotalMilliseconds * 1000) },
|
||||
// {"mpris:length", (double)Math.Round(viewModel.Player?.TotalTime.TotalMilliseconds * 1000) },
|
||||
{"xesam:artist", track.Artist.Split(Settings.DisplayValueSeparator) },
|
||||
{"xesam:album", track.Album },
|
||||
{"xesam:asText", track.Lyrics.UnsynchronizedLyrics },
|
||||
|
|
Loading…
Reference in a new issue