Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video opens in background #44

Open
bam80 opened this issue Nov 16, 2019 · 9 comments
Open

video opens in background #44

bam80 opened this issue Nov 16, 2019 · 9 comments

Comments

@bam80
Copy link

bam80 commented Nov 16, 2019

Sometimes next screensaver video runs in background.
In the log, last comp_C002_C005_0818SC_001_v01_6M_HB_tag0.mov playing was run in background, with MyPVRChannels.xml foreground window.
Relevant log part:

2019-11-17 00:57:37.463 T:4088206208   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
2019-11-17 00:57:37.330 T:4088209424   DEBUG: ------ Window Init (/storage/.kodi/addons/screensaver.atv4/resources/skins/default/1080i/screensaver-atv4.xml) ------
2019-11-17 00:57:37.330 T:4088209424  NOTICE: CVideoPlayer::CloseFile()
2019-11-17 00:57:37.330 T:4088209424   DEBUG: DeleteRenderer - deleting renderer
2019-11-17 00:57:37.330 T:4088209424  NOTICE: VideoPlayer: waiting for threads to exit
2019-11-17 00:57:37.339 T:3761238912  NOTICE: CVideoPlayer::OnExit()
2019-11-17 00:57:37.340 T:3761238912  NOTICE: Closing stream player 2
2019-11-17 00:57:37.340 T:3761238912  NOTICE: waiting for video thread to exit
2019-11-17 00:57:37.351 T:3702621056  NOTICE: thread end: video_thread
2019-11-17 00:57:37.351 T:3702621056   DEBUG: Thread VideoPlayerVideo 3702621056 terminating
2019-11-17 00:57:37.357 T:3761238912  NOTICE: deleting video codec
2019-11-17 00:57:37.357 T:3761238912   DEBUG: CAMLCodec::CloseDecoder
2019-11-17 00:57:37.398 T:3761238912   DEBUG: CAMLVideoBufferPool::~CAMLVideoBufferPool: Deleting 5 buffers
2019-11-17 00:57:37.399 T:3702621056   DEBUG: Thread JobWorker start, auto delete: true
2019-11-17 00:57:37.403 T:3719406464   DEBUG: Thread FileCache 3719406464 terminating
2019-11-17 00:57:37.423 T:3761238912   DEBUG: Thread VideoPlayer 3761238912 terminating
2019-11-17 00:57:37.423 T:4088209424  NOTICE: VideoPlayer: finished waiting
2019-11-17 00:57:37.423 T:4088209424  NOTICE: CVideoPlayer::CloseFile()
2019-11-17 00:57:37.423 T:4088209424  NOTICE: VideoPlayer: waiting for threads to exit
2019-11-17 00:57:37.423 T:4088209424  NOTICE: VideoPlayer: finished waiting
2019-11-17 00:57:37.425 T:3761238912   DEBUG: Thread JobWorker start, auto delete: true
2019-11-17 00:57:37.425 T:3702621056   DEBUG: DoWork - Saving file state for video item http://a1.phobos.apple.com/us/r1000/000/Features/atv/AutumnResources/videos/b9-1.mov
2019-11-17 00:57:37.428 T:4088209424   DEBUG: Radio UECP (RDS) Processor - delete ~CDVDRadioRDSData
2019-11-17 00:57:37.441 T:3702621056   DEBUG: OnPlayBackStopped: CApplication::OnPlayBackStopped
2019-11-17 00:57:37.463 T:4088206208   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
2019-11-17 00:57:37.464 T:4088206208   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
2019-11-17 00:57:37.772 T:4088209424   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
2019-11-17 00:57:37.772 T:4088209424   DEBUG: ------ Window Deinit (/storage/.kodi/addons/screensaver.atv4/resources/skins/default/1080i/screensaver-atv4.xml) ------
2019-11-17 00:57:37.773 T:4088209424   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
2019-11-17 00:57:37.773 T:4088209424   DEBUG: ------ Window Init (MyPVRChannels.xml) ------
2019-11-17 00:57:37.776 T:4088209424   DEBUG: CGUIMediaWindow::GetDirectory (pvr://channels/tv/All channels/)
2019-11-17 00:57:37.776 T:4088209424   DEBUG:   ParentPath = [pvr://channels/tv/All channels/]
2019-11-17 00:57:38.219 T:4088209424   DEBUG: ------ Window Init (/storage/.kodi/addons/screensaver.atv4/resources/skins/default/1080i/screensaver-atv4-trans.xml) ------
2019-11-17 00:57:38.219 T:4088209424    INFO: Loading skin file: /storage/.kodi/addons/screensaver.atv4/resources/skins/default/1080i/screensaver-atv4-trans.xml, load type: LOAD_ON_GUI_INIT
@jac4e
Copy link

jac4e commented Feb 7, 2022

I am also experiencing this issue, when the screensaver has been playing for an extended period of time, it can no longer be stopped and constantly plays in the background. Only way to get it to stop is to reboot the system. Its almost as if its not acting as a screensaver anymore, but a unstoppable video playlist.

To add more information, I'm experiencing it on Kodi 19.3 and atv4 3.0.3.

@bam80
Copy link
Author

bam80 commented Feb 7, 2022

Thanks, did you try it on Matrix?

@graysky2
Copy link
Contributor

graysky2 commented Feb 7, 2022

For me, it only happens when I hit the "home" button on the iOS official kodi app. When I control kodi with my IR remote, I do not have this problem. Very easy to trigger this bug.

  1. Wait for screen saver to activate
  2. Hit the home button on the app

Running latest commit from Matrix branch.

@bam80
Copy link
Author

bam80 commented Feb 7, 2022

@graysky2 thanks, would debug logs show us something when it happens?

@graysky2
Copy link
Contributor

graysky2 commented Feb 7, 2022

I do not know. Try it.

@bam80
Copy link
Author

bam80 commented Feb 7, 2022

@graysky2 I don't have iOS.

@graysky2
Copy link
Contributor

graysky2 commented Feb 7, 2022

Android? See if you can trigger the bug as I described above.

@bam80
Copy link
Author

bam80 commented Feb 8, 2022

@graysky2 on Android, Home button shows system launcher.
On return to the app, no issue.
Could you take debug logs, please?

@bam80
Copy link
Author

bam80 commented Feb 8, 2022

Got the issue on Android. It's something with tinkering with Back key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants