Posts by TEDDYXXL

    Hallo !



    Ok, der Patch hilft teilweise, aber nicht ganz, d.h. der Compile bricht weiterhin ab:


    update.c: In member function ‘int cUpdate::ScanVideoDir()’:

    update.c:934:28: error: ‘Recordings’ was not declared in this scope

    for (cRecording *rec = Recordings.First(); rec; rec = Recordings.Next(rec)) {

    ^~~~~~~~~~

    update.c:934:28: note: suggested alternative: ‘tRecordings’

    for (cRecording *rec = Recordings.First(); rec; rec = Recordings.Next(rec)) {

    ^~~~~~~~~~

    tRecordings

    update.c: In member function ‘int cUpdate::ScanVideoDirScrapInfo()’:

    update.c:985:28: error: ‘Recordings’ was not declared in this scope

    for (cRecording *rec = Recordings.First(); rec; rec = Recordings.Next(rec)) {

    ^~~~~~~~~~

    update.c:985:28: note: suggested alternative: ‘tRecordings’

    for (cRecording *rec = Recordings.First(); rec; rec = Recordings.Next(rec)) {

    ^~~~~~~~~~

    tRecordings

    update.c: In member function ‘int cUpdate::CleanupRecordings()’:

    update.c:1182:14: error: ‘Recordings’ was not declared in this scope

    if (!Recordings.GetByName(recPath.c_str())) {

    ^~~~~~~~~~

    update.c:1182:14: note: suggested alternative: ‘tRecordings’

    if (!Recordings.GetByName(recPath.c_str())) {

    ^~~~~~~~~~

    tRecordings

    update.c: In member function ‘virtual void cUpdate::Action()’:

    update.c:1300:16: error: ‘Recordings’ was not declared in this scope

    if (Recordings.StateChanged(recState))

    ^~~~~~~~~~

    update.c:1300:16: note: suggested alternative: ‘tRecordings’

    if (Recordings.StateChanged(recState))

    ^~~~~~~~~~

    tRecordings

    make: *** [Makefile:80: update.o] Error 1



    Grüße,


    Dirk



    Hallo !


    Ok, beim Plugin epg2vdr hilft der Patch, aber nicht beim vdr-epg-daemon:


    (cd lib && make lib)

    make[1]: Entering directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib'

    make[1]: Nothing to be done for 'lib'.

    make[1]: Leaving directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib'

    g++ -rdynamic main.o update.o plugin.o epgdconfig.o channelmap.o series.o svdrpclient.o levenshtein.o episode.o tvdbmanager.o moviedbmanager.o tools/fuzzy.o tools/stringhelpers.o scraper/thetvdbscraper/thetvdbscraper.o scraper/thetvdbscraper/tvdbseries.o scraper/thetvdbscraper/tvdbmirrors.o scraper/thetvdbscraper/tvdbmedia.o scraper/thetvdbscraper/tvdbactor.o scraper/thetvdbscraper/tvdbepisode.o scraper/themoviedbscraper/themoviedbscraper.o scraper/themoviedbscraper/moviedbmovie.o scraper/themoviedbscraper/moviedbactor.o -L./lib -lhorchi -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lpython2.7 -lpthread -ldl -lutil -lm -ljansson -lcurl -lxml2 -lz -llzma -lm -ldl -lxslt -lexslt -o epgd

    g++ -rdynamic epgdconfig.o webstore.o webdo.o webauth.o webtools.o httpd.o svdrpclient.o -L./lib -lhorchi -lmicrohttpd -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lpython2.7 -lpthread -ldl -lutil -lm -ljansson -lcurl -lxml2 -lz -llzma -lm -ldl -lxslt -lexslt -ljpeg -L/usr/lib64 -lImlib2 -o epghttpd

    make[1]: Nothing to be done for 'all'.

    (cd epglv && make)

    make[1]: Entering directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/epglv'

    gcc -c -Wall -fPIC -I/usr/local/include/mysql -L/usr/lib/mysql -L/usr/local/lib/mysql -I/usr/include/mysql -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -pipe -O3 -shared src/epglvbase.c -o src/epglvbase.o

    In file included from src/epglvbase.c:10:0:

    src/epglv.h:16:11: fatal error: my_global.h: No such file or directory

    # include <my_global.h>

    ^~~~~~~~~~~~~

    compilation terminated.

    make[1]: *** [Makefile:53: src/epglvbase.o] Error 1

    make[1]: Leaving directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/epglv'

    make: *** [Makefile:77: lv] Error 2



    Grüße,


    Dirk


    Hi !



    Diverse Plugins lassen sich mit vdr 2.4.0 unter openSUSE Leap 15.0 nicht mehr compilieren:


    duplicates:


    ...

    menu.c: In constructor ‘cMenuDuplicates::cMenuDuplicates()’:

    menu.c:213:3: error: ‘Recordings’ was not declared in this scope

    Recordings.StateChanged(recordingsState); // just to get the current state...


    scraper2vdr:


    ...

    Compile db ...


    db.c: In member function ‘int cDbConnection::errorSql(cDbConnection*, const char*, MYSQL_STMT*, const char*)’:

    db.c:969:17: error: ‘CR_INVALID_CONN_HANDLE’ was not declared in this scope

    error == CR_INVALID_CONN_HANDLE ||

    ^~~~~~~~~~~~~~~~~~~~~~

    db.c:969:17: note: suggested alternative: ‘CR_INVALID_BUFFER_USE’

    error == CR_INVALID_CONN_HANDLE ||

    ^~~~~~~~~~~~~~~~~~~~~~

    CR_INVALID_BUFFER_USE

    make[1]: *** [Makefile:58: db.o] Fehler 1

    make: *** [Makefile:75: hlib] Fehler 2

    ...


    skincurses:


    ...

    CC skincurses.o

    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/backup/privat/tv/dvb/vdr-2.4.0/include -c -DPLUGIN_NAME_I18N='"skincurses"' -o skincurses.o skincurses.c

    skincurses.c: In member function ‘virtual void cCursesOsd::RestoreRegion()’:

    skincurses.c:131:52: error: invalid use of incomplete type ‘WINDOW {aka struct _win_st}’

    copywin(savedRegion, window, 0, 0, savedRegion->_begy, savedRegion->_begx, savedRegion->_maxy - savedRegion->_begy, savedRegion->_maxx - savedRegion->_begx, false);

    ...


    smarttvweb:


    ...

    responsememblk.c: In member function ‘int cResponseMemBlk::sendBmlInstHtml()’:

    responsememblk.c:2263:34: error: no match for ‘operator<<’ (operand types are ‘std::basic_ostream<char>’ and ‘std::stringstream {aka std::__cxx11::basic_stringstream<char>}’)

    *(mLog->log()) << " Ownhost= " << own_host << endl;

    ...

    /usr/include/c++/7/ostream:682:5: error: no type named ‘type’ in ‘struct std::enable_if<false, std::basic_ostream<char>&>’

    make: *** [Makefile:66: responsememblk.o] Fehler 1
    ...


    markad:


    ...decoder.cpp:183:23: error: ‘AV_CODEC_ID_MPEG2VIDEO_XVMC’ was not declared in this scope

    video_codecid=AV_CODEC_ID_MPEG2VIDEO_XVMC;

    ...



    Grüße,


    Dirk
















    Hallo !




    Nach dem Update von openSUSE Leap 42.3 auf 15.0 lassen sich beide o.a. Plugins/Programme nicht mehr übersetzen.



    Die vdr-Version ist mit 2.4.0 gleich geblieben.



    U.a. haben sich die MYSQL-Packages/-Versionen geändert, weshalb es u.a. auch diverse Header-Files scheinbar nicht mehr gibt.




    rpm -qa | grep -i mysql | grep -i devel



    alt:




    libmysqlclient-devel-10.0.34-32.2.x86_64


    libmysqld-devel-10.0.34-32.2.x86_64



    neu:



    libmysqld-devel-10.2.15-lp150.2.3.2.x86_64


    libmysqlcppconn-devel-1.1.9-lp150.2.5.x86_64



    vdr-plugin-epg2vdr:



    ...


    Compile db ...


    db.c: In member function ‘int cDbConnection::errorSql(cDbConnection*, const char*, MYSQL_STMT*, const char*)’:


    db.c:1382:17: error: ‘CR_INVALID_CONN_HANDLE’ was not declared in this scope


    error == CR_INVALID_CONN_HANDLE ||


    ^~~~~~~~~~~~~~~~~~~~~~


    db.c:1382:17: note: suggested alternative: ‘CR_INVALID_BUFFER_USE’


    error == CR_INVALID_CONN_HANDLE ||


    ^~~~~~~~~~~~~~~~~~~~~~


    CR_INVALID_BUFFER_USE


    db.c:1386:17: error: ‘CR_CONN_UNKNOW_PROTOCOL’ was not declared in this scope


    error == CR_CONN_UNKNOW_PROTOCOL ||


    ^~~~~~~~~~~~~~~~~~~~~~~


    db.c:1386:17: note: suggested alternative: ‘CR_CONN_UNKNOWN_PROTOCOL’


    error == CR_CONN_UNKNOW_PROTOCOL ||


    ^~~~~~~~~~~~~~~~~~~~~~~


    CR_CONN_UNKNOWN_PROTOCOL


    make[1]: *** [Makefile:87: db.o] Fehler 1


    make: *** [Makefile:117: hlib] Fehler 2



    vdr-epg-daemon:



    ...


    (cd lib && make lib)


    make[1]: Verzeichnis „/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib“ wird betreten


    make[1]: Für das Ziel „lib“ ist nichts zu tun.


    make[1]: Verzeichnis „/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib“ wird verlassen


    g++ -rdynamic main.o update.o plugin.o epgdconfig.o channelmap.o series.o svdrpclient.o levenshtein.o episode.o tvdbmanager.o moviedbmanager.o tools/fuzzy.o tools/stringhelpers.o scraper/thetvdbscraper/thetvdbscraper.o scraper/thetvdbscraper/tvdbseries.o scraper/thetvdbscraper/tvdbmirrors.o scraper/thetvdbscraper/tvdbmedia.o scraper/thetvdbscraper/tvdbactor.o scraper/thetvdbscraper/tvdbepisode.o scraper/themoviedbscraper/themoviedbscraper.o scraper/themoviedbscraper/moviedbmovie.o scraper/themoviedbscraper/moviedbactor.o -L./lib -lhorchi -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lpython2.7 -lpthread -ldl -lutil -lm -ljansson -lcurl -lxml2 -lz -llzma -lm -ldl -lxslt -lexslt -o epgd


    g++ -rdynamic epgdconfig.o webstore.o webdo.o webauth.o webtools.o httpd.o svdrpclient.o -L./lib -lhorchi -lmicrohttpd -lrt -lz -larchive -ldl -lcrypto -luuid -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lpython2.7 -lpthread -ldl -lutil -lm -ljansson -lcurl -lxml2 -lz -llzma -lm -ldl -lxslt -lexslt -ljpeg -L/usr/lib64 -lImlib2 -o epghttpd


    make[1]: Für das Ziel „all“ ist nichts zu tun.


    (cd epglv && make)


    make[1]: Verzeichnis „/backup/privat/tv/dvb/tools/vdr-epg-daemon/epglv“ wird betreten


    gcc -c -Wall -fPIC -I/usr/local/include/mysql -L/usr/lib/mysql -L/usr/local/lib/mysql -I/usr/include/mysql -L/usr/lib64 -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -DMYSQL_DYNAMIC_PLUGIN -DDEBUG_MYSQL=0 -pipe -O3 -shared src/epglvbase.c -o src/epglvbase.o


    In file included from src/epglvbase.c:10:0:


    src/epglv.h:16:11: fatal error: my_global.h: Datei oder Verzeichnis nicht gefunden


    # include <my_global.h>


    ^~~~~~~~~~~~~


    compilation terminated.


    make[1]: *** [Makefile:53: src/epglvbase.o] Fehler 1


    make[1]: Verzeichnis „/backup/privat/tv/dvb/tools/vdr-epg-daemon/epglv“ wird verlassen


    make: *** [Makefile:77: lv] Fehler 2



    Grüße,


    Dirk

    Hi !



    Erstmal Danke für die Infos.


    Könnte mir ggf. jemand Beispiel-Konfigfiles, entsprechende Optionen für das dynamite-Plugin, etc. per PM mailen, um mein Problem zu lösen.



    Grüße,


    Dirk

    Hallo !



    Ich habe u.a. zwei HVR 5525-Karten in meinem System (mit vdr 2.2.0) !


    Eine Karte nutze ich für DVB-S2 + DVB-T2 und die andere für DVB-S2 + DVB-C !


    Per w_scan kann ich problemlos für DVB-T2 und DVB-C einen entsprechenden Scanlauf durchführen


    und jeweils korrekte Ausgaben für eine channels.conf erzeugen.


    Sender für DVB-S2 + DVB-T kann ich im/per vdr problemlos ansehen/aufnehmen/etc. !


    Wähle ich einen DVB-C-Sender bekomme ich nur einen schwarzen Schirm.


    Laut Wiki soll/muß man unter Linux das Frontend, welches man für DVB-C nutzen will, per


    dvb-fe-tool -a 5 -f 0 -d DVB-C


    vor dem Starten des vdr-Programmes umschalten, aber das löst mein Problem auch nicht,


    d.h. vdr nutzt bei der Auswahl von DVB-Channels laut systemlog immer das Device/Frontend mit dem DVB-T2-Kabel !


    Wo liegt mein Problem ?



    Grüße,


    Dirk

    Hallo !



    Leider hilft ein epgd-dropall nicht, das der folgende Error nicht wieder kommt:


    Apr 07 20:30:33 pcneu vdr[25842]: epg2vdr: SQL-Error in 'prepare(stmt_prepare)' - Unknown column 'mergesource' in 'field list' (1054) 'Unknown column
    'mergesource' in 'field list'' [select useid, eventid, source, delflg, updflg, fileref, tableid, version, title, shorttext, starttime, duration, paren
    talrating, vps, contents, description, mergesource, longdescription from eventsview where channelid = ? and updsp > ? and UPDFLG in ('A','L','P','C','
    D','R')]


    Grüße,


    Dirk

    Was fehlt in meinen Configs oder sind die Meldungen normal ?


    Jul 06 16:05:14 pcneu epgd[21467]: Info: Systemd watchdog not configured, epgd won't be sending keep-alive messages!


    Jul 08 10:05:47 pcneu epgd[16756]: Warning: Requested parameter 'epgd/lastFullEpisodeRun' not known, ignoring


    Grüße,


    Dirk

    Hallo !



    Nach dem Update auf ffmpeg 3.1.1 läuft der markad-Compile (aus dem git) nicht mehr:



    for i in command plugin; do make -C $i; done
    make[1]: Entering directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/command'
    g++ -g -rdynamic -O3 -funroll-loops -Wall -Wextra -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__USE_XOPEN_EXTENDED markad-standalone.cpp
    markad-standalone.cpp: In static member function ‘static void* cOSDMessage::send(void*)’:
    markad-standalone.cpp:161:53: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
    memcpy(&name.sin_addr.s_addr,host->h_addr,sizeof(host->h_addr));
    ^
    g++ -g -rdynamic -O3 -funroll-loops -Wall -Wextra -Woverloaded-virtual -Wno-parentheses -c -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__USE_XOPEN_EXTENDED decoder.cpp
    decoder.cpp: In constructor ‘cMarkAdDecoder::cMarkAdDecoder(bool, int)’:
    decoder.cpp:237:43: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
    memset(video_context->codec_name,0,sizeof(video_context->codec_name));
    ^
    decoder.cpp:237:43: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
    decoder.cpp:237:78: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
    memset(video_context->codec_name,0,sizeof(video_context->codec_name));
    ^
    decoder.cpp:237:78: warning: ‘AVCodecContext::codec_name’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1664) [-Wdeprecated-declarations]
    decoder.cpp:285:51: error: ‘avcodec_alloc_frame’ was not declared in this scope
    video_frame = avcodec_alloc_frame();
    ^
    decoder.cpp: In member function ‘bool cMarkAdDecoder::Clear()’:
    decoder.cpp:357:17: warning: ‘int avcodec_copy_context(AVCodecContext*, const AVCodecContext*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
    if (avcodec_copy_context(dest,video_context)!=0) ret=false;
    ^
    decoder.cpp:357:56: warning: ‘int avcodec_copy_context(AVCodecContext*, const AVCodecContext*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4182) [-Wdeprecated-declarations]
    if (avcodec_copy_context(dest,video_context)!=0) ret=false;
    ^
    decoder.cpp: In member function ‘bool cMarkAdDecoder::DecodeVideo(MarkAdContext*, uchar*, int)’:
    decoder.cpp:452:13: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
    len=avcodec_decode_video2(video_context,video_frame,&video_frame_ready,
    ^
    decoder.cpp:453:41: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:4753) [-Wdeprecated-declarations]
    &avpkt);
    ^
    Makefile:48: recipe for target 'decoder.o' failed
    make[1]: *** [decoder.o] Error 1
    make[1]: Leaving directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/command'
    make[1]: Entering directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/plugin'
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -c -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"markad"' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../../../../include markad.cpp
    g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -shared markad.o status.o menu.o setup.o -o libvdr-markad.so
    cp --remove-destination libvdr-markad.so ../../../lib/libvdr-markad.so.2.2.0
    xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<see README>' -o po/markad.pot markad.cpp setup.cpp menu.cpp status.cpp version.h menu.h status.h markad.h setup.h
    msgmerge -U --no-wrap --no-location --backup=none -q po/fi_FI.po po/markad.pot
    msgfmt -c -o po/fi_FI.mo po/fi_FI.po
    cp po/fi_FI.mo ../../../../locale/fi_FI/LC_MESSAGES/vdr-markad.mo
    msgmerge -U --no-wrap --no-location --backup=none -q po/es_ES.po po/markad.pot
    msgfmt -c -o po/es_ES.mo po/es_ES.po
    cp po/es_ES.mo ../../../../locale/es_ES/LC_MESSAGES/vdr-markad.mo
    msgmerge -U --no-wrap --no-location --backup=none -q po/it_IT.po po/markad.pot
    msgfmt -c -o po/it_IT.mo po/it_IT.po
    cp po/it_IT.mo ../../../../locale/it_IT/LC_MESSAGES/vdr-markad.mo
    msgmerge -U --no-wrap --no-location --backup=none -q po/sk_SK.po po/markad.pot
    msgfmt -c -o po/sk_SK.mo po/sk_SK.po
    po/sk_SK.po:7: Warnung: Das Feld »Language« im Kopfeintrag hat immer noch den anfänglichen Vorgabewert
    cp po/sk_SK.mo ../../../../locale/sk_SK/LC_MESSAGES/vdr-markad.mo
    msgmerge -U --no-wrap --no-location --backup=none -q po/de_DE.po po/markad.pot
    msgfmt -c -o po/de_DE.mo po/de_DE.po
    cp po/de_DE.mo ../../../../locale/de_DE/LC_MESSAGES/vdr-markad.mo
    make[1]: Leaving directory '/backup/privat/tv/dvb/vdr-2.2.0/PLUGINS/src/vdr-plugin-markad/plugin'



    Grüße,


    Dirk

    Ok, sieht deutlich besser aus.


    Man lernt nie aus.


    Gibt es auch eine neue Version des tvm-Plugins ?


    Der Compile der alten Version klappt nicht !


    Grüße,


    Dirk


    tvm.c: In member function ‘int Tvm2::downloadImageFile(const char*)’:
    tvm.c:525:23: error: ‘EPG2VDRConfig’ was not declared in this scope
    password, EPG2VDRConfig.cachePath, getSource(),
    ^
    tvm.c: In member function ‘virtual int Tvm2::getPicture(const char*, const char*, MemoryStruct*)’:
    tvm.c:556:31: error: ‘EPG2VDRConfig’ was not declared in this scope
    asprintf(&tmp, "%s/%s/%s", EPG2VDRConfig.cachePath, getSource(), imagename);
    ^
    tvm.c: In member function ‘int Tvm2::createXml(const char*, MemoryStruct*)’:
    tvm.c:584:45: error: ‘EPG2VDRConfig’ was not declared in this scope
    asprintf(&filename, "/%s/%s/%s.tv%d", EPG2VDRConfig.cachePath, getSource(), extid, num+1);
    ^
    tvm.c:588:73: warning: ISO C++98 does not support the ‘%m’ gnu_printf format [-Wformat=]
    tell(0, "Error: Opening '%s' failed, status was '%m'", filename);
    ^
    tvm.c:655:8: error: ‘EPG2VDRConfig’ was not declared in this scope
    if (EPG2VDRConfig.storeXmlToFs)
    ^
    ../../Make.config:87: recipe for target 'tvm.o' failed
    make: *** [tvm.o] Error 1
    pcneu:/privat/tv/dvb/tools/vdr-epg-daemon/PLUGINS/tvm # cd ..

    Bei mir geht ein Compile schief:


    (cd lib && make lib)
    make[1]: Entering directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib'
    make[1]: Nothing to be done for 'lib'.
    make[1]: Leaving directory '/backup/privat/tv/dvb/tools/vdr-epg-daemon/lib'
    for i in `ls ./PLUGINS | grep -v '[^a-z0-9]'`; do\
    if grep -q "PLUGIN.*=" "./PLUGINS/$i/Makefile"; then\
    make --no-print-directory -C "./PLUGINS/$i";\
    fi;\
    done;
    make[1]: Nothing to be done for 'all'.
    g++ -c -ggdb -fno-stack-protector -O0 -fPIC -Wextra -Wno-unused-parameter -Wreturn-type -Wall -Wno-parentheses -Wformat -pedantic -Wunused-variable -Wunused-label -Werror=format-security -Wparentheses -Wunused-value -Wunused-function -Wno-long-long -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../.. -Wno-long-long -D_GNU_SOURCE -DBINDEST='"/usr/local/bin"' -DTARGET='""' -DLOG_PREFIX='""' -DPLGDIR='"/usr/local/lib/epgd/plugins"' -DUSEUUID -DUSEMD5 -DUSELIBXML -DUSELIBARCHIVE -DUSEJSON -DUSEGUNZIP -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/include/python2.7 -I/usr/include/python2.7 -o tvm.o tvm.c
    In file included from tvm.c:11:0:
    tvm.h: In member function ‘std::string Field::getXmlString()’:
    tvm.h:94:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < stringContent.size(); i++)
    ^
    tvm.c: In member function ‘virtual int Tvm2::initDb()’:
    tvm.c:60:56: error: ‘cTableEvents’ has not been declared
    valueFileRef = new cDbValue(obj->eventsDb->getField(cTableEvents::fiFileRef));
    ^
    tvm.c:64:30: error: ‘cTableEvents’ has not been declared
    stmtSetDelByFileref->bind(cTableEvents::fiDelFlg, cDbService::bndIn |cDbService:: bndSet);
    ^
    tvm.c:65:30: error: ‘cTableEvents’ has not been declared
    stmtSetDelByFileref->bind(cTableEvents::fiUpdFlg, cDbService::bndIn |cDbService:: bndSet, ", ");
    ^
    tvm.c:66:30: error: ‘cTableEvents’ has not been declared
    stmtSetDelByFileref->bind(cTableEvents::fiFileRef, cDbService::bndIn | cDbService::bndSet, ", ");
    ^
    tvm.c:67:30: error: ‘cTableEvents’ has not been declared
    stmtSetDelByFileref->bind(cTableEvents::fiUpdSp, cDbService::bndIn | cDbService::bndSet, ", ");
    ^
    tvm.c:70:30: error: ‘cTableEvents’ has not been declared
    stmtSetDelByFileref->bind(cTableEvents::fiSource, cDbService::bndIn | cDbService::bndSet, " and ");
    ^
    tvm.c:82:19: error: ‘cTableChannelMap’ has not been declared
    selectId->bind(cTableChannelMap::fiChannelId, cDBS::bndOut);
    ^
    tvm.c:83:19: error: ‘cTableChannelMap’ has not been declared
    selectId->bind(cTableChannelMap::fiMergeSp, cDBS::bndOut, ", ");
    ^
    tvm.c:84:19: error: ‘cTableChannelMap’ has not been declared
    selectId->bind(cTableChannelMap::fiMerge, cDBS::bndOut, ", ");
    ^
    tvm.c:86:19: error: ‘cTableChannelMap’ has not been declared
    selectId->bind(cTableChannelMap::fiSource, cDBS::bndIn | cDBS::bndSet);
    ^
    tvm.c:87:19: error: ‘cTableChannelMap’ has not been declared
    selectId->bind(cTableChannelMap::fiExternalId, cDBS::bndIn | cDBS::bndSet, " and ");
    ^
    tvm.c:97:29: error: ‘cTableChannelMap’ has not been declared
    selectDistBySource->bind(cTableChannelMap::fiExternalId, cDBS::bndOut, "distinct ");
    ^
    tvm.c:99:29: error: ‘cTableChannelMap’ has not been declared
    selectDistBySource->bind(cTableChannelMap::fiSource, cDBS::bndIn | cDBS::bndSet);
    ^
    tvm.c: In member function ‘virtual int Tvm2::processDay(int, int, Statistic*)’:
    tvm.c:180:25: error: ‘cTableChannelMap’ has not been declared
    obj->mapDb->setValue(cTableChannelMap::fiSource, getSource());
    ^
    tvm.c:185:52: error: ‘cTableChannelMap’ has not been declared
    char* extid = strdup(obj->mapDb->getStrValue(cTableChannelMap::fiExternalId));
    ^
    tvm.c:201:29: error: ‘cTableFileRefs’ has not been declared
    obj->fileDb->setValue(cTableFileRefs::fiName, filename);
    ^
    tvm.c:202:29: error: ‘cTableFileRefs’ has not been declared
    obj->fileDb->setValue(cTableFileRefs::fiSource, getSource());
    ^
    tvm.c:229:42: error: ‘cTableFileRefs’ has not been declared
    if (found && obj->fileDb->hasValue(cTableFileRefs::fiFileRef, fileRef))
    ^
    tvm.c:276:63: error: ‘cTableFileRefs’ has not been declared
    asprintf(&fileRef, "%s-%s", obj->fileDb->getStrValue(cTableFileRefs::fiName), data.tag);
    ^
    tvm.c:295:40: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiDelFlg, "Y");
    ^
    tvm.c:296:40: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiUpdFlg, "D");
    ^
    tvm.c:297:40: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiFileRef, fileRef); // new fileref
    ^
    tvm.c:298:40: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiUpdSp, time(0));
    ^
    tvm.c:299:40: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiSource, getSource());
    ^
    tvm.c:300:64: error: ‘cTableFileRefs’ has not been declared
    valueFileRef->setValue(obj->fileDb->getStrValue(cTableFileRefs::fiFileRef)); // old fileref
    ^
    tvm.c:306:35: error: ‘cTableFileRefs’ has not been declared
    obj->fileDb->setValue(cTableFileRefs::fiExternalId, extid);
    ^
    tvm.c:307:35: error: ‘cTableFileRefs’ has not been declared
    obj->fileDb->setValue(cTableFileRefs::fiTag, data.tag);
    ^
    tvm.c:308:35: error: ‘cTableFileRefs’ has not been declared
    obj->fileDb->setValue(cTableFileRefs::fiFileRef, fileRef);
    ^
    tvm.c: In member function ‘int Tvm2::processFile(const char*, MemoryStruct*, const char*)’:
    tvm.c:355:23: error: ‘EPG2VDRConfig’ was not declared in this scope
    password, EPG2VDRConfig.cachePath, getSource(),
    ^
    tvm.c:392:25: error: ‘cTableChannelMap’ has not been declared
    obj->mapDb->setValue(cTableChannelMap::fiExternalId, extid);
    ^
    tvm.c:393:25: error: ‘cTableChannelMap’ has not been declared
    obj->mapDb->setValue(cTableChannelMap::fiSource, getSource());
    ^
    tvm.c:397:55: error: ‘cTableChannelMap’ has not been declared
    const char* channelId = obj->mapDb->getStrValue(cTableChannelMap::fiChannelId);
    ^
    tvm.c:425:34: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiEventId, id);
    ^
    tvm.c:426:34: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiChannelId, channelId);
    ^
    tvm.c:430:34: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiSource, getSource());
    ^
    tvm.c:431:34: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiFileRef, fileRef);
    ^
    tvm.c:439:37: error: ‘cTableEvents’ has not been declared
    if (!obj->eventsDb->isNull(cTableEvents::fiTitle))
    ^
    tvm.c:441:47: error: ‘cTableEvents’ has not been declared
    comp = obj->eventsDb->getStrValue(cTableEvents::fiTitle);
    ^
    tvm.c:443:37: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiCompTitle, comp.c_str());
    ^
    tvm.c:446:37: error: ‘cTableEvents’ has not been declared
    if (!obj->eventsDb->isNull(cTableEvents::fiShortText))
    ^
    tvm.c:448:47: error: ‘cTableEvents’ has not been declared
    comp = obj->eventsDb->getStrValue(cTableEvents::fiShortText);
    ^
    tvm.c:450:37: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiCompShortText, comp.c_str());
    ^
    tvm.c:459:54: error: ‘cTableChannelMap’ has not been declared
    time_t mergesp = obj->mapDb->getIntValue(cTableChannelMap::fiMergeSp);
    ^
    tvm.c:460:57: error: ‘cTableEvents’ has not been declared
    long starttime = obj->eventsDb->getIntValue(cTableEvents::fiStartTime);
    ^
    tvm.c:461:49: error: ‘cTableChannelMap’ has not been declared
    int merge = obj->mapDb->getIntValue(cTableChannelMap::fiMerge);
    ^
    tvm.c:463:37: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiVersion, 0xFF);
    ^
    tvm.c:464:37: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiTableId, 0L);
    ^
    tvm.c:465:37: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiUseId, 0L);
    ^
    tvm.c:468:40: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiUpdFlg, "I");
    ^
    tvm.c:470:40: error: ‘cTableEvents’ has not been declared
    obj->eventsDb->setValue(cTableEvents::fiUpdFlg, merge > 1 ? "S" : "A");
    ^
    tvm.c: In member function ‘int Tvm2::downloadImageFile(const char*)’:
    tvm.c:525:23: error: ‘EPG2VDRConfig’ was not declared in this scope
    password, EPG2VDRConfig.cachePath, getSource(),
    ^
    tvm.c: In member function ‘virtual int Tvm2::getPicture(const char*, const char*, MemoryStruct*)’:
    tvm.c:556:31: error: ‘EPG2VDRConfig’ was not declared in this scope
    asprintf(&tmp, "%s/%s/%s", EPG2VDRConfig.cachePath, getSource(), imagename);
    ^
    tvm.c: In member function ‘int Tvm2::createXml(const char*, MemoryStruct*)’:
    tvm.c:584:45: error: ‘EPG2VDRConfig’ was not declared in this scope
    asprintf(&filename, "/%s/%s/%s.tv%d", EPG2VDRConfig.cachePath, getSource(), extid, num+1);
    ^
    tvm.c:588:73: warning: ISO C++98 does not support the ‘%m’ gnu_printf format [-Wformat=]
    tell(0, "Error: Opening '%s' failed, status was '%m'", filename);
    ^
    tvm.c:655:8: error: ‘EPG2VDRConfig’ was not declared in this scope
    if (EPG2VDRConfig.storeXmlToFs)
    ^
    ../../Make.config:87: recipe for target 'tvm.o' failed
    make[1]: *** [tvm.o] Error 1
    Makefile:161: recipe for target 'plugins' failed
    make: *** [plugins] Error 2


    Grüße,


    Dirk

    Hallo !


    Beim Starten des Plugins (frisch aus dem git) mit leerer DB kommen folgende Error-Meldungen:


    Jan 05 19:24:57 pcneu epgd[31248]: Creating view 'eventsview' using definition in '/etc/epgd/eventsview.sql'
    Jan 05 19:24:57 pcneu epgd[31248]: Drop view 'eventsviewplain'
    Jan 05 19:24:57 pcneu epgd[31248]: Creating view 'eventsviewplain' using definition in '/etc/epgd/eventsviewplain.sql'
    Jan 05 19:24:57 pcneu epgd[31248]: Drop view 'thetvdbview'
    Jan 05 19:24:57 pcneu epgd[31248]: Creating view 'thetvdbview' using definition in '/etc/epgd/thetvdbview.sql'
    Jan 05 19:24:57 pcneu epgd[31248]: No external events on database, force initial check!
    Jan 05 19:24:57 pcneu epgd[31248]: using scrapping language de
    Jan 05 19:24:57 pcneu epgd[31248]: tvdb scraper connected
    Jan 05 19:24:57 pcneu epgd[31248]: create index idxmovietitle on movie(movie_title);
    Jan 05 19:24:57 pcneu epgd[31248]: SQL-Error in 'create index idxmovietitle on movie(movie_title);' - Specified key was too long; max key length is 767 bytes (1071)
    Jan 05 19:24:57 pcneu epgd[31248]: SQL-Error in 'createIndices()' - Specified key was too long; max key length is 767 bytes (1071) '' [create index idxmovietitle on movie(movie_title);]
    Jan 05 19:24:57 pcneu epgd[31248]: moviedb scraper connected
    Jan 05 19:24:57 pcneu epgd[31274]: Scheduled next update in 10 second(s)
    Jan 05 19:24:57 pcneu epgd[31274]: State now 'standby'


    Grüße,


    Dirk

    Hallo !



    Trotz aktuellstem Update aus GIT, problemlosen Compile und neu erzeugter DB bringt das epgd-Plugin u.a. SQL-Fehler:


    ...
    Okt 26 19:15:30 pcneu epgd[26677]: Warning: Ignoring unexpected line [# 2004 1055 1055]
    Okt 26 19:15:30 pcneu epgd[26677]: Warning: Ignoring unexpected line [# 2005 1056 1059]
    Okt 26 19:15:30 pcneu epgd[26677]: Warning: Ignoring unexpected line [# 2010 1060 1062]
    Okt 26 19:15:30 pcneu epgd[26677]: Warning: Ignoring unexpected line [# 2011 1063 1063]
    Okt 26 19:15:30 pcneu epgd[26677]: Warning: Ignoring unexpected line [# 2012 1064 1064]


    Okt 26 19:15:32 pcneu epgd[26677]: SQL-Error in 'execute(stmt_execute)' - Incorrect string value: '\xDFe Alg...' for column 'partname' at row 1 (1366) 'Incorrect string value: '\xDFe Alg...'
    for column 'partname' at row 1' [insert into episodes set compname = ?, comppartname = ?, lang = ?, inssp = ?, updsp = ?, link = ?, shortname = ?, episodename = ?, partname = ?, season = ?,
    part = ?, parts = ?, number = ?, extracol1 = ?, extracol2 = ?, extracol3 = ?, comment = ?;]
    Okt 26 19:15:32 pcneu epgd[26677]: [105B blob data]
    Okt 26 19:15:32 pcneu epgd[26677]: SQL-Error in 'execute(stmt_execute)' - Incorrect string value: '\xE4cherf...' for column 'partname' at row 1 (1366) 'Incorrect string value: '\xE4cherf...'
    for column 'partname' at row 1' [insert into episodes set compname = ?, comppartname = ?, lang = ?, inssp = ?, updsp = ?, link = ?, shortname = ?, episodename = ?, partname = ?, season = ?,
    part = ?, parts = ?, number = ?, extracol1 = ?, extracol2 = ?, extracol3 = ?, comment = ?;]
    Okt 26 19:15:32 pcneu epgd[26677]: [110B blob data]
    Okt 26 19:15:32 pcneu epgd[26677]: SQL-Error in 'execute(stmt_execute)' - Incorrect string value: '\xFCder' for column 'partname' at row 1 (1366) 'Incorrect string value: '\xFCder' for colum
    n 'partname' at row 1' [insert into episodes set compname = ?, comppartname = ?, lang = ?, inssp = ?, updsp = ?, link = ?, shortname = ?, episodename = ?, partname = ?, season = ?, part = ?,
    parts = ?, number = ?, extracol1 = ?, extracol2 = ?, extracol3 = ?, comment = ?;]
    Okt 26 19:15:32 pcneu epgd[26677]: [106B blob data]
    Okt 26 19:15:32 pcneu epgd[26677]: SQL-Error in 'execute(stmt_execute)' - Incorrect string value: '\xF6te' for column 'partname' at row 1 (1366) 'Incorrect string value: '\xF6te' for column
    'partname' at row 1' [insert into episodes set compname = ?, comppartname = ?, lang = ?, inssp = ?, updsp = ?, link = ?, shortname = ?, episodename = ?, partname = ?, season = ?, part = ?, p
    arts = ?, number = ?, extracol1 = ?, extracol2 = ?, extracol3 = ?, comment = ?;]
    Okt 26 19:15:32 pcneu epgd[26677]: [106B blob data]
    Okt 26 19:15:32 pcneu epgd[26677]: SQL-Error in 'execute(stmt_execute)' - Incorrect string value: '\xFCte' for column 'partname' at row 1 (1366) 'Incorrect string value: '\xFCte' for column
    'partname' at row 1' [insert into episodes set compname = ?, comppartname = ?, lang = ?, inssp = ?, updsp = ?, link = ?, shortname = ?, episodename = ?, partname = ?, season = ?, part = ?, p
    arts = ?, number = ?, extracol1 = ?, extracol2 = ?, extracol3 = ?, comment = ?;]
    Okt 26 19:15:32 pcneu epgd[26677]: [102B blob data]
    ...


    Grüße,


    Dirk

    Hallo !



    Ich habe zwei Probleme.



    Auf meinem Samsung TV V UE 40 H 6470 SSXZG habe ich aus Versehen alle möglichen VDR-Server aus dem "Konfigmenue" gelöscht und bekomme dadurch jetzt


    einen schwarzen leeren Bildschirm beim Aufruf Plugins.


    Wie kann ich einen neuen VDR-Server konfigurieren ?



    Auf einem weiteren Samsung TV UE 40 J 6250 SUXZG kann ich über SmartHub das Plugin gar nicht installieren, obwohl ich auf dem TV als develop angemeldet bin,


    da ich über SmartHub irgendwie die SmartHub-Optionen nicht aufrufen kann oder sehe !


    Wie bekomme ich das Plugin installiert ?



    Grüße,


    Dirk