[Solved] Issue with play streaming videos like Youtube when multiple profiles are enabled

#1

Boot and login in to the master account: youtube and others internet streaming plugins works fine.

Close session and login in to another user, any plugin that gets internet video streaming stop to play.

Close session and re-login in to the master again, no play.

Reboot and login in to the master, all is fine.

I attached a fragment of debug log. It shows that the DVDPlayer stopped to run. Maybe it hangs and any other intent to play fails also with another profile. That is why is necessary to reboot the RPi.

I use the new OSMC in Raspberry Pi model B w/512M, with Raspbmc I do not had that error.I must to add that I have a license for use the MPEG2 decoder.

Regards.

03:57:04 T:3023966208   DEBUG: CCurlFile::GetMimeType - https://r1---sn-uqx2-aphl.googlevideo.com/videoplayback?upn=rJxASwtMRes&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2C​pl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mt=1429260882&mv=m&initcwndbps=465000&itag=22&ms=au&mm=31&ipbits=0&fexp=900225%2C900720%2C901803%2C907263%2C910810%2C930827%2C932627%2C934954%2​C938028%2C9405186%2C9406039%2C9406849%2C9407115%2C9408206%2C9408347%2C9408475%2C​9408707%2C9408787%2C947233%2C948124%2C948703%2C951703%2C952612%2C957201%2C961404​%2C961406&id=o-AOqsVjjxPEvXfj2U5qI22pilc8DNDBTjnwL9jhCYzHOe&sver=3&ip=190.43.75.74&requiressl=yes&signature=0D3E964AAED674A7BA2EC670106DC273CE1458BD.CA3B80E042F6AC2F5CFD8E364​049B11008D5E69F&key=yt5&source=youtube&ratebypass=yes&dur=119.513&expire=1429282620&mime=video%2Fmp4&pl=24 -> video/mp4
03:57:04 T:3023966208   DEBUG: Loading settings for https://r1---sn-uqx2-aphl.googlevideo.com/videoplayback?upn=rJxASwtMRes&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2C​pl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mt=1429260882&mv=m&initcwndbps=465000&itag=22&ms=au&mm=31&ipbits=0&fexp=900225%2C900720%2C901803%2C907263%2C910810%2C930827%2C932627%2C934954%2​C938028%2C9405186%2C9406039%2C9406849%2C9407115%2C9408206%2C9408347%2C9408475%2C​9408707%2C9408787%2C947233%2C948124%2C948703%2C951703%2C952612%2C957201%2C961404​%2C961406&id=o-AOqsVjjxPEvXfj2U5qI22pilc8DNDBTjnwL9jhCYzHOe&sver=3&ip=190.43.75.74&requiressl=yes&signature=0D3E964AAED674A7BA2EC670106DC273CE1458BD.CA3B80E042F6AC2F5CFD8E364​049B11008D5E69F&key=yt5&source=youtube&ratebypass=yes&dur=119.513&expire=1429282620&mime=video%2Fmp4&pl=24
03:57:04 T:3023966208   DEBUG: CPlayerCoreFactory::GetPlayers(https://r1---sn-uqx2-aphl.googlevideo.com/videoplayback?upn=rJxASwtMRes&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2C​pl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mt=1429260882&mv=m&initcwndbps=465000&itag=22&ms=au&mm=31&ipbits=0&fexp=900225%2C900720%2C901803%2C907263%2C910810%2C930827%2C932627%2C934954%2​C938028%2C9405186%2C9406039%2C9406849%2C9407115%2C9408206%2C9408347%2C9408475%2C​9408707%2C9408787%2C947233%2C948124%2C948703%2C951703%2C952612%2C957201%2C961404​%2C961406&id=o-AOqsVjjxPEvXfj2U5qI22pilc8DNDBTjnwL9jhCYzHOe&sver=3&ip=190.43.75.74&requiressl=yes&signature=0D3E964AAED674A7BA2EC670106DC273CE1458BD.CA3B80E042F6AC2F5CFD8E364​049B11008D5E69F&key=yt5&source=youtube&ratebypass=yes&dur=119.513&expire=1429282620&mime=video%2Fmp4&pl=24)
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
03:57:04 T:3023966208   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
03:57:04 T:3023966208   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
03:57:04 T:3023966208   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
03:57:04 T:3023966208   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
03:57:04 T:3023966208   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
03:57:04 T:3023966208   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
03:57:04 T:3023966208   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
03:57:04 T:2540385312    INFO: Python script stopped
03:57:04 T:2540385312   DEBUG: Thread LanguageInvoker 2540385312 terminating
03:57:04 T:3013604384   DEBUG: CAESinkPi:Drain delay:99ms now:0ms
03:57:04 T:3013604384   DEBUG: CAESinkPi:Deinitialize
03:57:04 T:3013604384   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000000
03:57:04 T:3013604384   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0x9a91f5a8
03:57:04 T:3023966208  NOTICE: DVDPlayer: Opening: https://r1---sn-uqx2-aphl.googlevideo.com/videoplayback?upn=rJxASwtMRes&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2C​pl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mt=1429260882&mv=m&initcwndbps=465000&itag=22&ms=au&mm=31&ipbits=0&fexp=900225%2C900720%2C901803%2C907263%2C910810%2C930827%2C932627%2C934954%2​C938028%2C9405186%2C9406039%2C9406849%2C9407115%2C9408206%2C9408347%2C9408475%2C​9408707%2C9408787%2C947233%2C948124%2C948703%2C951703%2C952612%2C957201%2C961404​%2C961406&id=o-AOqsVjjxPEvXfj2U5qI22pilc8DNDBTjnwL9jhCYzHOe&sver=3&ip=190.43.75.74&requiressl=yes&signature=0D3E964AAED674A7BA2EC670106DC273CE1458BD.CA3B80E042F6AC2F5CFD8E364​049B11008D5E69F&key=yt5&source=youtube&ratebypass=yes&dur=119.513&expire=1429282620&mime=video%2Fmp4&pl=24
03:57:04 T:3023966208 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
03:57:04 T:3023966208   DEBUG: CMMALRenderer::CMMALRenderer
03:57:04 T:3023966208   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
03:57:04 T:3023966208   DEBUG: CMMALRenderer::UnInit
03:57:04 T:3023966208   DEBUG: CMMALRenderer::PreInit
03:57:04 T:2633298976  NOTICE: Thread DVDPlayer start, auto delete: false
03:57:04 T:2633298976  NOTICE: Creating InputStream
03:57:04 T:2540385312  NOTICE: Thread CMMALRenderer start, auto delete: false
03:57:04 T:2633298976   DEBUG: CCurlFile::GetMimeType - https://r1---sn-uqx2-aphl.googlevideo.com/videoplayback?upn=rJxASwtMRes&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2C​pl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mt=1429260882&mv=m&initcwndbps=465000&itag=22&ms=au&mm=31&ipbits=0&fexp=900225%2C900720%2C901803%2C907263%2C910810%2C930827%2C932627%2C934954%2​C938028%2C9405186%2C9406039%2C9406849%2C9407115%2C9408206%2C9408347%2C9408475%2C​9408707%2C9408787%2C947233%2C948124%2C948703%2C951703%2C952612%2C957201%2C961404​%2C961406&id=o-AOqsVjjxPEvXfj2U5qI22pilc8DNDBTjnwL9jhCYzHOe&sver=3&ip=190.43.75.74&requiressl=yes&signature=0D3E964AAED674A7BA2EC670106DC273CE1458BD.CA3B80E042F6AC2F5CFD8E364​049B11008D5E69F&key=yt5&source=youtube&ratebypass=yes&dur=119.513&expire=1429282620&mime=video%2Fmp4&pl=24 -> video/mp4
03:57:04 T:2633298976   DEBUG: CFileCache::Open - opening <videoplayback> using cache
03:57:04 T:2633298976   ERROR: Open - Unhandled exception
03:57:04 T:2633298976   ERROR: Open - Error opening https://r1---sn-uqx2-aphl.googlevideo.com/videoplayback?upn=rJxASwtMRes&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2C​pl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mt=1429260882&mv=m&initcwndbps=465000&itag=22&ms=au&mm=31&ipbits=0&fexp=900225%2C900720%2C901803%2C907263%2C910810%2C930827%2C932627%2C934954%2​C938028%2C9405186%2C9406039%2C9406849%2C9407115%2C9408206%2C9408347%2C9408475%2C​9408707%2C9408787%2C947233%2C948124%2C948703%2C951703%2C952612%2C957201%2C961404​%2C961406&id=o-AOqsVjjxPEvXfj2U5qI22pilc8DNDBTjnwL9jhCYzHOe&sver=3&ip=190.43.75.74&requiressl=yes&signature=0D3E964AAED674A7BA2EC670106DC273CE1458BD.CA3B80E042F6AC2F5CFD8E364​049B11008D5E69F&key=yt5&source=youtube&ratebypass=yes&dur=119.513&expire=1429282620&mime=video%2Fmp4&pl=24
03:57:04 T:2633298976   ERROR: CDVDPlayer::OpenInputStream - error opening [https://r1---sn-uqx2-aphl.googlevideo.com/videoplayback?upn=rJxASwtMRes&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2C​pl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mt=1429260882&mv=m&initcwndbps=465000&itag=22&ms=au&mm=31&ipbits=0&fexp=900225%2C900720%2C901803%2C907263%2C910810%2C930827%2C932627%2C934954%2​C938028%2C9405186%2C9406039%2C9406849%2C9407115%2C9408206%2C9408347%2C9408475%2C​9408707%2C9408787%2C947233%2C948124%2C948703%2C951703%2C952612%2C957201%2C961404​%2C961406&id=o-AOqsVjjxPEvXfj2U5qI22pilc8DNDBTjnwL9jhCYzHOe&sver=3&ip=190.43.75.74&requiressl=yes&signature=0D3E964AAED674A7BA2EC670106DC273CE1458BD.CA3B80E042F6AC2F5CFD8E364​049B11008D5E69F&key=yt5&source=youtube&ratebypass=yes&dur=119.513&expire=1429282620&mime=video%2Fmp4&pl=24]
03:57:04 T:2633298976  NOTICE: CDVDPlayer::OnExit()
03:57:04 T:2633298976   DEBUG: OnPlayBackStopped: play state was 1, starting 1
03:57:04 T:3023966208   DEBUG: OnPlayBackStopped: play state was 3, starting 0
03:57:04 T:2633298976   DEBUG: Thread DVDPlayer 2633298976 terminating
03:57:04 T:3023966208   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
03:57:04 T:3023966208   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
03:57:04 T:3023966208   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=ngElkyQ6Rhs]
03:57:04 T:3023966208   DEBUG: Playlist Player: no more playable items... aborting playback

Magician^

#2

I want to confirm that adding:

<network>
<cachemembuffersize>20971520</cachemembuffersize>
</network>

to advancedsettings.xml fixed this error

#3

This seems very unlikely for two reasons.

One is that the default cachemembuffersize on a 512MB Pi is already 20MB so your setting is only setting it to the size it already was.

The second reason is that it has absolutely nothing to do with the error that you were seeing. So I’m afraid it’s just a co-incidence that it is working after you made this change.

#4

Hi DBMandrake, is not a coincidence, if you remove advancedsettings.xml the error is there again. Also that fix was reported in OpenElec forum: https://github.com/OpenELEC/OpenELEC.tv/issues/4115

Regards.