From 5ae7d591d5f9f9dc3c4ae157fe75269d2a985182 Mon Sep 17 00:00:00 2001 From: Michael Aguiar Date: Wed, 2 Dec 2026 18:31:50 -0700 Subject: [PATCH 1/5] ALI-2360: List the video and music MIME types in the desktop file Alias View plays video and music since ALI-2358, but its desktop file still listed only picture types, so "Open with" and xdg-open never offered it for them. MimeType= now also lists the shared-mime-info type of every extension the player accepts (VIDEO and MUSIC in src/player/mod.rs), with the common aliases shared-mime-info defines. The README's format list now matches the code (mpg, ogm, 3g2, oga and aif were missing). --- README.md | 7 +++++-- packaging/com.aliasproject.view.desktop | 6 ++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2f19427..befe48e 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,11 @@ file that claims more is shown at screen size where its format allows that witho holding the whole picture (baseline JPEG, PNG that isn't interlaced); zooming in then enlarges the screen copy and says why, and copying offers only the file itself. -Video: mp4, m4v, mkv, webm, mov, avi, flv, wmv, mpeg, ogv, 3gp and asf. Music: mp3, flac, -ogg, opus, m4a, aac, wav, wma, aiff, mka, wv and ape, with the cover art the file holds. +Video: mp4, m4v, mkv, webm, mov, avi, flv, wmv, mpeg and mpg, ogv, ogm, 3gp, 3g2 and asf. +Music: mp3, flac, ogg and oga, opus, m4a, aac, wav, wma, aiff and aif, mka, wv and ape, with +the cover art the file holds. A video or song is known by its extension, and the desktop +file (`packaging/com.aliasproject.view.desktop`) lists those extensions' MIME types, so +"Open with" and `xdg-open` offer Alias View for them. They play in [alias-playback](https://github.com/aliasproject/alias-playback)'s GPU helper: libmpv in a bubblewrap jail (with Landlock and a seccomp filter), decoding on the graphics card where it can (NVDEC, VA-API or V4L2, else the CPU) and drawing into diff --git a/packaging/com.aliasproject.view.desktop b/packaging/com.aliasproject.view.desktop index 7a53034..642e907 100644 --- a/packaging/com.aliasproject.view.desktop +++ b/packaging/com.aliasproject.view.desktop @@ -1,4 +1,6 @@ -# The MIME types are the formats Alias View opens. Video and audio stay with mpv. +# The MIME types are the formats Alias View opens: pictures, then video, then music. It +# picks a video or song by its file extension (VIDEO and MUSIC in src/player/mod.rs), so +# every type here is one of those extensions' shared-mime-info types or an alias of one. [Desktop Entry] Type=Application Name=Picture Viewer @@ -11,4 +13,4 @@ Categories=Graphics;Viewer; StartupNotify=false Keywords=alias-view;Alias View;picture;photo;image;viewer; StartupWMClass=com.aliasproject.view -MimeType=image/jpeg;image/pjpeg;image/png;image/apng;image/gif;image/webp;image/bmp;image/x-bmp;image/x-ms-bmp;image/tiff;image/vnd.microsoft.icon;image/x-icon;image/avif;image/heic;image/heif;image/heic-sequence;image/heif-sequence;image/jxl;image/svg+xml;image/svg+xml-compressed; +MimeType=image/jpeg;image/pjpeg;image/png;image/apng;image/gif;image/webp;image/bmp;image/x-bmp;image/x-ms-bmp;image/tiff;image/vnd.microsoft.icon;image/x-icon;image/avif;image/heic;image/heif;image/heic-sequence;image/heif-sequence;image/jxl;image/svg+xml;image/svg+xml-compressed;video/mp4;video/x-m4v;video/matroska;video/x-matroska;video/webm;video/quicktime;video/vnd.avi;video/x-msvideo;video/avi;video/x-flv;video/x-ms-wmv;video/mpeg;video/ogg;video/x-ogm+ogg;video/x-theora+ogg;video/3gpp;video/3gpp2;application/vnd.ms-asf;video/x-ms-asf;audio/mpeg;audio/mp3;audio/x-mp3;audio/flac;audio/x-flac;audio/ogg;audio/x-vorbis+ogg;audio/x-flac+ogg;audio/x-opus+ogg;audio/mp4;audio/x-m4a;audio/aac;audio/x-aac;audio/vnd.wave;audio/wav;audio/x-wav;audio/x-ms-wma;audio/x-aiff;audio/matroska;audio/x-matroska;audio/x-wavpack;audio/x-ape; From c0ad5b272b7862b3a2606ae02e4b7890b4dbadcd Mon Sep 17 00:00:00 2001 From: Michael Aguiar Date: Wed, 2 Dec 2026 18:34:38 -0700 Subject: [PATCH 2/5] Say in the README that a listed type's other extensions don't play The desktop file's types also cover extensions the player doesn't accept (.vob, .qt, .f4v and others). Such a file opens as a picture and fails, and the README now says so. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index befe48e..571e9ee 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,9 @@ Video: mp4, m4v, mkv, webm, mov, avi, flv, wmv, mpeg and mpg, ogv, ogm, 3gp, 3g2 Music: mp3, flac, ogg and oga, opus, m4a, aac, wav, wma, aiff and aif, mka, wv and ape, with the cover art the file holds. A video or song is known by its extension, and the desktop file (`packaging/com.aliasproject.view.desktop`) lists those extensions' MIME types, so -"Open with" and `xdg-open` offer Alias View for them. +"Open with" and `xdg-open` offer Alias View for them. Some of those types have other +extensions too (.vob for MPEG, .qt for QuickTime, .f4v for MP4 and more); a file with one of +those isn't played, but opened as a picture, which fails. They play in [alias-playback](https://github.com/aliasproject/alias-playback)'s GPU helper: libmpv in a bubblewrap jail (with Landlock and a seccomp filter), decoding on the graphics card where it can (NVDEC, VA-API or V4L2, else the CPU) and drawing into From d3833cc67dbbf752ce73e51e05368b242e65a221 Mon Sep 17 00:00:00 2001 From: Michael Aguiar Date: Wed, 2 Dec 2026 18:37:12 -0700 Subject: [PATCH 3/5] List audio/x-speex+ogg, and word the desktop file's comment exactly Speex in an .ogg or .oga file, which the player accepts and plays, is given audio/x-speex+ogg, so it belongs in the list like the other Ogg codecs. The Ogg codec types come from a file's contents, not its name, and the comment now says so. --- packaging/com.aliasproject.view.desktop | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/com.aliasproject.view.desktop b/packaging/com.aliasproject.view.desktop index 642e907..58efad6 100644 --- a/packaging/com.aliasproject.view.desktop +++ b/packaging/com.aliasproject.view.desktop @@ -1,6 +1,7 @@ # The MIME types are the formats Alias View opens: pictures, then video, then music. It # picks a video or song by its file extension (VIDEO and MUSIC in src/player/mod.rs), so -# every type here is one of those extensions' shared-mime-info types or an alias of one. +# every type here is a shared-mime-info type (or an alias of one) that files with those +# extensions are given, by name or, for the Ogg codecs, by their contents. [Desktop Entry] Type=Application Name=Picture Viewer @@ -13,4 +14,4 @@ Categories=Graphics;Viewer; StartupNotify=false Keywords=alias-view;Alias View;picture;photo;image;viewer; StartupWMClass=com.aliasproject.view -MimeType=image/jpeg;image/pjpeg;image/png;image/apng;image/gif;image/webp;image/bmp;image/x-bmp;image/x-ms-bmp;image/tiff;image/vnd.microsoft.icon;image/x-icon;image/avif;image/heic;image/heif;image/heic-sequence;image/heif-sequence;image/jxl;image/svg+xml;image/svg+xml-compressed;video/mp4;video/x-m4v;video/matroska;video/x-matroska;video/webm;video/quicktime;video/vnd.avi;video/x-msvideo;video/avi;video/x-flv;video/x-ms-wmv;video/mpeg;video/ogg;video/x-ogm+ogg;video/x-theora+ogg;video/3gpp;video/3gpp2;application/vnd.ms-asf;video/x-ms-asf;audio/mpeg;audio/mp3;audio/x-mp3;audio/flac;audio/x-flac;audio/ogg;audio/x-vorbis+ogg;audio/x-flac+ogg;audio/x-opus+ogg;audio/mp4;audio/x-m4a;audio/aac;audio/x-aac;audio/vnd.wave;audio/wav;audio/x-wav;audio/x-ms-wma;audio/x-aiff;audio/matroska;audio/x-matroska;audio/x-wavpack;audio/x-ape; +MimeType=image/jpeg;image/pjpeg;image/png;image/apng;image/gif;image/webp;image/bmp;image/x-bmp;image/x-ms-bmp;image/tiff;image/vnd.microsoft.icon;image/x-icon;image/avif;image/heic;image/heif;image/heic-sequence;image/heif-sequence;image/jxl;image/svg+xml;image/svg+xml-compressed;video/mp4;video/x-m4v;video/matroska;video/x-matroska;video/webm;video/quicktime;video/vnd.avi;video/x-msvideo;video/avi;video/x-flv;video/x-ms-wmv;video/mpeg;video/ogg;video/x-ogm+ogg;video/x-theora+ogg;video/3gpp;video/3gpp2;application/vnd.ms-asf;video/x-ms-asf;audio/mpeg;audio/mp3;audio/x-mp3;audio/flac;audio/x-flac;audio/ogg;audio/x-vorbis+ogg;audio/x-flac+ogg;audio/x-opus+ogg;audio/x-speex+ogg;audio/mp4;audio/x-m4a;audio/aac;audio/x-aac;audio/vnd.wave;audio/wav;audio/x-wav;audio/x-ms-wma;audio/x-aiff;audio/matroska;audio/x-matroska;audio/x-wavpack;audio/x-ape; From f9b6f36b4314ac463af03e3ff826e32293acc190 Mon Sep 17 00:00:00 2001 From: Michael Aguiar Date: Wed, 2 Dec 2026 19:40:15 -0700 Subject: [PATCH 4/5] Play every name the listed types cover, and call the app Media Viewer The desktop file's types also cover extensions the player didn't accept (.vob, .qt, .f4v and others), so "Open with" handed those files over and they failed as pictures. The player now accepts them: .f4v, .lrv, .lrf, .qt, .moov, .divx, .avf, .vob, .mpe, .3gpp, .3gp2 and .3gpp2 as video, and .mpga, .mp2, .f4a, .adts, .spx, .wvp and .3ga as music. Each was checked with a sample through the local libmpv and ffmpeg. .mp2 brings audio/mp2 into the desktop file. .ass (a subtitle name), .qtvr (QuickTime VR) and the NNN.vdr pattern stay out. The desktop entry is now "Media Viewer", the name Omarchy's Omaview uses, with categories and keywords for video and music as well as pictures. The README, the crate description and main.rs's doc say the same. --- Cargo.toml | 2 +- README.md | 18 +++++++------- packaging/com.aliasproject.view.desktop | 12 ++++----- src/main.rs | 2 +- src/player/mod.rs | 33 +++++++++++++++++++++---- 5 files changed, 45 insertions(+), 22 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 464548d..34ae3c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "alias-view" version = "0.1.0" edition = "2024" license = "MIT" -description = "aliasOS's picture viewer" +description = "aliasOS's media viewer: pictures, video and music" publish = false [dependencies] diff --git a/README.md b/README.md index 571e9ee..7c0ef6e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Alias View -aliasOS's picture viewer, which also plays video and music (ALI-2358, to replace `mpv`). It -replaces `imv` as the default for pictures. Rust, drawn on the CPU straight onto Wayland with no toolkit, in +aliasOS's media viewer ("Media Viewer" in the launcher): pictures, and video and music +(ALI-2358, to replace `mpv`). It replaces `imv` as the default for pictures. Rust, drawn on the CPU straight onto Wayland with no toolkit, in the style of [Gannet](../gannet), aliasOS's file manager. alias-view FILE... # those pictures (or videos and songs), in that order @@ -70,13 +70,13 @@ file that claims more is shown at screen size where its format allows that witho holding the whole picture (baseline JPEG, PNG that isn't interlaced); zooming in then enlarges the screen copy and says why, and copying offers only the file itself. -Video: mp4, m4v, mkv, webm, mov, avi, flv, wmv, mpeg and mpg, ogv, ogm, 3gp, 3g2 and asf. -Music: mp3, flac, ogg and oga, opus, m4a, aac, wav, wma, aiff and aif, mka, wv and ape, with -the cover art the file holds. A video or song is known by its extension, and the desktop -file (`packaging/com.aliasproject.view.desktop`) lists those extensions' MIME types, so -"Open with" and `xdg-open` offer Alias View for them. Some of those types have other -extensions too (.vob for MPEG, .qt for QuickTime, .f4v for MP4 and more); a file with one of -those isn't played, but opened as a picture, which fails. +Video: mp4, m4v, f4v, lrv and lrf, mkv, webm, mov, qt and moov, avi, divx and avf, flv, +wmv, mpeg, mpg, mpe and vob, ogv, ogm, 3gp and 3gpp, 3g2, 3gp2 and 3gpp2, and asf. Music: +mp3 and mpga, mp2, flac, ogg, oga, opus and spx, m4a and f4a, aac and adts, wav, wma, aiff +and aif, mka, wv and wvp, ape, and 3ga, with the cover art the file holds. A video or song +is known by its extension, and the desktop file (`packaging/com.aliasproject.view.desktop`) +lists those extensions' MIME types, so "Open with" and `xdg-open` offer Alias View for +them. They play in [alias-playback](https://github.com/aliasproject/alias-playback)'s GPU helper: libmpv in a bubblewrap jail (with Landlock and a seccomp filter), decoding on the graphics card where it can (NVDEC, VA-API or V4L2, else the CPU) and drawing into diff --git a/packaging/com.aliasproject.view.desktop b/packaging/com.aliasproject.view.desktop index 58efad6..562e534 100644 --- a/packaging/com.aliasproject.view.desktop +++ b/packaging/com.aliasproject.view.desktop @@ -4,14 +4,14 @@ # extensions are given, by name or, for the Ogg codecs, by their contents. [Desktop Entry] Type=Application -Name=Picture Viewer -GenericName=Picture Viewer -Comment=A very fast picture viewer +Name=Media Viewer +GenericName=Media Viewer +Comment=A very fast viewer for pictures, video and music Exec=alias-view %F Icon=com.aliasproject.view Terminal=false -Categories=Graphics;Viewer; +Categories=Graphics;Viewer;AudioVideo;Audio;Video;Player; StartupNotify=false -Keywords=alias-view;Alias View;picture;photo;image;viewer; +Keywords=alias-view;Alias View;picture;photo;image;viewer;video;movie;music;song;player; StartupWMClass=com.aliasproject.view -MimeType=image/jpeg;image/pjpeg;image/png;image/apng;image/gif;image/webp;image/bmp;image/x-bmp;image/x-ms-bmp;image/tiff;image/vnd.microsoft.icon;image/x-icon;image/avif;image/heic;image/heif;image/heic-sequence;image/heif-sequence;image/jxl;image/svg+xml;image/svg+xml-compressed;video/mp4;video/x-m4v;video/matroska;video/x-matroska;video/webm;video/quicktime;video/vnd.avi;video/x-msvideo;video/avi;video/x-flv;video/x-ms-wmv;video/mpeg;video/ogg;video/x-ogm+ogg;video/x-theora+ogg;video/3gpp;video/3gpp2;application/vnd.ms-asf;video/x-ms-asf;audio/mpeg;audio/mp3;audio/x-mp3;audio/flac;audio/x-flac;audio/ogg;audio/x-vorbis+ogg;audio/x-flac+ogg;audio/x-opus+ogg;audio/x-speex+ogg;audio/mp4;audio/x-m4a;audio/aac;audio/x-aac;audio/vnd.wave;audio/wav;audio/x-wav;audio/x-ms-wma;audio/x-aiff;audio/matroska;audio/x-matroska;audio/x-wavpack;audio/x-ape; +MimeType=image/jpeg;image/pjpeg;image/png;image/apng;image/gif;image/webp;image/bmp;image/x-bmp;image/x-ms-bmp;image/tiff;image/vnd.microsoft.icon;image/x-icon;image/avif;image/heic;image/heif;image/heic-sequence;image/heif-sequence;image/jxl;image/svg+xml;image/svg+xml-compressed;video/mp4;video/x-m4v;video/matroska;video/x-matroska;video/webm;video/quicktime;video/vnd.avi;video/x-msvideo;video/avi;video/x-flv;video/x-ms-wmv;video/mpeg;video/ogg;video/x-ogm+ogg;video/x-theora+ogg;video/3gpp;video/3gpp2;application/vnd.ms-asf;video/x-ms-asf;audio/mpeg;audio/mp3;audio/x-mp3;audio/mp2;audio/x-mp2;audio/flac;audio/x-flac;audio/ogg;audio/x-vorbis+ogg;audio/x-flac+ogg;audio/x-opus+ogg;audio/x-speex+ogg;audio/mp4;audio/x-m4a;audio/aac;audio/x-aac;audio/vnd.wave;audio/wav;audio/x-wav;audio/x-ms-wma;audio/x-aiff;audio/matroska;audio/x-matroska;audio/x-wavpack;audio/x-ape; diff --git a/src/main.rs b/src/main.rs index aaa4337..875c78b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -//! Alias View: aliasOS's picture viewer. +//! Alias View: aliasOS's media viewer, for pictures, video and music. //! //! Startup is the point: the first picture is read on its own thread while the Wayland //! connection comes up, and once its size is known the window opens around it. A JPEG diff --git a/src/player/mod.rs b/src/player/mod.rs index b71cb62..e55004e 100644 --- a/src/player/mod.rs +++ b/src/player/mod.rs @@ -15,12 +15,19 @@ use crate::canvas::Rect; use crate::wl::{VIDEO_SLOTS, VideoBuffer, Wl}; use gpu::{Command, MetaField, Said, Session}; -/// The containers aliasOS sends to a video player (`install/user/mimetypes.sh`), and their -/// usual other names. -const VIDEO: &[&str] = &["mp4", "m4v", "mkv", "webm", "mov", "avi", "flv", "wmv", "mpeg", "mpg", "ogv", "ogm", "3gp", "3g2", "asf"]; +/// The containers aliasOS sends to a video player (`install/user/mimetypes.sh`), and every +/// other name shared-mime-info gives their types, so whatever the desktop file's `MimeType=` +/// brings in plays: .f4v, .lrv and .lrf are MP4; .qt and .moov QuickTime; .divx and .avf +/// AVI; .vob and .mpe MPEG; .3gpp, .3gp2 and .3gpp2 3GPP. Left out: .qtvr (QuickTime VR +/// panoramas and object movies, which libmpv can't show as they're meant to be). +const VIDEO: &[&str] = &[ + "mp4", "m4v", "f4v", "lrv", "lrf", "mkv", "webm", "mov", "qt", "moov", "avi", "divx", "avf", "flv", "wmv", "mpeg", "mpg", "mpe", "vob", "ogv", "ogm", "3gp", "3gpp", "3g2", "3gp2", "3gpp2", "asf", +]; /// Sound files. Plain `.ogg` is here: it's nearly always sound, and a video in one still -/// plays, shown as its picture. -const MUSIC: &[&str] = &["mp3", "flac", "ogg", "oga", "opus", "m4a", "aac", "wav", "wma", "aif", "aiff", "mka", "wv", "ape"]; +/// plays, shown as its picture. So are .mp2 (MPEG audio, `audio/mp2`) and .3ga (3GPP's +/// sound-only name, AMR from phone recorders), though shared-mime-info also gives them +/// video types. .mpga is MP3, .f4a MP4 audio, .adts AAC, .spx Speex in Ogg and .wvp WavPack. +const MUSIC: &[&str] = &["mp3", "mpga", "mp2", "flac", "ogg", "oga", "opus", "spx", "m4a", "f4a", "aac", "adts", "wav", "wma", "aif", "aiff", "mka", "wv", "wvp", "ape", "3ga"]; #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub enum Kind { @@ -437,6 +444,22 @@ mod tests { assert_eq!(kind_of_name("mp4"), None); } + /// Every extension shared-mime-info gives a type in the desktop file's `MimeType=`, so a + /// file "Open with" hands over plays rather than failing as a picture. .ass (a subtitle + /// name `audio/aac` also claims), .qtvr (QuickTime VR) and `NNN.vdr` stay out. + #[test] + fn the_desktop_files_other_names_play() { + for ext in ["f4v", "lrv", "lrf", "qt", "moov", "divx", "avf", "vob", "mpe", "3gpp", "3gp2", "3gpp2"] { + assert_eq!(kind_of_name(&format!("clip.{ext}")), Some(Kind::Video), "{ext}"); + } + for ext in ["mp2", "mpga", "f4a", "adts", "spx", "wvp", "3ga"] { + assert_eq!(kind_of_name(&format!("song.{ext}")), Some(Kind::Music), "{ext}"); + } + for name in ["subs.ass", "pano.qtvr", "001.vdr"] { + assert_eq!(kind_of_name(name), None, "{name}"); + } + } + #[test] fn no_name_is_both_a_picture_and_media() { for ext in VIDEO.iter().chain(MUSIC) { From a9a3dd9bf478f4fe3c9586ee0bf864b1d35df130 Mon Sep 17 00:00:00 2001 From: Michael Aguiar Date: Wed, 2 Dec 2026 19:43:41 -0700 Subject: [PATCH 5/5] Say what xdg-open needs, and which covered names don't play xdg-open uses Alias View only once it's the default for a type, which the aliasOS side sets; "Open with" offers it now. The desktop file's comment names the few covered names that aren't played (.ass, .qtvr, NNN.vdr). The Wayland module's doc and the README's opening say media viewer. --- README.md | 9 +++++---- packaging/com.aliasproject.view.desktop | 4 +++- src/wl.rs | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7c0ef6e..fc8556e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Alias View aliasOS's media viewer ("Media Viewer" in the launcher): pictures, and video and music -(ALI-2358, to replace `mpv`). It replaces `imv` as the default for pictures. Rust, drawn on the CPU straight onto Wayland with no toolkit, in -the style of [Gannet](../gannet), aliasOS's file manager. +(ALI-2358, to replace `mpv`). It replaces `imv` as the default for pictures. Rust, drawn +on the CPU straight onto Wayland with no toolkit, in the style of [Gannet](../gannet), +aliasOS's file manager. alias-view FILE... # those pictures (or videos and songs), in that order alias-view FILE # that picture, then the rest of its folder @@ -75,8 +76,8 @@ wmv, mpeg, mpg, mpe and vob, ogv, ogm, 3gp and 3gpp, 3g2, 3gp2 and 3gpp2, and as mp3 and mpga, mp2, flac, ogg, oga, opus and spx, m4a and f4a, aac and adts, wav, wma, aiff and aif, mka, wv and wvp, ape, and 3ga, with the cover art the file holds. A video or song is known by its extension, and the desktop file (`packaging/com.aliasproject.view.desktop`) -lists those extensions' MIME types, so "Open with" and `xdg-open` offer Alias View for -them. +lists those extensions' MIME types, so "Open with" offers Alias View for them and +`xdg-open` can use it once it's set as the default. They play in [alias-playback](https://github.com/aliasproject/alias-playback)'s GPU helper: libmpv in a bubblewrap jail (with Landlock and a seccomp filter), decoding on the graphics card where it can (NVDEC, VA-API or V4L2, else the CPU) and drawing into diff --git a/packaging/com.aliasproject.view.desktop b/packaging/com.aliasproject.view.desktop index 562e534..86f322c 100644 --- a/packaging/com.aliasproject.view.desktop +++ b/packaging/com.aliasproject.view.desktop @@ -1,7 +1,9 @@ # The MIME types are the formats Alias View opens: pictures, then video, then music. It # picks a video or song by its file extension (VIDEO and MUSIC in src/player/mod.rs), so # every type here is a shared-mime-info type (or an alias of one) that files with those -# extensions are given, by name or, for the Ogg codecs, by their contents. +# extensions are given, by name or, for the Ogg codecs, by their contents. A few names +# these types also cover aren't played: .ass (subtitles, though audio/aac claims it), +# .qtvr (QuickTime VR) and the NNN.vdr pattern (video/mpeg). [Desktop Entry] Type=Application Name=Media Viewer diff --git a/src/wl.rs b/src/wl.rs index 115cfec..cfabe90 100644 --- a/src/wl.rs +++ b/src/wl.rs @@ -1,5 +1,5 @@ //! The Wayland connection: one window, input, shared-memory buffers, the clipboard. -//! Gannet's approach, cut down to what a picture viewer needs. Painting happens only on +//! Gannet's approach, cut down to what a media viewer needs. Painting happens only on //! request, paced by frame callbacks, and nothing here runs unless the compositor or //! the app has something to say. //!