@@ -9,7 +9,7 @@ import { UpstreamError } from "../common/errors/UpstreamError.js";
99import { DEFAULT_RETRY_MULTIPLIER , FormatPlayObjectOptions , InternalConfig , PlayPlatformId } from "../common/infrastructure/Atomic.js" ;
1010import { SubSonicSourceConfig } from "../common/infrastructure/config/source/subsonic.js" ;
1111import { getSubsonicResponse , SubsonicResponse , SubsonicResponseCommon } from "../common/vendor/subsonic/interfaces.js" ;
12- import { parseRetryAfterSecsFromObj , removeDuplicates , sleep } from "../utils.js" ;
12+ import { removeDuplicates } from "../utils.js" ;
1313import { findCauseByFunc } from "../utils/ErrorUtils.js" ;
1414import { RecentlyPlayedOptions } from "./AbstractSource.js" ;
1515import MemorySource from "./MemorySource.js" ;
@@ -18,6 +18,7 @@ import { PlayerStateOptions } from './PlayerState/AbstractPlayerState.js';
1818import { Logger } from '@foxxmd/logging' ;
1919import { baseFormatPlayObj } from '../utils/PlayTransformUtils.js' ;
2020import { noRetryOnUpstreamError , tryApiCall } from '../utils/RequestUtils.js' ;
21+ import { artistNameToCredit } from '../../core/StringUtils.js' ;
2122
2223dayjs . extend ( isSameOrAfter ) ;
2324
@@ -78,7 +79,7 @@ export class SubsonicSource extends MemorySource {
7879
7980 const play : PlayObjectLifecycleless = {
8081 data : {
81- artists : [ artist ] ,
82+ artists : [ artistNameToCredit ( artist ) ] ,
8283 album,
8384 track : title ,
8485 duration,
0 commit comments