mirror of
https://github.com/DYefremov/DemonEditor.git
synced 2026-05-09 09:37:23 +02:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6765fd5db7 | ||
|
|
53616f95b0 | ||
|
|
137b5acde5 | ||
|
|
17f705a4e3 | ||
|
|
d68a215e2a | ||
|
|
d8f67380e5 |
@@ -2,7 +2,7 @@
|
||||
#
|
||||
# The MIT License (MIT)
|
||||
#
|
||||
# Copyright (c) 2018-2023 Dmitriy Yefremov
|
||||
# Copyright (c) 2018-2025 Dmitriy Yefremov
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -32,7 +32,6 @@ import os
|
||||
import re
|
||||
import shutil
|
||||
import struct
|
||||
import sys
|
||||
import xml.etree.ElementTree as ET
|
||||
from collections import namedtuple, defaultdict
|
||||
from datetime import datetime, timezone
|
||||
@@ -275,15 +274,16 @@ class XmlTvReader(Reader):
|
||||
with NamedTemporaryFile(suffix=suf, delete=not IS_WIN) as tf:
|
||||
downloaded = 0
|
||||
data_size = int(data_size)
|
||||
log("Downloading XMLTV file...")
|
||||
completed = set()
|
||||
|
||||
for data in resp.iter_content(chunk_size=1024):
|
||||
downloaded += len(data)
|
||||
tf.write(data)
|
||||
done = int(50 * downloaded / data_size)
|
||||
sys.stdout.write(f"\rDownloading XMLTV file [{'=' * done}{' ' * (50 - done)}]")
|
||||
sys.stdout.flush()
|
||||
done = int(100 * downloaded / data_size)
|
||||
if done % 25 == 0 and done not in completed:
|
||||
completed.add(done)
|
||||
log(f"Downloading XMLTV file...{done}%" if done < 100 else "XMLTV file download complete.")
|
||||
tf.seek(0)
|
||||
sys.stdout.write("\n")
|
||||
|
||||
os.makedirs(os.path.dirname(self._path), exist_ok=True)
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ Author: Dmitriy Yefremov
|
||||
<property name="icon_name">system-help</property>
|
||||
<property name="type_hint">normal</property>
|
||||
<property name="program_name">DemonEditor</property>
|
||||
<property name="version">3.13.1 Beta</property>
|
||||
<property name="version">3.13.2 Beta</property>
|
||||
<property name="copyright">2018-2025 Dmitriy Yefremov
|
||||
</property>
|
||||
<property name="comments" translatable="yes">Enigma2 channel and satellite list editor.</property>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1818,7 +1818,7 @@ Author: Dmitriy Yefremov
|
||||
<object class="GtkLabel" id="app_ver_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">False</property>
|
||||
<property name="label">3.13.1 Beta</property>
|
||||
<property name="label">3.13.2 Beta</property>
|
||||
<attributes>
|
||||
<attribute name="weight" value="bold"/>
|
||||
</attributes>
|
||||
|
||||
@@ -79,7 +79,7 @@ from .xml.edit import SatellitesTool
|
||||
|
||||
class Application(Gtk.Application):
|
||||
""" Main application class. """
|
||||
VERSION = "3.13.1"
|
||||
VERSION = "3.13.2"
|
||||
|
||||
SERVICE_MODEL = "services_list_store"
|
||||
FAV_MODEL = "fav_list_store"
|
||||
|
||||
@@ -5,8 +5,8 @@ The best way to run this program from source is using of [MSYS2](https://www.msy
|
||||

|
||||
3. Run first `pacman -Suy` After that, you may need to restart the terminal and re-run the update command.
|
||||
4. Install minimal required packages:
|
||||
`pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python3-pip mingw-w64-x86_64-python3-requests`
|
||||
Optional: `pacman -S mingw-w64-x86_64-python3-pillow`
|
||||
`pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-gobject mingw-w64-x86_64-python-requests`
|
||||
Optional: `pacman -S mingw-w64-x86_64-python-pillow mingw-w64-x86_64-python-chardet`
|
||||
To support streams playback, install the following packages (the list may not be complete):
|
||||
* For [GStreamer](https://gstreamer.freedesktop.org/) `pacman -S mingw-w64-x86_64-gst-libav mingw-w64-x86_64-gst-plugins-bad mingw-w64-x86_64-gst-plugins-base mingw-w64-x86_64-gst-plugins-good mingw-w64-x86_64-gstreamer`
|
||||
* For [MPV](https://mpv.io/) `pacman -S mingw-w64-x86_64-mpv`,
|
||||
@@ -23,7 +23,7 @@ And run: `./start.py`
|
||||
## Building a package
|
||||
To build a standalone package, we can use [PyInstaller](https://pyinstaller.readthedocs.io/en/stable/).
|
||||
1. Launch mingw64 shell.
|
||||
2. Install PyInstaller via pip: `pip3 install pyinstaller`
|
||||
2. Install PyInstaller: `pacman -S mingw-w64-x86_64-pyinstaller`
|
||||
3. Go to the folder where the program was unpacked. E.g: `c:\msys64\home\username\DemonEditor\`
|
||||
4. Сopy and replace the files from the /build/win/ folder to the root .
|
||||
5. Go to the folder with the program in the running terminal: `cd DemonEditor/`
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
VER="3.13.1_Beta"
|
||||
VER="3.13.2_Beta"
|
||||
B_PATH="dist/DemonEditor"
|
||||
DEB_PATH="$B_PATH/usr/share/demoneditor"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package: demon-editor
|
||||
Version: 3.13.1-Beta
|
||||
Version: 3.13.2-Beta
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
|
||||
@@ -81,7 +81,7 @@ app = BUNDLE(coll,
|
||||
'CFBundleGetInfoString': "Enigma2 channel and satellite editor",
|
||||
'LSApplicationCategoryType': 'public.app-category.utilities',
|
||||
'LSMinimumSystemVersion': '10.13',
|
||||
'CFBundleShortVersionString': f"3.13.1.{BUILD_DATE} Beta",
|
||||
'CFBundleShortVersionString': f"3.13.2.{BUILD_DATE} Beta",
|
||||
'NSHumanReadableCopyright': u"Copyright © 2018-2025, Dmitriy Yefremov",
|
||||
'NSRequiresAquaSystemAppearance': 'false',
|
||||
'NSHighResolutionCapable': 'true'
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"PO-Revision-Date: 2025-05-16 03:08+0200\n"
|
||||
"PO-Revision-Date: 2025-08-04 17:49+0200\n"
|
||||
"Last-Translator: Massimo Pissarello <mapi68@gmail.com>\n"
|
||||
"Language-Team: Italian <>\n"
|
||||
"Language: it\n"
|
||||
@@ -13,7 +13,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Lokalize 25.04.1\n"
|
||||
"X-Generator: Lokalize 25.08.0\n"
|
||||
|
||||
msgid "translator-credits"
|
||||
msgstr "Massimo Pissarello\nNicola Fanghella"
|
||||
@@ -1316,7 +1316,7 @@ msgid "Add picons"
|
||||
msgstr "Aggiungi picon"
|
||||
|
||||
msgid "Logs"
|
||||
msgstr "Registri"
|
||||
msgstr "Log"
|
||||
|
||||
msgid "Title"
|
||||
msgstr "Titolo"
|
||||
@@ -1639,3 +1639,9 @@ msgstr ""
|
||||
|
||||
msgid "Convert for selected bouquets"
|
||||
msgstr "Converti per i bouquet selezionati"
|
||||
|
||||
msgid "There were errors [%s] during bouquets loading!"
|
||||
msgstr "Si sono verificati errori [%s] durante il caricamento dei bouquet!"
|
||||
|
||||
msgid "Check the log for more info."
|
||||
msgstr "Per maggiori informazioni consulta il log."
|
||||
|
||||
@@ -3,7 +3,7 @@ msgstr ""
|
||||
"Project-Id-Version: DemonEditor\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-04-16 15:59+0300\n"
|
||||
"PO-Revision-Date: 2025-05-11 19:32+0300\n"
|
||||
"PO-Revision-Date: 2025-08-03 21:34+0300\n"
|
||||
"Last-Translator: audi06_19 <info@dreamosat-forum.com>\n"
|
||||
"Language-Team: audi06_19 <info@dreamosat-forum.com>\n"
|
||||
"Language: tr\n"
|
||||
@@ -1606,3 +1606,9 @@ msgstr "Daha derin isim eşleştirmesini etkinleştirir. Olası yanlışlıklar!
|
||||
|
||||
msgid "Convert for selected bouquets"
|
||||
msgstr "Seçili buketler için dönüştür"
|
||||
|
||||
msgid "There were errors [%s] during bouquets loading!"
|
||||
msgstr "Buketler yüklenirken [%s] hata oluştu!"
|
||||
|
||||
msgid "Check the log for more info."
|
||||
msgstr "Daha fazla bilgi için günlüğü kontrol edin."
|
||||
|
||||
Reference in New Issue
Block a user