REEL-PLUGINS - Anpassen

  • Hi,


    da immer mal wieder auf diese Möglichkeit des REEL-VDR´s angesprochen wurde hänge ich hier mal die Quellen

    vom reelchannellist-Plugin an. Wer möchte kann gerne helfen diese Plugin wieder unter einen VDR 2.6.x

    zum Laufen zu bringen und es im GIt für Alle VDR-Nutzer zu veröffentlichen.


    Beschreibung vom reelchannellist-Plugin:

    Zitat
    Description:
    Displays vdr's channel list (with current event when possible).
    Allows for filtering of channels by 'Providers', and Source/satellite.
    Provides a seperate favourites list, that is independent of vdr's channel list.
    The above four are the "main" windows of this plugin.
    "All Channels", "Sources", "Favourites", "Providers"
    "All Channels" menu:
    Simply lists all channels in vdr's list (channels.conf) excluding channels that are group separators.
    "Sources" menu:
    list all sources found in vdr's channel list
    filtering channel list with one of those source
    also provides a filter for channels from the current transponder
    "Favourites" menu:
    all channel entries in Favourites are "inside" bouquets
    One bouquet contains 0 or more unique channels from vdr's channel list
    One vdr's channel maybe present in more than one fav. bouquet
    therefore, fav. list may contain duplicate channels
    (but not inside one bouquet)
    "Providers" menu:
    lists all channel providers found in vdr's channel list
    filtering of channel list with one of the providers
    Favourites:
    add one channel from vdr's channel list to one of favourites's folders
    (within one folder all channels are unique)
    add one provider into favourites list
    (as a folder that cannot be renamed)
    add one source/satellite into favourites list
    (as a folder that cannot be renamed)
    Delete a folder
    Rename a folder
    Delete a channel
    Move a folder
    Move a channel within its folder
    Active Channel list
    Active Channel list assumes the user wants to zap through a restricted channel list.
    The restriction is the same as the active channel filters, ie the present view of channellist.
    Restriction maybe applied to just the favourites list or to vdr's channellist.
  • GitHub - REELcoder/vdr-plugin-reelchannellists: Displays vdr's channel list (with current event when possible). Allows for filtering of channels by 'Providers', and Source/satellite. Provides a seperate favourites list, that is independent of vdr's…
    Displays vdr's channel list (with current event when possible). Allows for filtering of channels by 'Providers', and Source/satellite. Provides a…
    github.com

  • Hm, ist wohl zur Zeit nicht meine Welt -- wer kann helfen bei menu.c


  • Habe aus Neugier mal ein paar Sachen angepasst - aber ohne Sinn und Verstand wie das Plugin funktioniert.

    Z.B. ein Lock auf Channels von Konstruktor bis zum Destruktor ist keine gute Idee, aber der Compiler ist mit den Befehlen erst mal zufrieden.

    Da muss noch viel Aufwand reingesteckt werden, z.B. AddFloatingText() und "MenuMainHook_Data_V1_0" gibt's im Original-VDR nicht

    Edit: ein Makefile auf aktuellem Stand ist auch kein Fehler

    Edit2: die menu.c braucht die angepasste menu.h .... das AddFloatingText() habe ich inzwischen in cUtils gefunden

  • Oh ja da kommt wohl viel Arbeit


    (VDR) NUC11PAH & GEEKOM MINI-IT11-11. Generation * BM2LTS * DD NET S2 Max * NC * (Sound) Cinebar Lux Set * (Stream) Apple TV 4K (2022) *

    (Light) PHILIPS Hue Play HDMI Sync Box & Gradient Lightstrip * (OLED TV) LG OLED65G29LA

  • vdr-reelchannellist-Plugin

    Zitat

    Zeigt die Kanalliste von VDR an (wenn möglich mit aktuellem Ereignis). Ermöglicht das Filtern von Kanälen

    nach „Anbieter“ und Quelle/Satellit. Bietet eine separate Favoritenliste, die unabhängig von VDR ist.

    (VDR) NUC11PAH & GEEKOM MINI-IT11-11. Generation * BM2LTS * DD NET S2 Max * NC * (Sound) Cinebar Lux Set * (Stream) Apple TV 4K (2022) *

    (Light) PHILIPS Hue Play HDMI Sync Box & Gradient Lightstrip * (OLED TV) LG OLED65G29LA

  • Copy your channels.conf to <VDR-CONFIG>/plugins/reelchannellist/activeChannelList.conf

    and maybe also to <VDR-CONFIG>/plugins/reelchannellist/favourites.conf

    and you should get the video at startup :)


    However, editing of the favourites seems to be impossible as VDR is missing the channels->SetGroupSep() Funktion (groupSep is only set when reading a channels.conf file). Also I haven't undestood yet how the Favourites / Bouqets are intended to work.

  • Code
    ../plugins/reelchannellist/activeChannelList.conf
    ../plugins/reelchannellist/favourites.conf

    ja die Links müssen auf die channels.conf zeigen


    leider stürzt das Plugin bei der Nutzung ab

    (VDR) NUC11PAH & GEEKOM MINI-IT11-11. Generation * BM2LTS * DD NET S2 Max * NC * (Sound) Cinebar Lux Set * (Stream) Apple TV 4K (2022) *

    (Light) PHILIPS Hue Play HDMI Sync Box & Gradient Lightstrip * (OLED TV) LG OLED65G29LA

  • ja die Links müssen auf die channels.conf zeigen

    Warum Links? Dann hätte der Entwickler doch gleich die Original-Channels.conf nehmen können....

    Und im README steht: Provides a seperate favourites list, that is independent of vdr's channel list.

    leider stürzt das Plugin bei der Nutzung ab

    Müssten da nicht irgendwo dann auch StateKey.Remove() sein? Ich habe keine StateKeys benutzt, sondern überall LOCK_CHANNELS_READ/WRITE und damit habe ich keine Abstürze - Favoriten kann man damit aber auch keine anlegen, da offenbar der Group Separator (Kanalname beginnend mit ':') in der Kanalliste für Favoritenordner genutzt wird und die aber nur beim Einlesen der Kanalliste erzeugt werden, da das Flag groupSep über keine Funktion in channels.h gesetzt werden kann.

  • Also, das wird wohl nix! Als damals das Plugin programmiert wurde, hat cChannels::Load() eine Kanalliste in die angegebene Variable geladen, heutzutage wird IMMER in die gloabale Channels-Variable geladen, auch bei favourites.Load(...) ! Das erklärt auch, warum ohne activeChannelList.conf der VDR kein Bild mehr beim Start anzeigen konnte.


    Man müsste den ganzen Teil neu schreiben (am besten mit tChannelID anstatt cChannels, da man ja nur eine Referenz auf den Kanal braucht und nicht die ganzen Kanalparameter selbst). Dazu fehlt mir allerdings neben der Zeit auch die Motivation ...

  • Also, das wird wohl nix! Als damals das Plugin programmiert wurde, hat cChannels::Load() eine Kanalliste in die angegebene Variable geladen, heutzutage wird IMMER in die gloabale Channels-Variable geladen, auch bei favourites.Load(...) ! Das erklärt auch, warum ohne activeChannelList.conf der VDR kein Bild mehr beim Start anzeigen konnte.


    Man müsste den ganzen Teil neu schreiben (am besten mit tChannelID anstatt cChannels, da man ja nur eine Referenz auf den Kanal braucht und nicht die ganzen Kanalparameter selbst). Dazu fehlt mir allerdings neben der Zeit auch die Motivation ...

    sehe ich auch so -- es gibt ja schon das favoriten- & channellist- Plugin, mit diesen beiden Plugins würde man schon fast das gleiche an Bedienung erreichen. Das habe ich mal so hier umgesetzt. Mal sehen wie es sich mit der Zeit macht.

    (VDR) NUC11PAH & GEEKOM MINI-IT11-11. Generation * BM2LTS * DD NET S2 Max * NC * (Sound) Cinebar Lux Set * (Stream) Apple TV 4K (2022) *

    (Light) PHILIPS Hue Play HDMI Sync Box & Gradient Lightstrip * (OLED TV) LG OLED65G29LA

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!