epgd/epg2vdr: Fragen rund um backend, Installation und Upgrade

  • Ok. Scheinbar gibt es für trusty kein aktuelleres epgd im ppa. Für precise gibt es 1.0.79.


    Gruß Jan

    1:Dell PoweEdge T20; Xeon E3-1225 v3; 32GB RAM; Proxmox 5.4; MLD 5.4 als VDR-Server; 2 x Cine S2;
    2:Intel NUC i3 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub

    2:Intel NUC i5 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub
    3:Raspberry Pi 3B; MLD

  • ich denke du musst für den Daemon in frodo/main


    https://launchpad.net/~frodo-vdr/+archiv….series_filter=


    Biste wohl falsch abgebogen



    grrrr. Muss ich dann die Datenbank neu aufbauen lassen? Oder reicht ein Update?

    1:Dell PoweEdge T20; Xeon E3-1225 v3; 32GB RAM; Proxmox 5.4; MLD 5.4 als VDR-Server; 2 x Cine S2;
    2:Intel NUC i3 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub

    2:Intel NUC i5 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub
    3:Raspberry Pi 3B; MLD

  • wenn du die schon mit einem epgd des http Zweigs aufgebaut hast passt das, die nötigen Änderungen macht der epgd selbst.
    Ggf die Daten bereinigen, also die bestehenden Daten neuen Bewertungen und Bewertungstexte harmonisieren, dazu gibt es einen Post.

  • Alles klar. Danke für die Hilfe! Und für eure Arbeit am Plugin.


    Gruß Jan

    1:Dell PoweEdge T20; Xeon E3-1225 v3; 32GB RAM; Proxmox 5.4; MLD 5.4 als VDR-Server; 2 x Cine S2;
    2:Intel NUC i3 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub

    2:Intel NUC i5 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub
    3:Raspberry Pi 3B; MLD

  • Hi,


    habe gerade mit epgd-tool alles gelöscht (drop-all, del-all), epg.data gelöscht und epgd neu gestartet. Nun bekomme ich nach kurzer Zeit folgende Fehlermeldung:

    Code
    May 24 19:00:40 macmini epgd: Loading '/etc/epgd/channelmap.conf'
    May 24 19:00:40 macmini epgd: 144 channel mappings read.
    May 24 19:00:40 macmini epgd: Creating view 'eventsview' using definition in '/etc/epgd/eventsview-maz.sql'
    May 24 19:00:40 macmini epgd: SQL-Error in 'CREATE VIEW eventsview as select cnt_useid useid, cnt_eventid eventid, cnt_channelid channelid, cnt_source source, all_updsp updsp, cnt_updflg updflg, cnt_delflg delflg, cnt_fileref fileref, cnt_tableid tableid, cnt_version version, sub_title title,$case$ when sub_shorttext is null or sub_title=sub_shorttext or (substring(sub_shorttext,1,1)='S' and substring(sub_shorttext,2,1) REGEXP ('[0-9]') ) then$  case when sub_genre is null then '' else concat(sub_genre,' (', sub_country, ' ',sub_year, ')') end$  else$  case when epi_season is null then$    sub_shorttext$  else$    concat('(S', lpad(format(epi_season, 0), 2, '0'), 'E', lpad(format(epi_part, 0), 2, '0'), ') ', epi_partname)$  end$end shorttext,$cnt_starttime starttime, cnt_duration duration, cnt_parentalrating parentalrating, cnt_vps vps, cnt_contents contents, replace($concat($  TRIM(LEADING '|' FROM$   concat($    case when sub_genre is Null then '' else concat('|','Genre: ',sub_genre) end,$    case when sub_category is Null then '' else concat('|','Kategorie: ',sub_category) end,$    case when sub_country is Null then '' else concat('|','Land: ',sub_country) end,$    case when sub_year is Null then '' else concat('|','Jahr: ',substring(sub_year,1,4)) end$   )$  ),$  concat($    case when sub_shortdescription is Null then '' else concat('||',sub_shortdescription) end,$    case when sub_shortreview is Null then '' else concat('||','Kurzkritik: ',sub_shortreview) end,$    case when sub_tipp is Null and sub_rating is Null then '' else '||' end,$    case when sub_tipp is Null then '' else concat('|',sub_tipp) end,$    case when sub_rating is Null then '' else concat('|',sub_rating) end,$    case when sub_topic is Null then '' else concat('||','Thema: ',sub_topic) end,$    case when (INSTR(lower(sub_genre), 'nachrichten') > 0 or INSTR(lower(sub_genre), 'magazin') > 0 or INSTR(lower(sub_genre), 'diskussion') > 0 or INSTR(lower(sub_genre), 'gespräch') > 0 or INSTR(lower(sub_genre), 'show') > 0) or sub_genre in ('Ansprache','Aktuelle Berichte','Eishockey','Formel 1','Fußball','Fussball','Fun- u. Extremsport','Golf','Leichtathletik','Motor + Verkehr','Motor+Verkehr','Motorrad','Motorsport','NASCAR','Radsport','Reitsport','Sammelsendung','Tennis','Tischtennis','Wintersport') and cnt_source <> sub_source$    then concat('||', cnt_longdescription) $    else case when sub_longdescription is Null then '' else concat('||',sub_longdescription) end $    end,$    case when sub_info is Null then '' else concat('||','Info: ',sub_info) end,$    case when sub_moderator is Null then '' else concat('||','Moderator: ',sub_moderator) end,$    case when sub_guest is Null then '' else concat('|','Gäste: ',sub_guest) end,$    case when cnt_parentalrating is Null or cnt_parentalrating = 0 then '' else concat('||','Altersempfehlung: ab ',cnt_parentalrating) end,$    case when sub_actor is Null and sub_producer is Null and sub_other is Null then '' else '|' end,$    case when sub_actor is Null then '' else concat('|','Darsteller: ',sub_actor) end,$    case when sub_producer is Null then '' else concat('|','Produzent: ',sub_producer) end,$    case when sub_other is Null then '' else concat('|','Sonstige: ',sub_other) end,$    case when sub_director is Null and sub_screenplay is Null  and sub_camera is Null and sub_music is Null and sub_audio is Null and sub_flags is Null then '' else '|' end,$    case when sub_director is Null then '' else concat('|','Regie: ',sub_director) end,$    case when sub_screenplay is Null then '' else concat('|','Drehbuch: ',sub_screenplay) end,$    case when sub_camera is Null then '' else concat('|','Kamera: ',sub_camera) end,$    case when sub_music is Null then '' else concat('|','Musik: ',sub_music) end,$    case when sub_audio is Null then '' else concat('|','Audio: ',sub_audio) end,$    case when sub_flags is Null then '' else concat('|','Flags: ',sub_flags) end,$    case when epi_episodename is Null then '' else concat('||','Serie: ',epi_episodename) end,$    case when epi_shortname is Null then '' else concat('|','Kurzname: ',epi_shortname) end,$    case when epi_partname is Null then '' else concat('|','Episode: ',epi_partname) end,$    case when epi_extracol1 is Null then '' else concat('|',epi_extracol1) end,$    case when epi_extracol2 is Null then '' else concat('|',epi_extracol2) end,$    case when epi_extracol3 is Null then '' else concat('|',epi_extracol3) end,$    case when epi_season is Null then '' else concat('|','Staffel: ',cast(epi_season as char)) end,$    case when epi_part is Null then '' else concat('|','Staffelfolge: ',cast(epi_part as char)) end,$    case when epi_parts is Null then '' else concat('|','Staffelfolgen: ',cast(epi_parts as char)) end,$    case when epi_number is Null then '' else concat('|','Folge: ',cast(epi_number as char)) end,$    case when cnt_source <> sub_source then concat('||','Quelle: ',upper(replace(cnt_source,'vdr','dvb')),'/',upper(sub_source)) else concat('||','Quelle: ',upper(replace(cnt_source,'vdr','dvb'))) end$  )$)$,'|', '$') as description$from$ useevents;$' - Unknown column 'sub_info' in 'field list' (1054) 
    May 24 19:00:40 macmini epgd: SQL-Error in 'executeSqlFile()' - Unknown column 'sub_info' in 'field list' (1054) 
    May 24 19:00:40 macmini epgd: Using scraping language de
    May 24 19:00:40 macmini epgd: TVDB scraper connected
    May 24 19:00:40 macmini epgd: MOVIEDB scraper connected
    May 24 19:00:40 macmini epgd: Info: No external events on database, force initial check!
    May 24 19:00:40 macmini epgd: Retry #42 failed, retrying in 60 seconds!


    Irgendwas habe ich wohl falsch gemacht, habe aber eiglt. alles wie auf S.1 beschrieben durchgeführt. Die ALTER-Befehle führen zu:

    Code
    root@macmini:~# mysql -u epg2vdr -pepg -Depg2vdr -e 'ALTER TABLE useevents DROP COLUMN sub_info;'
    Warning: Using a password on the command line interface can be insecure.
    ERROR 1091 (42000) at line 1: Can't DROP 'sub_info'; check that column/key exists
    root@macmini:~#


    EDIT: Ich habe nun mal die Pakete von Frodo mit von mir selbst aus dem aktuellen git kompilierten epgd überschrieben - nun scheint es zu gehen. Ich blicke grade nicht mehr durch bei den vielen ppa's bei Frodo. Meine testing.pref in /etc/apt/preferences.d sieht momentan noch so aus:


    maz

    Meine VDRs:
    >>>Mac mini 2010 mit 2x Sundtek SkyTV Ultimate III, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>ZOTAC D2550 ITX-WIFI Supreme mit DD Cine S2, Gehäuse OrigenAE M10, Logitech Harmony 300i, yavdr-0.5a mit softhddevice<<< >>>Raspberry Pi
    2 mit Sundtek SkyTV Ultimate IV, raspbian, rpihddevice-Plugin, Logitech Harmony 200<<<

    Einmal editiert, zuletzt von maz ()

  • Ich habe zwischenzeitlich die EPG- Daten im VDR. Die Verbindung funktioniert jetzt.


    Wie bekomme ich meinen VDR in die Dropdownauswahl von epdhttp, um Timer anzulegen usw.


    Gruß Jan

    1:Dell PoweEdge T20; Xeon E3-1225 v3; 32GB RAM; Proxmox 5.4; MLD 5.4 als VDR-Server; 2 x Cine S2;
    2:Intel NUC i3 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub

    2:Intel NUC i5 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub
    3:Raspberry Pi 3B; MLD

  • Irgendwas habe ich wohl falsch gemacht, habe aber eiglt. alles wie auf S.1 beschrieben durchgeführt. Die ALTER-Befehle führen zu:


    der Fehler beim alter ist okay bedeutet nur das die nicht mehr benötigte Spalte schon weg ist.
    Der View referenziert diese jedoch noch, ist der View aus dem git oder ein eigener, wenn eigener muss er angepasst werden.

  • Wie bekomme ich meinen VDR in die Dropdownauswahl von epdhttp, um Timer anzulegen usw.


    was zeigt "select * from vdrs;"

  • Zitat von »schnoefftel«
    Wie bekomme ich meinen VDR in die Dropdownauswahl von epdhttp, um Timer anzulegen usw.



    was zeigt "select * from vdrs;"


    Ich habe es gestern erst mal abgebrochen und das epg2vdr- Plugin deinstalliert. Ich weiß grad nicht wie die Einstellung hieß. Irgendwas mit "Im Netzwerk ..."
    Dann wurden die Aufnahmen eingelesen. Allerdings Stürzte der VDR ab und es gab eine Ladeschleife, bis ich das Plugin deaktivierte.
    Ich versuche es heute aber noch mal.
    Gruß Jan

    1:Dell PoweEdge T20; Xeon E3-1225 v3; 32GB RAM; Proxmox 5.4; MLD 5.4 als VDR-Server; 2 x Cine S2;
    2:Intel NUC i3 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub

    2:Intel NUC i5 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub
    3:Raspberry Pi 3B; MLD

  • Ich habe nach Installation des epg2vdr_Plugin jetzt folgendes Problem:


    Code
    May 25 19:06:21 vdr vdr: epg2vdr: Updated changes since '24.05.2016 21:12:58'; 257 channels, 0 events (0 deletions) in 890 ms
    May 25 19:06:21 vdr vdr: epg2vdr: Checking timer requests ..
    May 25 19:06:21 vdr vdr: epg2vdr: DEBUG: Pending Action 'C' for timer (1), event 5744, doneid 1
    May 25 19:06:21 vdr vdr: epg2vdr: DEBUG: Got 'C' request for timer (1), event (5744)
    May 25 19:06:21 vdr kernel: [76227.037541] epg2vdr-update[12900]: segfault at 18 ip 0000000000476c03 sp 00007f0d2dffacf0 error 4 in vdr[400000+183000]
    May 25 19:06:21 vdr kernel: [76227.059067] init: vdr main process (12847) killed by SEGV signal
    May 25 19:06:21 vdr kernel: [76227.060534] init: vdr-net-monitor main process (12977) killed by TERM signal
    May 25 19:06:21 vdr kernel: [76227.062924] init: vdr-update-monitor main process (12980) killed by TERM signal
    May 25 19:06:21 vdr vdr: [13158] VDR version 2.2.0 started


    Endet in einer Ladeschleife.

    1:Dell PoweEdge T20; Xeon E3-1225 v3; 32GB RAM; Proxmox 5.4; MLD 5.4 als VDR-Server; 2 x Cine S2;
    2:Intel NUC i3 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub

    2:Intel NUC i5 Passiv; 4GB RAM; 120GB SSD; easyvdr 3.5 als client; Harmony Hub
    3:Raspberry Pi 3B; MLD

  • - die vdr plugins epg2vdr und scraper2vdr sind aktuell noch nicht kompatibel mit 2.3.0, alle Komponenten sind auch noch nicht richtig kompatibel mit mysql 5.7.x wie es zB in Xenial ausgeliefert wird. An letzterem haben wir schon geabeitet und dachten eigentlich das wir durch sind, jetzt ist aber wieder ein weiterer Punkt aufgetaucht, hoffe der Letzte. Man kann hier mariaDB einsetzen bzw originale Xenial Pakete zu mysql 2.6.28 wie ich es hier mache.

    Hi, ich habe bei den ganzen Commits ein bisschen den Überblick verloren...


    Wird mysql in Version 5.7.12, so wie es im Moment mit Xenial mitkommt, inzwischen unterstützt?


    Grüße,
    Alex

    Server: Supermicro X9SAE, Intel Xeon E3-1245v2, ESXi 6.5

    VDR VM: Ubuntu 16.04 LTS, 2x DD Cine S2, VDR 2.3.8

  • Nein da kommt immer noch ein Fehler mit dem scraper, die haben da krass viel umgebaut. Wir haben das auch im Moment nicht weiter verfolgt. Nimm lieber mariadb oder die xenial Pakete für 5.6.28, die sind hier schneller als maria. Wenn du die nicht mehr findet kann ich dir die wo hochladen morgen.


    Christian

    CKone: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G540, 2x 2GB Kingston DDR3, Zotac GT630 1GB, S2-1600, Ocz Agility 3 60GB, LG GH24NS DVD, 15.6" Selbstbau TFT, Harmony 665, CIR Selbstbau - das Ganze im Silverstone SST-SG03B
    CKtwo: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G1610, 2x 2GB Corsair DDR3, Zotac GT630 1GB, TT S2-1600, Ocz Vertex 2 50 GB, 92 Kanal Seduatmo, Harmony 665, atric USB
    CKthree: yavdr-ansible/22.04 LTS/2.6.1/kodi19.3 auf Intel NUC, Celeron J4005, UHD Graphics 600, 4GB Crucial DDR4, Ocz Vertex2 50 GB, Harmony 350

    PowerEdge: Ubuntu Server 16.04 LTS / VDR 2.4.1 auf Dell PowerEdge T20, Xeon E3-1225 v3, 16GB ECC DDR3, 2x Cine S2 V6 mit Duoflex, Samsung 840 EVO 120GB, 3x WD White WD80EZAZ 8TB in SW Raid5



    Einmal editiert, zuletzt von CKone ()

  • Hi,


    ich nehme mal an du meinst 5.6.28 und nicht 2.6.28 oder?


    Habe jetzt ein downgrade von 5.7.12 (aktuellste bei Xenial) auf 5.6.30 (aktuellste bei Trusty) gemacht. Werde testen ob das so funktioniert.


    Danke
    Alex

    Server: Supermicro X9SAE, Intel Xeon E3-1245v2, ESXi 6.5

    VDR VM: Ubuntu 16.04 LTS, 2x DD Cine S2, VDR 2.3.8

  • weiß ich jetzt nicht ob das sone Krasse Idee ist die trusty Pakete da reinzumachen, das Drumherum ist da doch für upstart und nicht für systemd


    ich hab diese hier drin, sollten im Netz zu finden sein:

    Code
    root@PowerEdge:~/mysql-5.6# ls -l
    -rw-r--r-- 1 root root 5387896 Mär 11 15:54 mysql-client-5.6_5.6.28-1ubuntu3_amd64.deb
    -rw-r--r-- 1 root root 4358472 Mär 11 15:54 mysql-client-core-5.6_5.6.28-1ubuntu3_amd64.deb
    -rw-r--r-- 1 root root   16604 Mär 11 15:54 mysql-common_5.6.28-1ubuntu3_all.deb
    -rw-r--r-- 1 root root 5602342 Mär 11 15:54 mysql-server-5.6_5.6.28-1ubuntu3_amd64.deb
    -rw-r--r-- 1 root root 4713614 Mär 11 15:54 mysql-server-core-5.6_5.6.28-1ubuntu3_amd64.deb


    Christian

    CKone: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G540, 2x 2GB Kingston DDR3, Zotac GT630 1GB, S2-1600, Ocz Agility 3 60GB, LG GH24NS DVD, 15.6" Selbstbau TFT, Harmony 665, CIR Selbstbau - das Ganze im Silverstone SST-SG03B
    CKtwo: yavdr-ansible/18.04 LTS/2.4.1/kodi18 auf Intel DH67BL, Intel Celeron G1610, 2x 2GB Corsair DDR3, Zotac GT630 1GB, TT S2-1600, Ocz Vertex 2 50 GB, 92 Kanal Seduatmo, Harmony 665, atric USB
    CKthree: yavdr-ansible/22.04 LTS/2.6.1/kodi19.3 auf Intel NUC, Celeron J4005, UHD Graphics 600, 4GB Crucial DDR4, Ocz Vertex2 50 GB, Harmony 350

    PowerEdge: Ubuntu Server 16.04 LTS / VDR 2.4.1 auf Dell PowerEdge T20, Xeon E3-1225 v3, 16GB ECC DDR3, 2x Cine S2 V6 mit Duoflex, Samsung 840 EVO 120GB, 3x WD White WD80EZAZ 8TB in SW Raid5



  • Da hast du natürlich Recht. Diese Anleitung scheint da deutlich besser zu sein.


    Zumal man dann im Idealfall auch deutlich besser auf 5.7. upgraden kann.

    Server: Supermicro X9SAE, Intel Xeon E3-1245v2, ESXi 6.5

    VDR VM: Ubuntu 16.04 LTS, 2x DD Cine S2, VDR 2.3.8

  • Ich habe es jetzt auch nochmal mit dem http Branch probiert. Hab da aber noch so meine Probleme. Erst mal zum verständnis. Bei mir siehts folgendermaßen aus. Ich habe einen VDR-Server auf dem der epgd und mysql Daemon läuft. Auf dem Server liegen auch alle Aufnahmen und Timer. Alle Clients greifen per NFS auf die Aufnahmen zu und legen mit remotetimers die Timer auf dem Server ab.


    Jetzt hab ich ein Verständnisproblem wie ich das epg2vdr Plugin auf Server und Clients konfigurieren muss. Momentan sieht es folgendermaßen aus
    Server:


    Client:


    Ergebnis ist das das Epg auf den Clients richtig angezeigt wird. Allerdings sagt mir das WEBIF das es keine Daten beim epg gibt. Timer werden angezeigt. Aufnahmen nicht.


    Hab ich da bei den Einstellungen was vergeigt?

    Gruß Patrick


    [size=8]* Meine NeverEndingProjects ;) *


    vectra --- glasslike ---

  • Du musst halt einen VDRF als "Master" deklarieren und alle anderen all "nicht Master".


    Idealerweise nimmst Du dazu den, der immer läuft. ;)


    In der DB sieht das dann so aus:


    Code
    server03 ~ # mysql -h 192.168.177.10 -u epg2vdr -pepg -D epg2vdr -e "SELECT version, master, ip, state FROM vdrs ;" 2>/dev/null
    +--------------------------------------------------+--------+----------------+----------+
    | version                                          | master | ip             | state    |
    +--------------------------------------------------+--------+----------------+----------+
    | vdr 2.2.0 epg2vdr 1.0.46-GIT709ae15 (25.05.2016) | Y      | 192.168.177.12 | attached |
    | vdr 2.2.0 epg2vdr 1.0.46-GIT709ae15 (25.05.2016) | n      | 192.168.177.52 | attached |
    | epgd 1.0.91-GIT9fa5be1 (26.05.2016)              | -      | 192.168.177.10 | standby  |
    +--------------------------------------------------+--------+----------------+----------+
    server03 ~ #
  • So sieht es bei mir auch aus.

    Code
    +--------------------------------------------------+--------+--------------+----------+
    | version                                          | master | ip           | state    |
    +--------------------------------------------------+--------+--------------+----------+
    | vdr 2.2.0 epg2vdr 1.0.46-GIT709ae15 (25.05.2016) | Y      | 192.168.1.80 | attached |
    | vdr 2.2.0 epg2vdr 1.0.46-GIT709ae15 (25.05.2016) | n      | 192.168.1.81 | attached |
    | epgd 1.0.91-GIT9fa5be1 (26.05.2016)              | -      | 192.168.1.80 | standby  |
    +--------------------------------------------------+--------+--------------+----------+

    Gruß Patrick


    [size=8]* Meine NeverEndingProjects ;) *


    vectra --- glasslike ---

Jetzt mitmachen!

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