Fix BasicTrackInfo having wrong TrackID

Add Character Limit to  TrackList Method to fix tracklists being to big for messages
This commit is contained in:
Tim Müller
2022-03-24 21:46:22 +01:00
parent 8720bf9f88
commit 021528afd1
6 changed files with 16 additions and 14 deletions

View File

@@ -27,7 +27,7 @@ namespace TomatenMusic_Api.Models
Name = track.Title;
Platform = ctx.SpotifyIdentifier == null ? TrackPlatform.YOUTUBE : TrackPlatform.SPOTIFY;
YoutubeId = track.Identifier;
YoutubeId = track.TrackIdentifier;
SpotifyId = ctx.SpotifyIdentifier;
URL = ctx.YoutubeUri;
}