Moin,
EDIT: der TVScrapper ist outdated, bitte den TVScraper benutzen
der TVScrapper ist ein Plugin, das im Hintergrund das EPG durchforstet und Metadaten wie Poster, Banner, Fanart und Actor Thumbs herunterlädt. Des weiteren stellt der TVScrapper anderen Plugins, die EPG Informationen anzeigen, per Serviceinterface diese Daten zur Verfügung. Aber hier die wesentlichen Teile aus dem README, sonst schreibe ich alles doppelt
Description
-----------
TVScrapper runs in the background and collects metadata (posters,
banners, fanart, actor thumbs and roles, descriptions) for all
available EPG events on selectable channels and for recordings.
Additionally the plugin provides the collected metadata via the VDR
service interface to other plugins which deal with EPG information.
TVScrapper uses the thetvdb.com API for collecting series metadata and
themoviedb.org API for movies. Check the websites of both services for
the terms of use.
Important: To avoid unnecessary traffic, only activate these channels
to be scrapped which are reasonable. After plugin installation all
channels are deactivated by default, so please consider this point when
you activate the channels you are interested in ;)
Additionally you are invited to contribute to the used web services with
providing missing data for your favorite movies and series.
Requirements
------------
To run the plugin the following libaries have to be installed:
- libsqlite3
- libcurl
- libXML2
- libjansson
Installation and configuration
------------------------------
Just install the plugin depending on your used distribution. During VDR
startup the plugin base directory can be set with the following option:
-d <CACHEDIR>, --dir=<CACHEDIR> Set directory where database and images
are stored
If no directory is provided, the plugin uses VDRCACHEDIR as default.
Please care about that the user who runs VDR has full read/write access
to this directory, otherwise the plugin will not start.
As already mentioned, after first installations no channels are activated
to be scrapped. Please configure these channels in the plugin setup menu.
Additionally you can trigger that your already existing recordings are
scrapped, so that also for this recordings metadata is available.
The plugins uses a sqlite3 database to store the necessary information.
If /dev/shm/ is available, the database is kept in memory during runtime
which improves performance. In the configured plugin basedir only a
persistant backup of the database is stored then. If /dev/shm/ is not
available, only the database file in the plugin base directory is used.
Usage
-----
After the initial configuration the plugin runs completely independent in
the background, you don't have to care about anything. The plugins checks
at least every 24 hours for new EPG events and collects the metadata for
these events automatically.
Before each run the plugin performs a cleanup, all images for movies which
are not available in the current EPG are deleted. Series and actors thumbs
are kept to avoid unnecessary traffic for the web services, because the
propability that this data is needed in the future again is rather high.
If a running recording is detected, the plugin marks the corresponding movie
meta data so that the information for this movie will be kept permanentely.
Alles anzeigen
Ich habe das Plugin mal hier angehängt, sobald ich einen Bereich auf vdr-developer.org eingerichtet habe, gibt es auch ein GIT.
Bugs bitte in einem eigenen Thread melden.
Wie das ganze am Beispiel nOpacity dann benutzt werden kann, sieht man hier
Initiale Konfiguration
Ich schreibe hier doch noch mal die Schritte zusammen, um Bilder zu bekommen: Das Plugin wartet erst mal zwei Minuten nach dem VDR Start und führt dann seinen ersten Scrap durch. Wenn bis dahin keine Kanäle zum scrapen ausgewählt sind, dann muss man 24 Stunden warten, bis das Plugin von sich aus wieder loslegt...das könnte zu etwas ungeduld führen Deshalb bei der Erstinstallation die folgende Vorgehensweise wählen:
- Plugin kompilieren, installieren und aktivieren (je nach Disti)
- Im Plugin Setup "Debug Logging" aktivieren
- Im Plugin Setup die Kanäle zum Scrapen auswählen
- Im Plugin Setup "Manuelles EPG Scrapen starten" anklicken
- Parallel im Log schauen, dort sollte nun ausgegeben werden, dass das Plugin aktiv ist
- Warten bis das durch ist (kann schon eine halbe Stunde oder so dauern)
- Im Plugin Setup "Manuelles scrapen des Videoverzeichnisses starten" anklicken
- Warten bis das durch ist (kann schon eine halbe Stunde oder so dauern)
Danach sollten unter <VDRCACHEDIR>/plugins/tvscrapper/ jede Menge Bilder in den entsprechenden Verzeichnissen "movies" und "series" (dort in Unterordnern) liegen...und es sollte in nOpacity auch was angezeigt werden
Have fun...Ciao Louis