Преглед на файлове

fix moonraker webcam. mention moonraker in descriptions.

Thomas Buck преди 2 години
родител
ревизия
83c6b7ba77
променени са 4 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1
    1
      data/de.xythobuz.octotray.desktop
  2. 1
    1
      dist/PKGBUILD
  3. 1
    1
      dist/setup_mac.py
  4. 1
    1
      src/APIMoonraker.py

+ 1
- 1
data/de.xythobuz.octotray.desktop Целия файл

@@ -2,7 +2,7 @@
2 2
 Type=Application
3 3
 Version=0.5
4 4
 Name=OctoTray
5
-Comment=Control OctoPrint instances from system tray
5
+Comment=Control OctoPrint/Moonraker instances from system tray
6 6
 Path=/usr/bin
7 7
 Exec=octotray
8 8
 Icon=/usr/share/pixmaps/octotray_icon.png

+ 1
- 1
dist/PKGBUILD Целия файл

@@ -2,7 +2,7 @@
2 2
 pkgname=OctoTray
3 3
 pkgver=0.5
4 4
 pkgrel=1
5
-pkgdesc="Control OctoPrint instances from system tray"
5
+pkgdesc="Control OctoPrint/Moonraker instances from system tray"
6 6
 arch=('any')
7 7
 license=('unknown')
8 8
 depends=('python-pyqt5')

+ 1
- 1
dist/setup_mac.py Целия файл

@@ -14,7 +14,7 @@ OPTIONS = {
14 14
     'plist': {
15 15
         'CFBundleName': APP_NAME,
16 16
         'CFBundleDisplayName': APP_NAME,
17
-        'CFBundleGetInfoString': "Control OctoPrint instances from system tray",
17
+        'CFBundleGetInfoString': "Control OctoPrint/Moonraker instances from system tray",
18 18
         'CFBundleIdentifier': "de.xythobuz.octotray",
19 19
         'CFBundleVersion': VERSION,
20 20
         'CFBundleShortVersionString': VERSION,

+ 1
- 1
src/APIMoonraker.py Целия файл

@@ -22,7 +22,7 @@ class APIMoonraker():
22 22
     def __init__(self, parent, host, webcam):
23 23
         self.parent = parent
24 24
         self.host = host
25
-        self.webcamIndex = webcam
25
+        self.webcamIndex = int(webcam)
26 26
 
27 27
     # return list of tuples ( "name", func(name) )
28 28
     # with all available commands.

Loading…
Отказ
Запис