2024-10-18, 05:56 AM
(This post was last modified: 2024-10-18, 05:59 AM by Mike S. Edited 1 time in total.)
(2024-10-17, 02:38 PM)TheDreadPirate Wrote: You'd need to check in the Jellyfin logs which profile it is using and then modify that profile with this.
I have looked through the logs, and I can't find the DLNA profile mentioned. I just get entries like:
Code:
[2024-10-18 16:18:59.121 +11:00] [INF] [65] Jellyfin.Api.Controllers.UniversalAudioController: GetPostedPlaybackInfo profile: DeviceProfile { Name: null, Id: null, MaxStreamingBitrate: 8000000, MaxStaticBitrate: 8000000, MusicStreamingTranscodingBitrate: 128000, MaxStaticMusicBitrate: 8000000, DirectPlayProfiles: [DirectPlayProfile { Container: "opus", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "opus", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "mp3", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "aac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4a", AudioCodec: "aac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "m4b", AudioCodec: "aac", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "flac", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webma", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "webm", AudioCodec: "webma", VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "wav", AudioCodec: null, VideoCodec: null, Type: Audio }, DirectPlayProfile { Container: "ogg", AudioCodec: null, VideoCodec: null, Type: Audio }], TranscodingProfiles: [TranscodingProfile { Container: "mp4", Type: Audio, VideoCodec: "", AudioCodec: "aac", Protocol: hls, EstimateContentLength: False, EnableMpegtsM2TsMode: False, TranscodeSeekInfo: Auto, CopyTimestamps: False, Context: Streaming, EnableSubtitlesInManifest: False, MaxAudioChannels: null, MinSegments: 0, SegmentLength: 0, BreakOnNonKeyFrames: False, Conditions: [] }], ContainerProfiles: [], CodecProfiles: [], SubtitleProfiles: [] }
[2024-10-18 16:18:59.122 +11:00] [INF] [65] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "mike". EnableAudioPlaybackTranscoding: True
Quote:I added the "mp3,flac,m4a,wma" into the existing "DirectPlayProfile" line in Default.xml, but it made no difference (I'm not using docker).Code:<DirectPlayProfile container="mp3,flac,m4a,wma" type="Audio" />
You can also try adding that to the default profile.
If this is a non-docker install of jellyfin, the DLNA profiles are located in /var/lib/jellyfin/plugins/DLNA_3.0.0.0/profiles.
Is there any way of turning on some debugging to see what is being sent & received? I guess it is possible that the Android client app (HiFi Cast) is doing something wrong. That app has a simple debug mode which says that the mime-type of the m4a files is video/quicktime, rather than an audio type. Unfortunately both Jellyfin & that app were updated to a new version within a few days of each other, so I can't be certain where the fault lies. All I know is that it worked before those updates.