Skip to content

Commit

Permalink
add new mediathekviewweb plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jbleyel committed Feb 10, 2024
1 parent 2ce44c7 commit bc572e0
Show file tree
Hide file tree
Showing 33 changed files with 586 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ else
SUBDIRS += remotetimer
endif

SUBDIRS += tetris ardmediathek netzkino Series2Folder srfmediathek epgexport
SUBDIRS += tetris ardmediathek netzkino Series2Folder srfmediathek epgexport mediathekviewweb

metadir = $(datadir)/meta
meta_DATA = index-enigma2-plugins.xml
Expand Down
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -883,5 +883,9 @@ epgexport/Makefile
epgexport/po/Makefile
epgexport/src/Makefile
mediathekviewweb/Makefile
mediathekviewweb/src/Makefile
mediathekviewweb/src/img/Makefile
])
AC_OUTPUT
2 changes: 2 additions & 0 deletions mediathekviewweb/CONTROL/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Description: Mediathekviewweb
Depends: enigma2, python-twisted-web
1 change: 1 addition & 0 deletions mediathekviewweb/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBDIRS = src
6 changes: 6 additions & 0 deletions mediathekviewweb/src/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SUBDIRS = img

installdir = $(libdir)/enigma2/python/Plugins/Extensions/Mediathekviewweb

install_PYTHON = *.py
install_DATA = logo.png skin_FHD.xml skin_HD.xml
Empty file.
3 changes: 3 additions & 0 deletions mediathekviewweb/src/img/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
installdir = $(libdir)/enigma2/python/Plugins/Extensions/Mediathekviewweb/img

install_DATA = *.png
Binary file added mediathekviewweb/src/img/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_blue_hd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_exit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_exit_hd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_green_hd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_menu_hd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_ok.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_ok_hd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_red_hd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_yellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/key_yellow_hd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/nextpage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/nocover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/sel_1200.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/sel_800.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/sender.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/img/suche.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mediathekviewweb/src/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
554 changes: 554 additions & 0 deletions mediathekviewweb/src/mediathekviewweb.py

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions mediathekviewweb/src/plugin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# -*- coding: UTF-8 -*-
from Plugins.Plugin import PluginDescriptor
from six.moves import reload_module


def main(session, **kwargs):
from . import mediathekviewweb
reload_module(mediathekviewweb)
session.open(mediathekviewweb.Mediathekviewweb)


def Plugins(**kwargs):
return PluginDescriptor(name="Mediathekviewweb", description="Mediathekviewweb Plugin für Enigma2", where=[PluginDescriptor.WHERE_EXTENSIONSMENU, PluginDescriptor.WHERE_PLUGINMENU], icon="logo.png", fnc=main)
1 change: 1 addition & 0 deletions mediathekviewweb/src/skin_FHD.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<skin><screen name="glass" position="center,center" size="1800,960" flags="wfNoBorder" backgroundColor="{col1}"><widget name="PluginName" position="24,24" size="1050,60" font="SRegular;39" foregroundColor="#FFFFFF" valign="top" transparent="1"/><widget source="global.CurrentTime" render="Label" position="1128,24" size="660,60" font="SRegular;39" foregroundColor="#FFFFFF" halign="right" valign="top" transparent="1"><convert type="ClockToText">Format %a.%e %b. %Y %H:%M</convert></widget><eLabel position="0,90" size="1800,780" backgroundColor="{col2}" zPosition="-1"/><widget source="movielist" render="Listbox" position="18,108" size="1200,750" foregroundColor="#FFFFFF" foregroundColorSelected="#FFFFFF" backgroundColorSelected="{col1}" scrollbarMode="showOnDemand" scrollbarWidth="6" scrollbarSliderForegroundColor="{col3}" selectionPixmap="{picpath}sel_1200.png" transparent="1"><convert type="TemplatedMultiContent">{"template": [ MultiContentEntryText(pos=(6,0), size=(1041,45), font=0, text=1, flags=RT_HALIGN_LEFT|RT_VALIGN_CENTER), MultiContentEntryText(pos=(1050,0), size=(150,45), font=0, text=5, flags=RT_HALIGN_CENTER|RT_VALIGN_CENTER)], "fonts": [gFont("SRegular",33)], "itemHeight": 50 }</convert></widget><widget name="cover" position="1239,108" size="540,303" alphatest="blend" transparent="1"/><widget name="handlung" position="1239,480" size="540,378" font="SRegular;33" halign="left" foregroundColor="#FFFFFF" scrollbarWidth="6" scrollbarSliderForegroundColor="{col3}" transparent="1"/><widget name="progress" position="1239,456" size="540,15" foregroundColor="{col3}" borderColor="{col3}" borderWidth="1" transparent="1"/><widget name="DownloadLabel" position="1239,414" size="540,39" font="SRegular;21" foregroundColor="#FFFFFF" halign="center" transparent="1"/><ePixmap pixmap="{picpath}key_menu.png" position="1497,897" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_ok.png" position="1596,897" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_exit.png" position="1695,897" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_red.png" position="24,897" size="39,39" alphatest="blend"/><eLabel position="72,897" size="276,39" text="Beenden" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><ePixmap pixmap="{picpath}key_green.png" position="357,897" size="39,39" alphatest="blend"/><eLabel position="405,897" size="276,39" text="Download" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><ePixmap pixmap="{picpath}key_yellow.png" position="690,897" size="39,39" alphatest="blend"/><eLabel position="738,897" size="276,39" text=" " font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><ePixmap pixmap="{picpath}key_blue.png" position="1023,897" size="39,39" alphatest="blend"/><eLabel position="1071,897" size="276,39" text="Home" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><eLabel position="0,90" size="1800,2" backgroundColor="#37ffffff"/><eLabel position="0,870" size="1800,2" backgroundColor="#37ffffff"/><eLabel position="1230,108" size="2,750" backgroundColor="#37FFFFFF"/></screen><screen name="transparent" position="center,center" size="1920,1080" flags="wfNoBorder" backgroundColor="{col1}"><widget name="PluginName" position="30,24" size="1050,60" font="SRegular;39" foregroundColor="#FFFFFF" valign="top" transparent="1"/><widget source="global.CurrentTime" render="Label" position="1440,24" size="450,60" font="SRegular;39" foregroundColor="#FFFFFF" halign="right" valign="top" transparent="1"><convert type="ClockToText">Format %a.%e %b. %Y %H:%M</convert></widget><eLabel position="30,90" size="1860,915" zPosition="-1" backgroundColor="{col2}"/><widget source="movielist" render="Listbox" position="30,96" size="1200,900" foregroundColor="#FFFFFF" foregroundColorSelected="#FFFFFF" backgroundColorSelected="{col1}" scrollbarMode="showOnDemand" scrollbarWidth="9" scrollbarSliderForegroundColor="{col3}" selectionPixmap="{picpath}sel_1200.png" transparent="1"><convert type="TemplatedMultiContent">{"template": [ MultiContentEntryText(pos=(9,0), size=(1041,45), font=0, text=1, flags=RT_HALIGN_LEFT|RT_VALIGN_CENTER), MultiContentEntryText(pos=(1050,0), size=(150,45), font=0, text=5, flags=RT_HALIGN_CENTER|RT_VALIGN_CENTER )], "fonts": [gFont("SRegular",33)], "itemHeight": 50 }</convert></widget><widget name="cover" position="1245,96" size="636,360" alphatest="blend"/><widget name="handlung" position="1245,525" size="636,471" font="SRegular;33" halign="left" foregroundColor="#FFFFFF" scrollbarWidth="9" scrollbarSliderForegroundColor="{col3}" transparent="1"/><widget name="progress" position="1245,468" size="636,24" foregroundColor="{col3}" borderColor="{col3}" borderWidth="1" transparent="1"/><widget name="DownloadLabel" position="1245,495" size="636,30" font="SRegular;18" foregroundColor="#FFFFFF" halign="center" transparent="1"/><eLabel position="1236,96" size="2,900" backgroundColor="#FFFFFF"/><eLabel position="30,90" size="1860,2" backgroundColor="#FFFFFF"/><eLabel position="30,1005" size="1860,2" backgroundColor="#FFFFFF"/><eLabel position="1245,462" size="636,2" backgroundColor="#FFFFFF"/><ePixmap pixmap="{picpath}key_menu.png" position="1596,1023" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_ok.png" position="1698,1023" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_exit.png" position="1806,1023" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_red.png" position="30,1023" size="39,39" alphatest="blend"/><ePixmap pixmap="{picpath}key_green.png" position="366,1023" size="39,39" alphatest="blend"/><ePixmap pixmap="{picpath}key_yellow.png" position="705,1023" size="39,39" alphatest="blend"/><ePixmap pixmap="{picpath}key_blue.png" position="1041,1023" size="39,39" alphatest="blend"/><eLabel position="75,1023" size="285,39" text="Beenden" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><eLabel position="411,1023" size="285,39" text="Download" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><eLabel position="750,1023" size="285,39" text=" " font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><eLabel position="1086,1023" size="285,39" text="Home" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/></screen><screen name="MiniTV" position="center,center" size="1920,1080" flags="wfNoBorder" backgroundColor="{col1}"><widget name="PluginName" position="30,24" size="1050,60" font="SRegular;39" foregroundColor="#FFFFFF" valign="top" transparent="1"/><widget source="global.CurrentTime" render="Label" position="1440,24" size="450,60" font="SRegular;39" foregroundColor="#FFFFFF" halign="right" valign="top" transparent="1"><convert type="ClockToText">Format %a.%e %b. %Y %H:%M</convert></widget><eLabel position="30,90" size="1860,915" zPosition="-1" backgroundColor="{col2}"/><widget source="movielist" render="Listbox" position="30,96" size="1200,650" foregroundColor="#FFFFFF" foregroundColorSelected="#FFFFFF" backgroundColorSelected="{col1}" scrollbarMode="showOnDemand" scrollbarWidth="9" scrollbarSliderForegroundColor="{col3}" selectionPixmap="{picpath}sel_1200.png" transparent="1"><convert type="TemplatedMultiContent">{"template": [ MultiContentEntryText(pos=(9,0), size=(1041,45), font=0, text=1, flags=RT_HALIGN_LEFT|RT_VALIGN_CENTER), MultiContentEntryText(pos=(1050,0), size=(150,45), font=0, text=5, flags=RT_HALIGN_CENTER|RT_VALIGN_CENTER)], "fonts": [gFont("SRegular",33)], "itemHeight": 50 }</convert></widget><widget name="cover" position="1245,96" size="636,360" alphatest="blend"/><widget name="handlung" position="39,758" size="1191,261" font="SRegular;33" halign="left" foregroundColor="#FFFFFF" scrollbarWidth="9" scrollbarSliderForegroundColor="{col3}" transparent="1"/><widget name="progress" position="1245,468" size="636,24" foregroundColor="{col3}" borderColor="{col3}" borderWidth="1" transparent="1"/><widget name="DownloadLabel" position="1245,495" size="636,30" font="SRegular;18" foregroundColor="#FFFFFF" halign="center" transparent="1"/><widget source="session.VideoPicture" render="Pig" position="1245,636" size="636,360" backgroundColor="#ff000000"/><widget position="1245,570" size="636,39" source="session.CurrentService" render="Label" font="SRegular;30" transparent="1" valign="center" halign="center" backgroundColor="{col2}" foregroundColor="#FFFFFF"><convert type="ServiceName">Name</convert></widget><eLabel position="1236,96" size="2,900" backgroundColor="#FFFFFF"/><eLabel position="30,90" size="1860,2" backgroundColor="#FFFFFF"/><eLabel position="30,1005" size="1860,2" backgroundColor="#FFFFFF"/><eLabel position="1245,540" size="636,2" backgroundColor="#FFFFFF"/><eLabel position="30,753" size="1200,2" backgroundColor="#FFFFFF"/><ePixmap pixmap="{picpath}key_menu.png" position="1596,1023" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_ok.png" position="1698,1023" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_exit.png" position="1806,1023" size="84,36" alphatest="blend"/><ePixmap pixmap="{picpath}key_red.png" position="30,1023" size="39,39" alphatest="blend"/><ePixmap pixmap="{picpath}key_green.png" position="366,1023" size="39,39" alphatest="blend"/><ePixmap pixmap="{picpath}key_yellow.png" position="705,1023" size="39,39" alphatest="blend"/><ePixmap pixmap="{picpath}key_blue.png" position="1041,1023" size="39,39" alphatest="blend"/><eLabel position="75,1023" size="285,39" text="Beenden" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><eLabel position="411,1023" size="285,39" text="Download" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><eLabel position="750,1023" size="285,39" text=" " font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><eLabel position="1086,1023" size="285,39" text="Home" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/></screen><screen name="Filesetup" position="center,center" size="1800,960" flags="wfNoBorder" backgroundColor="{col1}"><widget name="PluginName" position="24,24" size="1050,60" font="SRegular;39" foregroundColor="#FFFFFF" valign="top" transparent="1"/><widget source="global.CurrentTime" render="Label" position="1128,24" size="660,60" font="SRegular;39" foregroundColor="#FFFFFF" halign="right" valign="top" transparent="1"><convert type="ClockToText">Format %a.%e %b. %Y %H:%M</convert></widget><eLabel position="0,90" size="1800,780" backgroundColor="{col2}" zPosition="-1"/><widget name="{name}" itemHeight="55" font="SRegular;33" position="18,108" size="1200,750" foregroundColor="#FFFFFF" backgroundColor="{col2}" foregroundColorSelected="#FFFFFF" backgroundColorSelected="{col1}" scrollbarMode="showOnDemand" scrollbarWidth="6" scrollbarSliderForegroundColor="{col3}" selectionPixmap="{picpath}sel_1200.png" transparent="0"/><ePixmap pixmap="{picpath}key_red.png" position="24,897" size="39,39" alphatest="blend"/><ePixmap pixmap="{picpath}key_green.png" position="357,897" size="39,39" alphatest="blend"/><widget render="Label" source="key_red" position="72,897" size="276,39" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><widget render="Label" source="key_green" position="405,897" size="276,39" font="SRegular;30" foregroundColor="#FFFFFF" valign="center" transparent="1"/><eLabel position="0,90" size="1800,2" backgroundColor="#37ffffff"/><eLabel position="0,870" size="1800,2" backgroundColor="#37ffffff"/><eLabel position="1230,108" size="2,750" backgroundColor="#37FFFFFF"/></screen></skin>
Loading

0 comments on commit bc572e0

Please sign in to comment.