diff options
| author | Arie Miller <[email protected]> | 2026-02-11 21:46:14 -0500 |
|---|---|---|
| committer | Arie Miller <[email protected]> | 2026-02-11 21:49:32 -0500 |
| commit | bf94fe656c691908928cf59c1ff526fe5afc611e (patch) | |
| tree | b9969f5ecc3fceb3f4e5e51d7caa1de442ddf35c /src/kitemviews/kfileitemmodel.cpp | |
| parent | 0786d9433204aa81c411511feda0a34b1c234ff6 (diff) | |
kitemviews: add columns for audio/video codec, color space, and pixel format
Diffstat (limited to 'src/kitemviews/kfileitemmodel.cpp')
| -rw-r--r-- | src/kitemviews/kfileitemmodel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp index e4ac1dba0..7df01112a 100644 --- a/src/kitemviews/kfileitemmodel.cpp +++ b/src/kitemviews/kfileitemmodel.cpp @@ -2833,9 +2833,13 @@ const KFileItemModel::RoleInfoMap *KFileItemModel::rolesInfoMap(int &count) { "bitrate", BitrateRole, kli18nc("@label", "Bitrate"), kli18nc("@label", "Audio"), KLazyLocalizedString(), true, true }, { "track", TrackRole, kli18nc("@label", "Track"), kli18nc("@label", "Audio"), KLazyLocalizedString(), true, true }, { "releaseYear", ReleaseYearRole, kli18nc("@label", "Release Year"), kli18nc("@label", "Audio"), KLazyLocalizedString(), true, true }, + { "audioCodec", AudioCodecRole, kli18nc("@label", "Audio Codec"), kli18nc("@label", "Audio"), KLazyLocalizedString(), true, true }, { "aspectRatio", AspectRatioRole, kli18nc("@label", "Aspect Ratio"), kli18nc("@label", "Video"), KLazyLocalizedString(), true, true }, { "frameRate", FrameRateRole, kli18nc("@label", "Frame Rate"), kli18nc("@label", "Video"), KLazyLocalizedString(), true, true }, { "duration", DurationRole, kli18nc("@label", "Duration"), kli18nc("@label", "Video"), KLazyLocalizedString(), true, true }, + { "videoCodec", VideoCodecRole, kli18nc("@label", "Video Codec"), kli18nc("@label", "Video"), KLazyLocalizedString(), true, true }, + { "pixelFormat", PixelFormatRole, kli18nc("@label", "Pixel Format"), kli18nc("@label", "Video"), KLazyLocalizedString(), true, true }, + { "colorSpace", ColorSpaceRole, kli18nc("@label", "Color Space"), kli18nc("@label", "Video"), KLazyLocalizedString(), true, true }, { "path", PathRole, kli18nc("@label", "Path"), kli18nc("@label", "Other"), KLazyLocalizedString(), false, false }, { "extension", ExtensionRole, kli18nc("@label", "File Extension"), kli18nc("@label", "Other"), KLazyLocalizedString(), false, false }, { "deletiontime", DeletionTimeRole, kli18nc("@label", "Deletion Time"), kli18nc("@label", "Other"), KLazyLocalizedString(), false, false }, |
