Project

General

Profile

Actions

Bug #1709

closed

mcli-plugin vdr 2.1.x

Added by Anonymous about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
02/06/2014
Due date:
% Done:

0%

Estimated time:

Description

Das Plugin funktioniert mit den aktuellen Developer Versionen des VDR nicht mehr.


Files

vdr-plugin-mcli-2.1.x.patch (34.7 KB) vdr-plugin-mcli-2.1.x.patch mhorwath, 07/13/2014 11:35 AM
Actions #1

Updated by Hoppaz about 10 years ago

  • Assignee set to hsteinhaus

Mit der aktuellen 2.0.6 funktioniert es (das nur als Hinweis).

Ich habe das mit 2.1.6 nachgestellt und gesehen, daß an der Kommandozeile ganz viele Zeilen:
ProvidesChannel:4 Channel:RTL Television, Prio:0 this->Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:5 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:6 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:1 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:2 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:3 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:4 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:5 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:6 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:1 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:2 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:3 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:4 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 > 0
ProvidesChannel:5 Channel:RTL Television, Prio:0 this
>Prio:-100 m_chan.Name: NeedsDetachReceivers:0 -> 0

In dem zughörigen Thread im http://reelbox-forum.com/showthread.php?8252-mcli-Plugin-mit-vdr-2-1-x gibt es einen Hinweis auf fehlenden Code...
(ich glaube das hat aber noch keiner Ausprobiert). -> http://reelbox-forum.com/showthread.php?8252-mcli-Plugin-mit-vdr-2-1-x&p=82242&viewfull=1#post82242

In device.h sollte mal folgendes eingefügt werden (siehe thread).

virtual bool HasDecoder() (void) const {
return true;
}

Das führt bei mir beim make zu:
In file included from mcli.c:17:0:
device.h:165:35: error: ‘HasDecoder’ declared as function returning a function
make1: *** [mcli.o] Error 1

Actions #2

Updated by Razorblade almost 10 years ago

Ich glaube nicht, dass es am "HasDecoder" liegt:
- 2.0.4 und wie Du schreibst 2.0.6 funktionieren noch wunderbar (da war diese Änderung auch schon drin), 2.1.1 ging auch schon nicht (da ist sie noch nicht drin)
- die Funktion ist für Output-Plugins, nicht für Input-Plugins (mcli hat so oder so keinen Decoder)

Actions #3

Updated by mhorwath almost 10 years ago

anbei mein erster patch der dass ganze für die vdr-2.1.x serie zum laufen bringen sollte...

Actions #4

Updated by Hoppaz over 9 years ago

mhorwath wrote:

anbei mein erster patch der dass ganze für die vdr-2.1.x serie zum laufen bringen sollte...

Hi,

muß man für die 2.0er Schiene noch eine Versionsabhängigkeit einbauen oder funktioniert der Patch auch problemlos mit 2.0.x ?
Ich war die letzten 2 Wochen im Urlaub... sorry for delay.

Probiere es heute abend mal aus.

Actions #5

Updated by mhorwath over 9 years ago

das habe ich schon eingebaut... mit dem patch sollte das anstandslos bei einer 2.0.x serie laufen...

Actions #6

Updated by Hoppaz over 9 years ago

Habe grad auf meine "normale" weise mal ausprobiert ob es mit 2.0.6 compiliert.

Ich bekomme folgenden Fehler (make PLUGINS):

*** Plugin mcli:
Makefile:135: warning: overriding commands for target `libvdr-mcli.so'
Makefile:128: warning: ignoring old commands for target `libvdr-mcli.so'
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -fPIC -s
hared mcli.o cam_menu.o device.o filter.o packetbuffer.o mcast/client/libmcli.a `xml2-config --libs` -o libvdr-mcli.so
g++: error: mcast/client/libmcli.a: No such file or directory
make[1]: *** [libvdr-mcli.so] Error 1

Habe aber keinen blassen Schimmer warum. Mit dem git-Stand bekomme ich es nicht.
Die einzige Änderung im Makefile ist doch das Hinzufügen von SOFILE.
Switcht der dann automatisch um und setzt MCLI_SHARED? Hast du einen Tipp für mich?

Grad noch ein update... Wenn ich vorher in mcast/client/ ein make mache, dann compiliert es auch. Hmm...

Actions #7

Updated by Hoppaz over 9 years ago

Hi nochmal,

das läßt sich beheben, indem ich noch eine regel für libmlci.a einbaue.

libmcli.a libmcli.so:
        $(MAKE) -C mcast/client/

Ich teste nachher nochmal... ob das 2.0.6er Kompilat auch läuft.

Actions #8

Updated by mhorwath over 9 years ago

soweit ich das verstanden habe (bin da eigentlich anfänger)

nachdem ich das hier definiert hatte
SOFILE = libvdr-$(PLUGIN).so

wird nun nachfolgendes erstmalig ausgeführt...

  1. Targets:
    $(SOFILE): $(OBJS)
    $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@

um das hier zu beheben
Makefile:135: warning: overriding commands for target `libvdr-mcli.so'
Makefile:128: warning: ignoring old commands for target `libvdr-mcli.so'

muss man nur das hier auskommentieren
#$(SOFILE): $(OBJS)
  1. $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@
Actions #9

Updated by Hoppaz over 9 years ago

Das war schon erledigt. Ich hatten den Patch eingecheckt...

Actions #10

Updated by Hoppaz over 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF