diff --git a/allstarr/Services/Jellyfin/JellyfinResponseBuilder.cs b/allstarr/Services/Jellyfin/JellyfinResponseBuilder.cs index 806b503..277c1d9 100644 --- a/allstarr/Services/Jellyfin/JellyfinResponseBuilder.cs +++ b/allstarr/Services/Jellyfin/JellyfinResponseBuilder.cs @@ -231,10 +231,17 @@ public class JellyfinResponseBuilder /// public Dictionary ConvertSongToJellyfinItem(Song song) { + // Add " [S]" suffix to external song titles (S = streaming source) + var songTitle = song.Title; + if (!song.IsLocal) + { + songTitle = $"{song.Title} [S]"; + } + var item = new Dictionary { ["Id"] = song.Id, - ["Name"] = song.Title, + ["Name"] = songTitle, ["ServerId"] = "allstarr", ["Type"] = "Audio", ["MediaType"] = "Audio", @@ -330,11 +337,11 @@ public class JellyfinResponseBuilder /// public Dictionary ConvertAlbumToJellyfinItem(Album album) { - // Add " - S" suffix to external album names (S = SquidWTF) + // Add " [S]" suffix to external album names (S = streaming source) var albumName = album.Title; if (!album.IsLocal) { - albumName = $"{album.Title} - S"; + albumName = $"{album.Title} [S]"; } var item = new Dictionary @@ -397,11 +404,11 @@ public class JellyfinResponseBuilder /// public Dictionary ConvertArtistToJellyfinItem(Artist artist) { - // Add " - S" suffix to external artist names (S = SquidWTF) + // Add " [S]" suffix to external artist names (S = streaming source) var artistName = artist.Name; if (!artist.IsLocal) { - artistName = $"{artist.Name} - S"; + artistName = $"{artist.Name} [S]"; } var item = new Dictionary