Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PR #27176 introduced excessive calls to UpdateFileItemStreamDetails #27533

@CastagnaIT

Description

@CastagnaIT

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

I dont think its a real bug, it could be simply be a poor implementation

each time you play a video the log is spammed by tons of

2025-11-29 13:34:28.669 T:3480    debug <general>: CVideoPlayer: updating file item stream details with available streams
2025-11-29 13:34:32.198 T:2232     info <general>: Skipped 17 duplicate messages..

this is caused by the new code

// Save state of the current stream (for blurays/DVDs)
CFileItem item;
UpdateFileItemStreamDetails(item, UpdateStreamDetails::ALWAYS_UPDATE);
if (item.HasVideoInfoTag())
m_pInputStream->SaveCurrentState(item.GetVideoInfoTag()->m_streamDetails);

introduced by PR #27176

The code says that it is specific to Blu-rays/DVDs, so i wonder why not limit this execution to those cases?
or whether to eliminate the log, or else find a better optimization for these calls

To Reproduce

Steps to reproduce the behavior:

  1. play a video

Debuglog

The debuglog can be found here:
https://paste.kodi.tv/uzasikarof.kodi

Your Environment

Used Operating system:

  • Android

  • iOS

  • tvOS

  • Linux

  • macOS

  • Windows

  • Windows UWP

  • Operating system version/name: Windows 11

  • Kodi version: Kodi 22 master branch

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

Metadata

Metadata

Assignees

Labels

Component: PlayersFor changed player parts within "./xbmc/cores"Triage: Confirmedissue has been reproduced by a team memberv22 Piers

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions