Bug 426154 - Display play time for video files
Summary: Display play time for video files
Status: RESOLVED DUPLICATE of bug 406506
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 20.08.0
Platform: Other Other
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-03 18:36 UTC by postix
Modified: 2020-11-03 12:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.