Skin Simple

  • Hm, ich bekomme mit der Version 0.4.2 immer diesen Fehler

    Code
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -DPLUGIN_NAME_I18N='"skinsimple"'  -I/usr/include/GraphicsMagick -o displaymenu.o displaymenu.c
    displaymenu.c: In member function ‘virtual void cSimpleDisplayMenu::SetRecording(const cRecording*)’:
    displaymenu.c:1260:22: error: ‘const class cRecordingInfo’ has no member named ‘FrameParams’
     1260 |   if (!isempty(Info->FrameParams())) {
          |                      ^~~~~~~~~~~
    displaymenu.c:1261:72: error: ‘const class cRecordingInfo’ has no member named ‘FrameParams’
     1261 |      sstrInfo << std::endl << tr("Frame Parameters") << ": " << *Info->FrameParams();
          |                                                                        ^~~~~~~~~~~
    make: *** [Makefile:91: displaymenu.o] Fehler 1

    mit der Version 0.4.1 ist hier alles OK -- kommt erst mit der Version 0.4.2 dieser Fehler

    (VDR) NUC11PAH & GEEKOM MINI-IT11-11. Generation * BM2LTS * DD NET S2 Max * (Sound) Cinebar Lux Set * (Stream) Apple TV 4K (2022) * (Light) PHILIPS Hue Play HDMI Sync Box & Gradient Lightstrip * (OLED TV) LG OLED65G29LA

    Edited once, last by cinfo (March 1, 2024 at 7:01 PM).

  • Welche VDR-Version nutzt Du? Hast Du auch die richtigen VDR-Header Files beim Übersetzen?

    Diese Funktion gibt es ja erst seit VDR 2.6.5.

    Grü0e

    kamel5

    VDR 2.7.3: ASUS Prime X470-PRO, Ryzen 7 5700X, 64GB, 6TB HD, GT1030, Fedora 40 Kernel 6.12 X86_64, Devicebonding 2 x 1 auf 2, TT6400, DVBSky S952 V3

    Git-Repo: gitlab.com/kamel5

  • eigentlich noch VDR-2.6.4 aber auch VDR 2.6.6 (hier sollte ich einmal testen)

    (VDR) NUC11PAH & GEEKOM MINI-IT11-11. Generation * BM2LTS * DD NET S2 Max * (Sound) Cinebar Lux Set * (Stream) Apple TV 4K (2022) * (Light) PHILIPS Hue Play HDMI Sync Box & Gradient Lightstrip * (OLED TV) LG OLED65G29LA

  • Bei VDR <= 2.6.4 sollte das eigentlich durch die vorherige if-Abfrage (#if (APIVERSNUM >= 20605) nicht mit übersetzt werden.

    Wenn das nicht klappt, müste ich da nochmal schauen.

    Grüße

    kamel5

    VDR 2.7.3: ASUS Prime X470-PRO, Ryzen 7 5700X, 64GB, 6TB HD, GT1030, Fedora 40 Kernel 6.12 X86_64, Devicebonding 2 x 1 auf 2, TT6400, DVBSky S952 V3

    Git-Repo: gitlab.com/kamel5

  • also mit dem VDR-2.6.6 geht es --> hängt nur beim VDR-2.6.4

    (VDR) NUC11PAH & GEEKOM MINI-IT11-11. Generation * BM2LTS * DD NET S2 Max * (Sound) Cinebar Lux Set * (Stream) Apple TV 4K (2022) * (Light) PHILIPS Hue Play HDMI Sync Box & Gradient Lightstrip * (OLED TV) LG OLED65G29LA

  • Ich habe das mal mit einem ungepatchten VDR und dem frisch geclonten Plugin probiert.

    Bei mir kompiliert das dann ohne Problem mit VDR-2.6.4:

    Er macht dann allerdings eine "libvdr-skinsimple.so.2.6.3" daraus, weil die API-Version nicht erhöht wurde.

    Du müsstest also nochmal schauen, was da bei Dir schief läuft. Vorher vielleicht überall mal ein "make clean" machen, vor dem Bauen...

    Grüße

    kamel5

    VDR 2.7.3: ASUS Prime X470-PRO, Ryzen 7 5700X, 64GB, 6TB HD, GT1030, Fedora 40 Kernel 6.12 X86_64, Devicebonding 2 x 1 auf 2, TT6400, DVBSky S952 V3

    Git-Repo: gitlab.com/kamel5

  • Hallo,

    neue Version 0.4.3 im git:

    - Make display of the device in the channel view configurable

    - Add some more video window sizes in the menu

    - Add timer to display replay

    - Use the frame parameter of the VDR (VDR >= 2.6.5), if available, in the display replay

    - New config option: Display video properties from info file (if available)

    - Rework of cDrawDescription in the display menu


    Grüße

    kamel5

    VDR 2.7.3: ASUS Prime X470-PRO, Ryzen 7 5700X, 64GB, 6TB HD, GT1030, Fedora 40 Kernel 6.12 X86_64, Devicebonding 2 x 1 auf 2, TT6400, DVBSky S952 V3

    Git-Repo: gitlab.com/kamel5

  • Hallo,

    neue Version 0.4.4 im git:

    - Add endtime to display replay

    - Add cutted values to display replay

    - Rework setup

    - Get the actualpath of the recordings menu without VDR-patch

    - Update cSimpleDisplayChannel::SetInfo()

    - Rework of cDrawDescription in the display menu

    - Fixed setting the editable width

    Grüße

    kamel5

    VDR 2.7.3: ASUS Prime X470-PRO, Ryzen 7 5700X, 64GB, 6TB HD, GT1030, Fedora 40 Kernel 6.12 X86_64, Devicebonding 2 x 1 auf 2, TT6400, DVBSky S952 V3

    Git-Repo: gitlab.com/kamel5

    Edited once, last by kamel5 (July 15, 2024 at 5:14 PM).

  • Hallo,

    neue Version 0.4.6 im git:

    - Update Simple-Dark.theme

    - Update drawDescription for faster scrolling in menus

    - Fix incorrect parameters evaluation

    - Some cleanups

    - Update setup

    - Add setup option to log messages for image loading

    - Update display livebuffer

    - Update Locking

    - Delete unnecessary code

    - Add theme Simple-white

    - Display grid only once in displayreplay

    - Merge redundant code

    - Update displaytracks

    Grüße

    kamel5

    VDR 2.7.3: ASUS Prime X470-PRO, Ryzen 7 5700X, 64GB, 6TB HD, GT1030, Fedora 40 Kernel 6.12 X86_64, Devicebonding 2 x 1 auf 2, TT6400, DVBSky S952 V3

    Git-Repo: gitlab.com/kamel5

  • Hi Kamel, thanks for the update!

    I get a compilation error with activated "undelete" patch in VDR

    Code
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -I/home/carel/src/vdr/vdr-2.7.3-3/include -c -DUSE_ZAPCOCKPIT -DUSE_MENUORG -DUSE_TPID -DUSE_UNDELETE -DUSE_PERMASHIFT -DUSE_MENUSELECTION -DUSE_FADVISE_ENABLE -DUSE_PREFER_READERS_IN_STATE_LOCK -DUSE_NO_EIT_SCAN_FOR_IPTV -DUSE_NO_STOP_RECORDING_FOR_IPTV -DUSE_PREVENT_RETUNE_AND_OBSOLETE_SATIP -DIMAGEMAGICK -DPLUGIN_NAME_I18N='"skinsimple"'  -I/usr/local/include/ImageMagick-7 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_CHANNEL_MASK_DEPTH=32  -o displaymenu.o displaymenu.c
    displaymenu.c: In member function ‘void cSimpleDisplayMenu::DrawCountRecordings()’:
    displaymenu.c:405:103: error: ‘IsDelRecMenu’ is not a member of ‘cMenuRecordings’
    405 |   if ((MenuCategory() == mcRecording) && (substring_length == std::string::npos) && !cMenuRecordings::IsDelRecMenu()) {
    |                                                                                                       ^~~~~~~~~~~~
    make: *** [Makefile:91: displaymenu.o] Fout 1

    Undelete patch is from here:

    https://www.vdr-portal.de/forum/index.php?thread/132378-vdr-2-4-x-und-undelete/&postID=1351873#post1351873

    In fact I got exactly the same error when I compile skinlcarsng ;)

    Any idea?

  • The link doesn't work correctly, but i know what you mean.

    I'm using the same undelete patch here and it compiles without errors.

    Can you please do a "make clean clean-plugins" in the vdr-source-directory and then a "make". Sometimes that should help.

    Grüße

    kamel5

    VDR 2.7.3: ASUS Prime X470-PRO, Ryzen 7 5700X, 64GB, 6TB HD, GT1030, Fedora 40 Kernel 6.12 X86_64, Devicebonding 2 x 1 auf 2, TT6400, DVBSky S952 V3

    Git-Repo: gitlab.com/kamel5

  • OK, I just see the linked patch is not like mine.

    I will update the patch in the other thread afterwards.

    For now, you can delete lines 404-406 and 408 in the skin.

    Grüße

    kamel5

    VDR 2.7.3: ASUS Prime X470-PRO, Ryzen 7 5700X, 64GB, 6TB HD, GT1030, Fedora 40 Kernel 6.12 X86_64, Devicebonding 2 x 1 auf 2, TT6400, DVBSky S952 V3

    Git-Repo: gitlab.com/kamel5

Participate now!

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