Jump to content

LiveTV radio channels playback not working


fc7
Go to solution Solved by Luke,

Recommended Posts

After updating Emby from 3.2.19.0 to 3.2.20.0 playback of radio (audio only) Live TV channels is not working anymore.
These type of channels were playing fine on 3.2.19.0 (using native support only -read below-).

I tried both sources I have configured on my server: TVH plugin and native LiveTV support.

TVH plugin radio channels playback is broken for some time now (already reported this in another thread) so I was using the native LiveTV support to playback this kind of channels but unfortunately after updating they don't work anymore on native LiveTV either.

 

Using TVH plugin nothing happens when I click on play in the webui and in the logs I get the following error:

2017-06-30 15:51:49.7857 Info HttpServer: HTTP GET http://192.168.7.31:8096/Users/668038acfab52e12250818ef610e97c5/Items/2800370d5a9e727d6b8529743219fd91. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:49.7895 Info HttpServer: HTTP Response 200 to 192.168.7.41. Time: 4ms. http://192.168.7.31:8096/Users/668038acfab52e12250818ef610e97c5/Items/2800370d5a9e727d6b8529743219fd91 
2017-06-30 15:51:49.9645 Info HttpServer: HTTP GET http://192.168.7.31:8096/web/css/images/favicon.ico. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:49.9645 Info HttpResultFactory: Transmit file /usr/lib/emby-server/bin/dashboard-ui/css/images/favicon.ico
2017-06-30 15:51:49.9645 Info HttpServer: HTTP Response 200 to 192.168.7.41. Time: 1ms. http://192.168.7.31:8096/web/css/images/favicon.ico 
2017-06-30 15:51:51.4039 Info HttpServer: HTTP GET http://192.168.7.31:8096/web/css/images/favicon.ico. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:51.4039 Info HttpResultFactory: Transmit file /usr/lib/emby-server/bin/dashboard-ui/css/images/favicon.ico
2017-06-30 15:51:51.4047 Info HttpServer: HTTP Response 200 to 192.168.7.41. Time: 1ms. http://192.168.7.31:8096/web/css/images/favicon.ico 
2017-06-30 15:51:51.5691 Info HttpServer: HTTP HEAD http://192.168.7.31:8096/Audio/2800370d5a9e727d6b8529743219fd91/universal?UserId=668038acfab52e12250818ef610e97c5&DeviceId=f40f42d042bf90d631f01205e8690118&MaxStreamingBitrate=140000000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&MaxSampleRate=48000&PlaySessionId=1498830222520&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:51.5704 Info App: User policy for Fernando. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2017-06-30 15:51:51.5704 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://192.168.7.31:8096
2017-06-30 15:51:51.5704 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://192.168.7.31:8096
2017-06-30 15:51:51.5704 Info HttpServer: HTTP Response 200 to 192.168.7.41. Time: 2ms. http://192.168.7.31:8096/Audio/2800370d5a9e727d6b8529743219fd91/universal?UserId=668038acfab52e12250818ef610e97c5&DeviceId=f40f42d042bf90d631f01205e8690118&MaxStreamingBitrate=140000000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&MaxSampleRate=48000&PlaySessionId=1498830222520&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true 
2017-06-30 15:51:51.7328 Info HttpServer: HTTP GET http://192.168.7.31:8096/Audio/2800370d5a9e727d6b8529743219fd91/universal?UserId=668038acfab52e12250818ef610e97c5&DeviceId=f40f42d042bf90d631f01205e8690118&MaxStreamingBitrate=140000000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&MaxSampleRate=48000&PlaySessionId=1498830222520&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:51.7347 Info App: User policy for Fernando. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2017-06-30 15:51:51.7347 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://192.168.7.31:8096
2017-06-30 15:51:51.7347 Info App: Profile: Unknown Profile, No direct play profiles found for Path: http://192.168.7.31:8096
2017-06-30 15:51:51.7356 Info HttpServer: HTTP Response 200 to 192.168.7.41. Time: 3ms. http://192.168.7.31:8096/Audio/2800370d5a9e727d6b8529743219fd91/universal?UserId=668038acfab52e12250818ef610e97c5&DeviceId=f40f42d042bf90d631f01205e8690118&MaxStreamingBitrate=140000000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&MaxSampleRate=48000&PlaySessionId=1498830222520&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true 
2017-06-30 15:51:51.7990 Info HttpServer: HTTP GET http://192.168.7.31:8096/Audio/2800370d5a9e727d6b8529743219fd91/live.m3u8?UserId=668038acfab52e12250818ef610e97c5&DeviceId=f40f42d042bf90d631f01205e8690118&MaxStreamingBitrate=140000000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&MaxSampleRate=48000&PlaySessionId=1498830222520&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true&SegmentContainer=ts. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:51.7990 Error HttpServer: Could not find handler for /Audio/2800370d5a9e727d6b8529743219fd91/live.m3u8
2017-06-30 15:51:51.7990 Info HttpServer: HTTP Response 404 to 192.168.7.41. Time: 0ms. http://192.168.7.31:8096/Audio/2800370d5a9e727d6b8529743219fd91/live.m3u8?UserId=668038acfab52e12250818ef610e97c5&DeviceId=f40f42d042bf90d631f01205e8690118&MaxStreamingBitrate=140000000&Container=opus,mp3,aac,m4a,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&MaxSampleRate=48000&PlaySessionId=1498830222520&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=true&SegmentContainer=ts 
2017-06-30 15:51:51.8445 Info HttpServer: HTTP POST http://192.168.7.31:8096/Sessions/Playing. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:51.8484 Info HttpServer: HTTP Response 204 to 192.168.7.41. Time: 4ms. http://192.168.7.31:8096/Sessions/Playing 
2017-06-30 15:51:52.0601 Info HttpServer: HTTP GET http://192.168.7.31:8096/Users/668038acfab52e12250818ef610e97c5/Items/2800370d5a9e727d6b8529743219fd91. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:52.0601 Info HttpServer: HTTP POST http://192.168.7.31:8096/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:52.0619 Info SessionManager: Playback stopped reported by app Emby Mobile 3.2.20.0 playing COPE. Stopped at 0 ms
2017-06-30 15:51:52.0639 Info HttpServer: HTTP Response 200 to 192.168.7.41. Time: 4ms. http://192.168.7.31:8096/Users/668038acfab52e12250818ef610e97c5/Items/2800370d5a9e727d6b8529743219fd91 
2017-06-30 15:51:52.0645 Info HttpServer: HTTP Response 204 to 192.168.7.41. Time: 4ms. http://192.168.7.31:8096/Sessions/Playing/Stopped 
2017-06-30 15:51:52.0663 Info HttpServer: HTTP GET http://192.168.7.31:8096/Items/2800370d5a9e727d6b8529743219fd91/Images/Primary?height=70&tag=2d82d183094aa68c7f570774debe66dd&quality=90. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
2017-06-30 15:51:52.0663 Info HttpServer: HTTP Response 304 to 192.168.7.41. Time: 1ms. http://192.168.7.31:8096/Items/2800370d5a9e727d6b8529743219fd91/Images/Primary?height=70&tag=2d82d183094aa68c7f570774debe66dd&quality=90 

And when trying to play the same radio channel using native support I get the video OSD in the webui and audio is briefly (1 second or less) heared but then playback doesn't work anymore and the following appears in the server log since pressing play until playback stops working (check attached logfile).

 

Any help will be greatly appreciated since this is one of the most used features in my case and in the meantime I will probably roll back to 3.2.19 until this is fixed. :(

System information:
Emby server: 3.2.20.0
Mono: 4.8.1
Distro: CentOS 7.3

Thanks.

native_livetv_error.txt

Edited by fc7
Link to comment
Share on other sites

fc7

Just updated to version 3.2.22.0 but the problem remains the same.

 

Is anyone else able to reproduce this bug?

Link to comment
Share on other sites

ok the change for this will need to sit in beta for a little while so you'll have to jump on that. thanks.

Link to comment
Share on other sites

fc7

Just let me know when it's in beta and I will switch. Thanks!

 

 

Sent from my iPad using Tapatalk

Link to comment
Share on other sites

fc7

ok the change for this will need to sit in beta for a little while so you'll have to jump on that. thanks.

 

@Luke: the fix is not in beta yet right? I switched to beta 3.2.22.4 but see the same problem.

Link to comment
Share on other sites

I'm not sure if it was in that, so I guess I would try the next one, thanks.

Link to comment
Share on other sites

fc7

I'm not sure if it was in that, so I guess I would try the next one, thanks.

 

@Luke: Tried 3.2.23.1 but the problem remains the same.

I don't want to bug you so I will now rollback to 3.2.19 and once the fix is in beta, update this thread so I will switch to it and test.

Thanks.

Link to comment
Share on other sites

fc7

Sure. Let me upgrade to 3.2.24.0 and get you new logs (already rolled back to 3.2.19.0).

Link to comment
Share on other sites

Playback runs for fraction of a second and the stops. The logs shows a very similar if not the same errors.

Bottom line: same behavior.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Actually the log looks fine this time around, so I'm not quite sure at the moment.

Link to comment
Share on other sites

Would a video help to understand how it fails?

Is not clear in the log how playback stops abruptly? Also ffmpeg shows that it stops as soon as starting to transcode. Or am I misunderstanding it. :(

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Btw I checked firefox and ios apps. Same behavior

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Yea but there's no failure this time around. What this means is that from the server's standpoint everything is fine, but the browser doesn't like the format coming back and so it quickly disconnects.

 

I think part of the problem is that we don't know in advance that it is an audio-only channel, and therefore we are treating it like a video container, except that the video container we're sending back to the client doesn't actually have any video inside. So I'll probably need some time to think about it.

Link to comment
Share on other sites

Ok. Thanks for looking into it.

Just two more comments:

 

1- the feature was working fine in 3.2.19.0 and it broke in 3.2.20.0. I can rollback to 3.2.19.0 and get a log or do any tests if needed.

 

2- in the past these type of channels were working fine (even through tvh plugin). Moreover playback of these channels worked exactly as playing a mp3 audio file in the sense that when playing them back only the bottom bar with playback controls was displayed instead of the full screen video player as it does now. I do prefer much more the old way since having a big black screen with just the playback controls to play only audio doesn't make much sense.

 

Not sure what other information I can provide but don't hesitate to ask me for any tests or logs needed. Playing radio channels is one of the most used features for me. :(

 

 

Sent from my iPhone using Tapatalk

Edited by fc7
Link to comment
Share on other sites

if you were to test that older build and get an ffmpeg log that would be helpful, yes. the problem could be in the video player client-side though.

Link to comment
Share on other sites

By the way is not only Firefox that fails but the iOS app as well. The client video player is completely different right?

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

I can also try IE and Safari tough if the client is suspected.

 

 

Sent from my iPhone using Tapatalk

Edited by fc7
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...