koying / SPMC

fork of xbmc/kodi
Other
632 stars 257 forks source link

Random automatic pause #631

Open kid666 opened 7 years ago

kid666 commented 7 years ago

Sometimes it happens the video go in pause, but i not press any buttons of ir control than i press play and video go on...

mLgz0rn commented 7 years ago

I got the same issue, I have no idea if it's after 60 minutes. But it does pause by itself, both when streaming but also when playing a movie. It just pauses by itself.

JFG90 commented 7 years ago

Mine has been doing this recently to

eschefer commented 7 years ago

The pause is very random, from 5min up to 90 min, so I try with Krypton to see if the problem was gone, on Krypton it does not pause, it stops the movie.

Nvidea Shield TV (SW 3.3) SPMC 16.5 Nvidea Shield TV (SW 3.3) KODI 17.0 RC

kid666 commented 7 years ago

I'm not alone...

status42 commented 7 years ago

getting random pausing with SPMC 16.5.5 NVIDIA DHEILD TV

Ulster94 commented 7 years ago

This is probably not related to SPMC or Kodi, this might be forced by your shield remote control. There were a couple of similar issues discussed within the nvidia board (unexpected pause, jumps to homescreen, playback stop ...)

I was suffering on that issue as well - I opened a services request at nvidia (got my shield directly from nvidia) and they exchanged my remote control. Problems are gone.

Another similar issue (I also got that one year ago) was caused by my own network. In case you are running a xupnpd server (DLNA Server) in your intranet disable that one and verify whether the issue still exists. In my case a DVB receiver (another guy reported a Synology NAS) - the running xupnpd was sending out its SSDP broadcasts which stopped/paused/whatever Kodi playback after a while (30 min. upto 90 min.)

See my summary:

https://forums.geforce.com/default/topic/886588/shield-android-tv/shield-android-tv-as-network-mediaplayer/post/4788134/#4788134

status42 commented 7 years ago

I do not use the sheild remote control I have a harmony remote control and had no problems up until I updated to the latest smock update

HDGuy commented 7 years ago

Uninstall or force stop on Spotify and/or disable Plex Server. That might work.

serhatkorkmaz1 commented 7 years ago

I have the same issue with my android box (mini m8s II) with SPMC 16.5.5, so it's not only the Shield. I haven't got spotify or plex server installed.

clown522 commented 7 years ago

With Sony Android TV same problem.

status42 commented 7 years ago

Ok so I have now deleted the plex app don't have Spotify I have disabled all Addams in spmc and still getting pauses the media player now unuserble if I had not had it so long I wold return it I am now going back to using the dune base 3D until this is sorted out

mLgz0rn commented 7 years ago

I run a xtreamer wonder. No spotify or plex installed, and there has never been.

eschefer commented 7 years ago

Thank You Ulster94 for putting me in the right direction, by me it was a issue at my own network. I have a ASUS RT-AC66U router (advanced tomato firmware) and I flash it it with Merlin firmware, disabled UPNP on the router and everything in Kodi/Spmc that I don't use under "system/services" like UPNP.... My NAS has only FTP and SMB it works greet now even my network passthroug went up with 15Mb/s, I had no more problems with pauses in the last 2 weeks ! Not from my NAS and not from Internet. My problem is solved. It was my own network that causes the problem.

koying commented 7 years ago

Ah, some info :) There are recurring reports of issues with Kodi/SPMC when some UPnP devices on the network are flooding.

Shouldn't impact SPMC if UPnP is disabled, so something to be investigated

JFG90 commented 7 years ago

I'm not sure but it could also be es file Explorer causing the pause, I'm guessing it must have had an update recently because I've noticed random adds have started to appear on screen, earlier my playback paused by itself then es Explorer ad appeared on screen, i might be wrong but for now I've uninstalled es Explorer and will see if it makes a difference, it could be that its running in the back ground and interfacing with spmc when an advert pops up

koying commented 7 years ago

ES explorer must die anyway. Can of ugly worms

guidosarducci commented 7 years ago

I can confirm. I had thought before it was just some SATV issue that started a couple of weeks ago, but just recently I had a few phantom pauses on my AFTVv1 and tracked some down to ES File Explorer.

There's an ESFE "RemainTransitionActivity" that starts up for only ~300ms and temporarily takes focus, causing SPMC onPause() to fire, which also internally sends a "pause" message to the player. However, although SPMC gets focus back right away and calls onResume(), it doesn't send an "unpause" message to the player. Is that by design @koying? I've also never seen any ads appear ever.

There's still something odd though, because on one occasion I saw a time-stamped logcat show the Play/Pause key being pressed at the time I'm sure my remote was out of my hands.

koying commented 7 years ago

However, although SPMC gets focus back right away and calls onResume(), it doesn't send an "unpause" message to the player. Is that by design

Yep, by design. I don't "auto-resume" (no app does, afaik)