[Announce] vdr-plugin-tvscraper 0.9.0

  • Hallo,


    Ich habe vdr-plugin-tvscraper komplett überarbeitet.

    Ihr findet es hier: https://github.com/MarkusEh/vdr-plugin-tvscraper


    ~ Markus

    Client1: ASUS P5QC, Dual Core 3G, Cine S2, Ext. Board von TBE, Xubuntu 20.04, VDR 2.6x

    Client2: RPI3

    Server: RPI4, Sundtek SkyTV Dual 2x

  • Ok, danke ... aber wird das nicht durch die Verwendung von epgd/epg2vdr inkl. tvm/tvsp oder epgdat-abo ersetzt?

  • Ja klar, aber das erweiterte EPG inkl. Serienkennungen und eben (auch) Bilder ...

  • Hi,


    Es gibt jetzt v0.9.1, mit kleinen Verbesserungen, wenn Sender die event IDs von Sendungen ändern.


    ~ Markus

    Client1: ASUS P5QC, Dual Core 3G, Cine S2, Ext. Board von TBE, Xubuntu 20.04, VDR 2.6x

    Client2: RPI3

    Server: RPI4, Sundtek SkyTV Dual 2x

  • I can't get this to build.

    Code
    telkka@telkka:~/vdr-plugin-tvscraper$ make
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -std=c++17 -c -DPLUGIN_NAME_I18N='"tvscraper"' -I/usr/include/libxml2  -o tvscraper.o tvscraper.c
    In file included from tvscraper.c:13:
    tools/jsonHelpers.c:1:10: fatal error: jansson.h: Tiedostoa tai hakemistoa ei ole
        1 | #include <jansson.h>
          |          ^~~~~~~~~~~
    compilation terminated.
    make: *** [Makefile:73: tvscraper.o] Virhe 1
  • It looks like you are missing the development files for libjansson - e.g. install the package libjansson-dev if you use Ubuntu or Debian.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • First thanks for update. I have couple questions about new version.


    1. I noticed that tvscraper now keeps images for recordings in recording folder. What location example ScraperGetPoster returns for recording images? Is it still /var/cache/vdr/plugins/tvscraper/...? I'm asking this because I've been working on tvscraper support for VNSI Server and Client and from client side it is possible to specify where images are located if those aren't in same machine with Kodi. If images aren't in one folder example default /var/cache/vdr/plugins/tvscraper/ it would broke that feature.


    2. Is is possible to disable TVDB scraper and just use MovieDB for movies and tvshows?


    Links to my versions of VNSI Server and Client if anyone wants to try it. P.S. If someone wants to take this project from me, I'm OK with that :)

    https://github.com/Dis90/vdr-p…e/tvscraper_backendresume

    https://github.com/Dis90/pvr.v…aper_backendresume_matrix

    https://github.com/Dis90/pvr.v…raper_backendresume_nexus

  • Hi,


    The images are still in /var/cache/vdr/plugins/tvscraper/ .

    In the recording folder, there is a copy.


    > 2. Is is possible to disable TVDB scraper and just use MovieDB for movies and tvshows?

    Should be possible with a small patch. Why would you do that? tvdb seems to be petter for TV shows, especially on EPG: You do have new episodes, and data is available for them already on tvdb, but not yet on MovieDB.


    ~ Markus

    Client1: ASUS P5QC, Dual Core 3G, Cine S2, Ext. Board von TBE, Xubuntu 20.04, VDR 2.6x

    Client2: RPI3

    Server: RPI4, Sundtek SkyTV Dual 2x

  • Good that there's only copy in recording folder :)


    Yep TVDB is better but I've heard rumors that old API stops working in some time and that it starts to cost something. Any way good to have options.


    Another nice thing to have would be some way to start EPG and recording scraping from command line (SVDRP?).

  • Ich habe deine Version für die yaVDR PPAs paketiert.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Hi,


    Version 0.9.4 is available.

    • I added 2 svdrp commands
    • For recordings, the basename is searched (so you can rename a recording, to make the name match the name in themoviedb or thetvdb)
    • Search / match algorithm improved
    • If no poster is available, alternative pictures like backdrop, fanart, ... are delivered. To avoid "empty" pictures on the UI


    Have fun, Markus

    Client1: ASUS P5QC, Dual Core 3G, Cine S2, Ext. Board von TBE, Xubuntu 20.04, VDR 2.6x

    Client2: RPI3

    Server: RPI4, Sundtek SkyTV Dual 2x

  • Leider baut das Plugin nicht unter Ubuntu 22.04 (PPA:( https://launchpadlibrarian.net…dr1~jammy_BUILDING.txt.gz

    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 -std=c++17 -c -DPLUGIN_NAME_I18N='"tvscraper"' -I/usr/include/libxml2  -o tvscraper.o tvscraper.c
    In file included from tvscraper.c:33:
    searchEventOrRec.c: In member function 'void cSearchEventOrRec::initBaseNameOrTitile()':
    searchEventOrRec.c:38:73: error: ordered comparison of pointer with integer zero ('const char*' and 'int')
       38 |     if (strstr(recording->Info()->Title(), m_baseNameOrTitile.c_str() ) > 0) return; // basename is part of title, seems not to be the subtitle
          |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
    make[1]: *** [Makefile:73: tvscraper.o] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'

    Das Problem dass Pointer implizit zu int konvertiert werden oder damit verglichen werden sollen gibt es bei einigen älteren Plugins.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Hi,


    Da ist der neuere Compiler strenger als der alte. Ich habe leider nur den alten :( .

    Ich habe eine Korrektur im git, kannst Du mal testen?


    ~ Markus

    Client1: ASUS P5QC, Dual Core 3G, Cine S2, Ext. Board von TBE, Xubuntu 20.04, VDR 2.6x

    Client2: RPI3

    Server: RPI4, Sundtek SkyTV Dual 2x

  • yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

Jetzt mitmachen!

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