Softhddevice windowed mode.

  • Those who use softhddevice in windowed mode can try mouse control in the git test branch.

    Uses 3 buttons and a wheel. Double clicking the left button switches to full screen, the right button brings up the menu first and is equivalent to back otherwise. The middle button (wheel) is equivalent to OK. The wheel moves up/down in the menu and controls volume without it. Double clicking in the pip area swaps the pip windows.

    The mpv plugin from git test branch can this too.

  • Hello Andrey,

    it's a pleasure - everything works fine :thumbup::).

    Only one thing: the setup menu from softhddevice for examle. Here the key to the right is necessary to get to the submenu. But this is not important for everyday use.

    So I give it 100 points! Great idea. Thank you!

    Stefan

    meine VDRs


    Hardware
    VDR Wohnzimmer: Thermaltake DH 102, Pico PSU XLP, Meanwell, Asus B85M-E, Intel G1820, 4 GB RAM (1,35 V), Zotac GT 630 Zone Edition, Samsung 850 EVO SSD, DD Max S8, Jultec Einkabel, IR605Q + Harmony 350 (33 W, Boot: 15 s)
    VDR Hobbyraum: Atlas SF101, be.quiet 300 W, MSI C847MS-E33, 4 GB RAM, SanDisk SSD 32 GB, Samsung F2 EcoGreen 1,5 TB, TT S2-6400, Hauppauge PVR 250
    VDR Backup-Server: Atlas SF101, PicoPSU 80 W, Asus E35M1-M (AMD-VDPAU), 4 GB RAM, Technisat Skystar 2 eXpress HD, SanDisk SSD 32 GB, WD Red 4 TB (31 W, Boot: 26 s)
    VDR Desktop: Silentmaxx ST-11 Pro, be.quiet 300 W, Asus P8H77-M, Intel i7-3770, 16 GB RAM (1,35 V), Zotac GT 630 Zone Edition, 2x OCZ Vertex 4, Samsung F4 EcoGreen 2 TB, DD Cine S2, TT USB IR (44 W)

    Software
    OpenSUSE 42.1, Kernel 4.1.13, VDR 2.2.0

  • Hi,

    since this commit softhddevice does not run in fullscreen mode anymore after returning from external player commands, for example kodi. I run softhddev with "-f" Option in Configfile.

    Regards, Lars

    Asus H170 PRO GAMING, Intel Core i7-6700T, 16GB RAM, GeForce GTX 1050 2GB, Samsung SSD 860 EVO 1TB SSD + 3TB WD Red, Mystique SaTiX-S2 Dual, Archlinux -> VDR4Arch

    "Freunde sind Menschen, die dich mögen obwohl sie dich kennen"

  • If you not use windowed mode, you need use -f for fullscreen.

    In windowed mode, it returns to the window size it was before exiting. If you were viewing the full screen and switched to external soft (mpv, browser with external player plugin, or suspend softhddevice), when you exit external soft, everything should return to full screen, the window status is saved before exiting. But for this, you must activate saving window geometry in the menu.

    This is if there was an exit to the suspended mode. If a full exit is made, then only -f.

    I don't know how to start Kodi.

    vdr-2.6.4+(SoftHDDevice GT1030)+ss2 express HD+Behold TV H7+IPTV+PVR150MCE
    https://github.com/ua0lnj/

    Edited 3 times, last by lnj (January 31, 2025 at 12:27 PM).

  • Ok, as i said i actually use the -f option for fullscreen.

    I tested again with activated "save window geometry" and mpv, same result. Comming from fullscreen mode, start mpv, stop playback, returns to softhddevice now running in windowed mode with borders visible :/

    Asus H170 PRO GAMING, Intel Core i7-6700T, 16GB RAM, GeForce GTX 1050 2GB, Samsung SSD 860 EVO 1TB SSD + 3TB WD Red, Mystique SaTiX-S2 Dual, Archlinux -> VDR4Arch

    "Freunde sind Menschen, die dich mögen obwohl sie dich kennen"

  • mpv starts in fullscreen mode, this is ok! But shd does not return to full screen. I tried several versions even latest from git, same behaviour with all of them.

    Asus H170 PRO GAMING, Intel Core i7-6700T, 16GB RAM, GeForce GTX 1050 2GB, Samsung SSD 860 EVO 1TB SSD + 3TB WD Red, Mystique SaTiX-S2 Dual, Archlinux -> VDR4Arch

    "Freunde sind Menschen, die dich mögen obwohl sie dich kennen"

  • Is the geometry and position of the window saved when exiting the softhddevice?

    Compile a debug version and post the syslog, maybe we'll find the reason.

    Just tested, no it does not restore geo and pos of window :/
    Find attached a log with

    - vdr startup

    - run mpv and

    - return to shd

    Hope this helps :saint:

    Files

    Asus H170 PRO GAMING, Intel Core i7-6700T, 16GB RAM, GeForce GTX 1050 2GB, Samsung SSD 860 EVO 1TB SSD + 3TB WD Red, Mystique SaTiX-S2 Dual, Archlinux -> VDR4Arch

    "Freunde sind Menschen, die dich mögen obwohl sie dich kennen"

  • Ok, thanks for your support :)

    Asus H170 PRO GAMING, Intel Core i7-6700T, 16GB RAM, GeForce GTX 1050 2GB, Samsung SSD 860 EVO 1TB SSD + 3TB WD Red, Mystique SaTiX-S2 Dual, Archlinux -> VDR4Arch

    "Freunde sind Menschen, die dich mögen obwohl sie dich kennen"

  • Post by lnj (February 1, 2025 at 1:07 PM).

    This post was deleted by the author themselves (February 1, 2025 at 1:08 PM).
  • Are you sure you replaced the files? there are no debug messages that I added.

    Sorry, installed wrong package :wand Updated Logfile see above

    Asus H170 PRO GAMING, Intel Core i7-6700T, 16GB RAM, GeForce GTX 1050 2GB, Samsung SSD 860 EVO 1TB SSD + 3TB WD Red, Mystique SaTiX-S2 Dual, Archlinux -> VDR4Arch

    "Freunde sind Menschen, die dich mögen obwohl sie dich kennen"

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!