Jump to content

Cannot play FLACs


marxjohnson

Recommended Posts

marxjohnson

I have Emby installed on an Ubuntu 16.04 LTS server.  I have music files on the server in various formats.  Most formats will play fine.  However, when I attempt to play a FLAC, I get no playback. I have tried sending to Kodi via DLNA, and through the web app.  With the web app I see the error "No compatible streams are currently available".

I have previously had Emby installed and playing FLACs with no issue, but I recently rebuilt the server and it hasn't been working since.

 

Can anyone help me debug and fix the issue?

Link to comment
Share on other sites

marxjohnson

Thanks, I've attached a log that was generated by attempting to play a FLAC file.  The file in question is called "Art Brut - People In Love.flac".

You might also see me messing around with the transcoding settings, I tried switching to use ffmpeg installed via apt, to see if that helped.  It didn't, so I switched back to the version bundled with Emby.

There was no separate transcoding log file generated.  I have debug logging enabled.

emby-server.log

Link to comment
Share on other sites

marxjohnson

Aha, yes! This is the console log when I click on the file to play it:

 

triggering app resume event  apphost.js:1:4294
opening web socket with url: wss://cloud.barrenfrozenwasteland.com/embywebsocket?api_key=425ddb0664f540d295a476bb87e1a3d3&deviceId=c5e71de7f0dd4716285dcdf7a94fe48cf1865aaf  apiclient.js:1:14924
Requesting url without automatic networking: https://cloud.barrenfrozenwasteland.com/emby/Items/05bbd3d757b626a4881b93ebca2fb736/InstantMix?UserId=85f350d767d2442d9b33070645c21987&Fields=MediaSources&Limit=200 apiclient.js:1:11163
Firefox can't establish a connection to the server at wss://cloud.barrenfrozenwasteland.com/embywebsocket?api_key=425ddb0664f540d295a476bb87e1a3d3&deviceId=c5e71de7f0dd4716285dcdf7a94fe48cf1865aaf.  apiclient.js:1:14986
web socket closed  apiclient.js:1:5146
nulling out web socket  apiclient.js:1:5211
validateFeature: playback  registrationservices.js:1:4939
playing url: https://cloud.barrenfrozenwasteland.com/emby/Audio/05bbd3d757b626a4881b93ebca2fb736/universal?UserId=85f350d767d2442d9b33070645c21987&DeviceId=c5e71de7f0dd4716285dcdf7a94fe48cf1865aaf&MaxStreamingBitrate=140000000&Container=opus%2Cmp3%7Cmp3%2Caac%2Cm4a%7Caac%2Cflac%2Cwebma%2Cwebm%2Cwav%2Cogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&api_key=425ddb0664f540d295a476bb87e1a3d3&PlaySessionId=1513627828924&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false plugin.js:1:1608
requesting url: https://cloud.barrenfrozenwasteland.com/emby/Audio/05bbd3d757b626a4881b93ebca2fb736/universal?UserId=85f350d767d2442d9b33070645c21987&DeviceId=c5e71de7f0dd4716285dcdf7a94fe48cf1865aaf&MaxStreamingBitrate=140000000&Container=opus%2Cmp3%7Cmp3%2Caac%2Cm4a%7Caac%2Cflac%2Cwebma%2Cwebm%2Cwav%2Cogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&api_key=425ddb0664f540d295a476bb87e1a3d3&PlaySessionId=1513627828924&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false fetchhelper.js:1:1618
response status: 200, url: https://cloud.barrenfrozenwasteland.com/emby/Audio/05bbd3d757b626a4881b93ebca2fb736/universal?UserId=85f350d767d2442d9b33070645c21987&DeviceId=c5e71de7f0dd4716285dcdf7a94fe48cf1865aaf&MaxStreamingBitrate=140000000&Container=opus%2Cmp3%7Cmp3%2Caac%2Cm4a%7Caac%2Cflac%2Cwebma%2Cwebm%2Cwav%2Cogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&api_key=425ddb0664f540d295a476bb87e1a3d3&PlaySessionId=1513627828924&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false fetchhelper.js:1:1718
HLS Error: Type: networkError Details: levelLoadError Fatal: false  htmlmediahelper.js:1:4471
hls.js response error code: 404  htmlmediahelper.js:1:4688
Active player: {"name":"Html Audio Player","id":"htmlaudioplayer","playerName":"Html Audio Player","playableMediaTypes":[true,false,false,false,false],"isLocalPlayer":true,"supportedCommands":["GoHome","GoToSettings","VolumeUp","VolumeDown","Mute","Unmute","ToggleMute","SetVolume","SetAudioStreamIndex","SetSubtitleStreamIndex","SetMaxStreamingBitrate","DisplayContent","GoToSearch","DisplayMessage","SetRepeatMode","PlayMediaSource","ToggleFullscreen"]}  playbackmanager.js:1:13971
Requesting url without automatic networking: https://cloud.barrenfrozenwasteland.com/emby/Sessions/Playing apiclient.js:1:11163
playbackmanager playback error type: mediadecodeerror  playbackmanager.js:2:3790
Requesting url without automatic networking: https://cloud.barrenfrozenwasteland.com/emby/Sessions/Playing/Stopped apiclient.js:1:11163
Requesting url without automatic networking: https://cloud.barrenfrozenwasteland.com/emby/Users/85f350d767d2442d9b33070645c21987/Items/05bbd3d757b626a4881b93ebca2fb736 apiclient.js:1:11163
app is hidden  apphost.js:1:4419
 

Link to comment
Share on other sites

that actually won't prevent playbacks, so it shouldn't be a problem. based on the stream url it appears the server doesn't have media info about these files, or at least doesn't have a known runtime. can you try refreshing the album from the album detail screen using the 3-dot menu? see if that helps.

 

are you able to play mp3's?

Link to comment
Share on other sites

marxjohnson

Looks like refreshing the metadata for the album did it, thanks!

I seem to be able to play MP3s and Oggs without any issue.  I'll just have to refresh the albums that aren't working.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...