Skip to content

Commit

Permalink
8.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dream-alpha committed Dec 23, 2023
1 parent d1608af commit 4ccee17
Show file tree
Hide file tree
Showing 83 changed files with 215 additions and 221 deletions.
8 changes: 5 additions & 3 deletions CONTROL/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Description: tmdb
Description: TMDBCockpit
Maintainer: dream-alpha
Package: enigma2-plugin-extensions-tmdb
Version: 7.1.2
Package: enigma2-plugin-extensions-tmdbcockpit
Version: 8.0.9
Architecture: all
Depends: python-requests
Conflicts: enigma2-plugin-extensions-tmdb
Replaces: enigma2-plugin-extensions-tmdb
4 changes: 1 addition & 3 deletions CONTROL/postinst
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/sh
echo "Plugin successfully installed."
echo "Upgrading to TMDBCockpit now..."
/usr/lib/enigma2/python/Plugins/Extensions/tmdb/tmdbcockpit.sh &
echo "exit"
echo "Please restart DreamOS now!"
exit 0
6 changes: 3 additions & 3 deletions CONTROL/postrm
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
if [ "$1" = "remove" ]; then
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/tmdb > /dev/null 2>&1
echo "tmdb plugin removed successfully."
rm -rf /usr/lib/enigma2/python/Plugins/Extensions/TMDBCockpit > /dev/null 2>&1
echo "TMDBCockpit plugin removed successfully."
else
find /usr/lib/enigma2/python/Plugins/Extensions/tmdb -type f -name "*.pyo" -exec rm -f {} \; > /dev/null 2>&1
find /usr/lib/enigma2/python/Plugins/Extensions/TMDBCockpit -type f -name "*.pyo" -exec rm -f {} \; > /dev/null 2>&1
fi
exit 0
2 changes: 0 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
installdir = $(libdir)/enigma2/python/Plugins/Extensions/tmdb
SUBDIRS = po src
install_DATA = tmdbcockpit.sh
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/495cf6fc5be8434ca7b493ff88724433)](https://www.codacy.com/gh/dream-alpha/TMDBCockpit/dashboard?utm_source=github.com&utm_medium=referral&utm_content=dream-alpha/tmdb&utm_campaign=Badge_Grade)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/495cf6fc5be8434ca7b493ff88724433)](https://www.codacy.com/gh/dream-alpha/TMDBCockpit/dashboard?utm_source=github.com&utm_medium=referral&utm_content=dream-alpha/TMDBCockpit&utm_campaign=Badge_Grade)
[![Gemfury](https://badge.fury.io/fp/gemfury.svg)](https://gemfury.com/f/partner)

# The Movie Database plugin TMDBCockpit
![Screenshot](tmdb.png)
![Screenshot](TMDBCockpit.png)
## Features
- Shows detailed movie/tv show information provided by TMDB.
- Can be invoked thru movie lists (standard, EMC, etc.) or thru yellow key in the EPG list.
Expand All @@ -14,7 +14,7 @@
## Installation
To install the TMDBCockpit plugin execute the following command in a console on your dreambox:
- apt-get install wget (required the first time only)
- wget https://dream-alpha.github.io/TMDBCockpit/tmdb.sh -O - | /bin/sh
- wget https://dream-alpha.github.io/TMDBCockpit/tmdbcockpit.sh -O - | /bin/sh

The installation script will also install a feed source that enables a convenient upgrade to the latest version with the following commands or automatically as part of a DreamOS upgrade:
- apt-get update
Expand Down
File renamed without changes
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<html>
<body>
<h1>tmdb Installation</h1>
To install tmdb execute the following command in a telnet console on your dreambox:
<h1>TMDBCockpit Installation</h1>
To install TMDBCockpit execute the following command in a telnet console on your dreambox:
<p>
wget https://dream-alpha.github.io/TMDBCockpit/tmdb.sh -O - | /bin/sh
wget https://dream-alpha.github.io/TMDBCockpit/tmdbcockpit.sh -O - | /bin/sh
</body>
</html>
2 changes: 1 addition & 1 deletion docs/tmdb.sh → docs/tmdbcockpit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apt-get update
apt-get install -y apt-transport-https
echo deb [trusted=yes] https://apt.fury.io/dream-alpha ./ > /etc/apt/sources.list.d/cockpit.list
apt-get update
apt-get install -y enigma2-plugin-extensions-tmdb
apt-get install -y enigma2-plugin-extensions-tmdbcockpit
systemctl restart enigma2
2 changes: 1 addition & 1 deletion po/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# the directory name of the plugin.
#

DOMAIN = tmdb
DOMAIN = TMDBCockpit
installdir = $(libdir)/enigma2/python/Plugins/Extensions/$(DOMAIN)
#GETTEXT=./pygettext.py
GETTEXT=xgettext
Expand Down
25 changes: 9 additions & 16 deletions po/tmdb.pot → po/TMDBCockpit.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ msgid ""
msgstr ""
"#-#-#-#-# de.po #-#-#-#-#\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"POT-Creation-Date: 2023-10-16 15:21+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: dream-alpha\n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.1\n"
"X-Generator: Poedit 3.3.2\n"
"X-Poedit-Basepath: ../src\n"
"X-Poedit-SearchPath-0: .\n"
"#-#-#-#-# de.po (tmdb) #-#-#-#-#\n"
"Project-Id-Version: tmdb\n"
"POT-Creation-Date: 2023-08-27 11:26+0200\n"
Expand Down Expand Up @@ -43,21 +45,12 @@ msgstr ""
msgid "End"
msgstr ""

msgid "Stop playback"
msgstr ""

msgid "Skip forward"
msgstr ""

msgid "Skip backward"
msgstr ""

msgid "EPG Info"
msgstr ""

msgid "Do you want to resume playback at position: %d:%02d:%02d?"
msgstr ""

msgid "Cancel"
msgstr ""

Expand All @@ -67,10 +60,10 @@ msgstr ""
msgid "Defaults"
msgstr ""

msgid "Really close without saving settings?"
msgid "Setup"
msgstr ""

msgid "Setup"
msgid "Really close without saving settings?"
msgstr ""

msgid "Loading default settings will overwrite all settings, really load them?"
Expand Down Expand Up @@ -115,9 +108,6 @@ msgstr ""
msgid "Please wait"
msgstr ""

msgid "min"
msgstr ""

msgid "TMDB Infos ..."
msgstr ""

Expand Down Expand Up @@ -340,6 +330,9 @@ msgstr ""
msgid "Person"
msgstr ""

msgid "min"
msgstr ""

msgid "TMDBCockpit"
msgstr ""

Expand Down
27 changes: 10 additions & 17 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@ msgid ""
msgstr ""
"#-#-#-#-# de.po #-#-#-#-#\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"POT-Creation-Date: 2023-10-16 15:21+0200\n"
"PO-Revision-Date: \n"
"Last-Translator: dream-alpha\n"
"Language-Team: \n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 3.1\n"
"X-Generator: Poedit 3.3.2\n"
"X-Poedit-Basepath: ../src\n"
"X-Poedit-SearchPath-0: .\n"
"#-#-#-#-# de.po (tmdb) #-#-#-#-#\n"
"Project-Id-Version: tmdb\n"
"POT-Creation-Date: 2023-08-27 11:26+0200\n"
Expand Down Expand Up @@ -43,21 +45,12 @@ msgstr "Lizenz"
msgid "End"
msgstr "Ende"

msgid "Stop playback"
msgstr "Stoppe Wiedergabe"

msgid "Skip forward"
msgstr "Springe vorwärts"

msgid "Skip backward"
msgstr "Springe zurück"

msgid "EPG Info"
msgstr "EPG Info"

msgid "Do you want to resume playback at position: %d:%02d:%02d?"
msgstr "Soll die Wiedergabe an Position: %d:%02d:%02d fortgesetzt werden?"

msgid "Cancel"
msgstr "Abbruch"

Expand All @@ -67,12 +60,12 @@ msgstr "Speichern"
msgid "Defaults"
msgstr "Standard"

msgid "Really close without saving settings?"
msgstr "Fortfahren ohne Speichern der Einstellungen?"

msgid "Setup"
msgstr "Einstellungen"

msgid "Really close without saving settings?"
msgstr "Fortfahren ohne Speichern der Einstellungen?"

msgid "Loading default settings will overwrite all settings, really load them?"
msgstr ""
"Das Laden der Standardeinstellungen überschreibt alle aktuellen "
Expand Down Expand Up @@ -118,9 +111,6 @@ msgstr "Abgebrochen"
msgid "Please wait"
msgstr "Bitte warten"

msgid "min"
msgstr "Min"

msgid "TMDB Infos ..."
msgstr "TMDB Infos "

Expand Down Expand Up @@ -343,6 +333,9 @@ msgstr "Serie"
msgid "Person"
msgstr "Person"

msgid "min"
msgstr "Min"

msgid "TMDBCockpit"
msgstr "TMDBCockpit"

Expand Down
2 changes: 1 addition & 1 deletion src/ConfigInit.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/Debug.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/DelayTimer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/EpgSelection.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
4 changes: 2 additions & 2 deletions src/FileUtils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down Expand Up @@ -60,7 +60,7 @@ def deleteFiles(path, clear=False):
for afile in glob.glob(path):
if clear:
writeFile(afile, "")
os.remove(afile)
deleteFile(afile)


def touchFile(path):
Expand Down
2 changes: 1 addition & 1 deletion src/Json.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/List.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
installdir = $(libdir)/enigma2/python/Plugins/Extensions/tmdb
installdir = $(libdir)/enigma2/python/Plugins/Extensions/TMDBCockpit
SUBDIRS = skin tmdbsimple
install_PYTHON = *.py
install_DATA = *.xml *.png
2 changes: 1 addition & 1 deletion src/MoreOptions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/Parsers.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/Picture.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/ScreenConfig.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/ScreenMain.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
6 changes: 3 additions & 3 deletions src/ScreenMovie.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down Expand Up @@ -152,9 +152,9 @@ def gotData(self, result):
self.overview = ""
else:
self["searchinfo"].setText(self.movie)
path = "/usr/lib/enigma2/python/Plugins/Extensions/tmdb/skin/images/star.png"
path = "/usr/lib/enigma2/python/Plugins/Extensions/TMDBCockpit/skin/images/star.png"
self["star"].instance.setPixmap(LoadPixmap(path))
path = "/usr/lib/enigma2/python/Plugins/Extensions/tmdb/skin/images/fsk_" + result["fsk"] + ".png"
path = "/usr/lib/enigma2/python/Plugins/Extensions/TMDBCockpit/skin/images/fsk_" + result["fsk"] + ".png"
self["fsklogo"].instance.setPixmap(LoadPixmap(path))

for field in self.fields:
Expand Down
2 changes: 1 addition & 1 deletion src/ScreenPeople.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
2 changes: 1 addition & 1 deletion src/ScreenPerson.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python
# coding=utf-8
#
# Copyright (C) 2018-2023 by dream-alpha
# Copyright (C) 2018-2024 by dream-alpha
#
# In case of reuse of this source code please do not remove this copyright.
#
Expand Down
Loading

0 comments on commit 4ccee17

Please sign in to comment.