Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mediathekviewweb v1.0 #985

Merged
merged 9 commits into from
Feb 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ SUBDIRS = \
letterbox \
logomanager \
mediadownloader \
mediathekviewweb \
merlinepg \
merlinepgcenter \
merlinmusicplayer \
Expand Down
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@ mediadownloader/meta/Makefile
mediadownloader/po/Makefile
mediadownloader/src/Makefile

mediathekviewweb/Makefile
mediathekviewweb/meta/Makefile
mediathekviewweb/src/Makefile
mediathekviewweb/src/img/Makefile

merlinepg/Makefile
merlinepg/meta/Makefile
merlinepg/src/Makefile
Expand Down
4 changes: 4 additions & 0 deletions mediathekviewweb/CONTROL/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Package: enigma2-plugin-extensions-mediathekviewweb
Version: 1.0
Description: Zugriff auf Mediathekviewweb.de
Depends: enigma2, python3-twisted-web, python3-requests
1 change: 1 addition & 0 deletions mediathekviewweb/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SUBDIRS = meta src
3 changes: 3 additions & 0 deletions mediathekviewweb/meta/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
installdir = $(datadir)/meta/

dist_install_DATA = plugin_mediathekviewweb.xml
15 changes: 15 additions & 0 deletions mediathekviewweb/meta/plugin_mediathekviewweb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<default>
<prerequisites>
<tag type="Multimedia" />
</prerequisites>
<info>
<author>CommanderData</author>
<name>Mediathekviewweb</name>
<packagename>enigma2-plugin-extensions-mediathekviewweb</packagename>
<shortdescription>Access to the Mediathekviewweb.de</shortdescription>
<description>Access to the Mediathekviewweb.de database.</description>
</info>
<files type="package"> <!-- without version, without .ipk -->
<file type="package" name="enigma2-plugin-extensions-mediathekviewweb" />
</files>
</default>
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 = __init__.py plugin.py mediathekviewweb.py
install_DATA = logo.png maintainer.info keymap.xml 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.
8 changes: 8 additions & 0 deletions mediathekviewweb/src/keymap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<keymap>
<map context="MoviePlayer2">
<key id="KEY_OK" mapto="ok" flags="m" />
<key id="KEY_ENTER" mapto="ok" flags="m" />
<key id="KEY_EXIT" mapto="cancel" flags="m" />
<key id="KEY_ESC" mapto="stop" flags="m" />
</map>
</keymap>
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.
2 changes: 2 additions & 0 deletions mediathekviewweb/src/maintainer.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CommanderData
Mediathekviewweb
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
Loading