Bug 426154

Summary: Display play time for video files
Product: [Applications] dolphin Reporter: postix <postix>
Component: view-engine: details modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: kfm-devel, meven29, postix
Priority: NOR    
Version: 20.08.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description postix 2020-09-03 18:36:14 UTC
For audio files one can already display a column with the play time, however it would be convenient if it were possible for video files as well.

The information seem to be available already as the information pane (F11) shows the correct play time for my *.mp4's.
Comment 1 Méven Car 2020-11-01 06:14:47 UTC
If you activate audio > Duration, the duration is filled for video files supported.
It works for mp4 but not for mkv for instance.
Comment 2 postix 2020-11-01 10:08:33 UTC
(In reply to Méven Car from comment #1)
> If you activate audio > Duration, the duration is filled for video files
> supported.
> It works for mp4 but not for mkv for instance.

I tried this but for none of my mp4's the duration is shown. Is there something else to install to make it work?
Comment 3 Méven Car 2020-11-01 15:08:52 UTC
Well first you will need baloo aka file indexer/research, this is the one responsible for extracting this metadata.
There is a already bug reported asking to untie the metadata feature from baloo already btw,  https://bugs.kde.org/show_bug.cgi?id=406506.
Then you'd need KFileMetadata lib which should be installed with dolphin I would guess.

I am marking this as duplicate as I feel it is the same issue you encounter : no video file metadata in details when not using baloo.

*** This bug has been marked as a duplicate of bug 406506 ***
Comment 4 postix 2020-11-01 15:32:23 UTC
Oh, I don't use Baloo at all and I don't understand why it's necessary for that, because the details pane (F11) already shows the correct duration, so Baloo seems redundant to me in this case.
Comment 5 postix 2020-11-01 15:37:24 UTC
> I am marking this as duplicate as I feel it is the same issue you encounter : no video file metadata in details when not using baloo.

That's correct! :)

I just think that's actually everything required already exists to extract the information (see post above) it just needs to be adjusted accordingly.
Comment 6 Méven Car 2020-11-03 12:27:02 UTC
(In reply to Postix from comment #4)
> Oh, I don't use Baloo at all and I don't understand why it's necessary for
> that, because the details pane (F11) already shows the correct duration, so
> Baloo seems redundant to me in this case.

The information Panel uses baloo in fact in on-demand mode, meaning it parses files without using its DB or indexing the file.