hi,
ich versuche gerade auf mein Pi mit dem Adafruit PiTFT Mopidy incl. der Erweiterungen Spotify und Mopidy-Touchscreen zum laufen zu bringen.
Mopidy mit Spotify läuft ohne Probleme. Erst wenn ich die Touchscreen-Erweiterung aktiviere, startet Mopidy nicht mehr bzw. beended sich mit einer Fehlermeldung.
ERROR Uncaught exception
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mopidy/commands.py", line 276, in run
self.start_frontends(config, frontend_classes, core)
File "/usr/lib/python2.7/dist-packages/mopidy/commands.py", line 374, in start_frontends
frontend_class.start(config=config, core=core)
File "/usr/lib/python2.7/dist-packages/pykka/actor.py", line 93, in start
obj = cls(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/mopidy_touchscreen/touch_screen.py", line 37, in __init__
pygame.FULLSCREEN)
error: Unable to open a console terminal
Alles anzeigen
Wenn man die Erweiterung deaktiviert, funktioniert wieder alles.
Kann mir wer sagen, wie ich das zum Laufenbringe oder zumindest wo der Fehler ist?
Betriebssystem: Rasbian mit PiTFT Kernel von der Adafruit Seite vom März 15
Display: http://www.adafruit.com/product/1601
Mopidy-Touchscreen: https://github.com/9and3r/mopidy-touchscreen
zum Instalieren habe ich vorher
ausgeführt
Mopidy Config (einige Einstellung hab ich Ausgelassen) :
[touchscreen]
enabled = true
screen_width = 320
screen_height = 240
cursor = false
fullscreen = true
cache_dir = $XDG_CACHE_DIR/mopidy/touchscreen
gpio = false
gpio_left = 4
gpio_right = 27
gpio_up = 22
gpio_down = 23
gpio_enter = 24
sdl_fbdev = /dev/fb1
sdl_mousdrv = TSLIB
sdl_mousedev = event0
sdl_audiodriver = disk
sdl_path_dsp = /dev/null
[logging]
#color = true
#console_format = %(levelname)-8s %(message)s
#debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name$
#debug_file = mopidy.log
#config_file = ~/.config/mopidy/mopidy.conf
[audio]
#mixer = software
[spotify]
enabled = true
username = ****
password = ****
#bitrate = 160
#timeout = 10
#cache_dir = $XDG_CACHE_DIR/mopidy/spotify
#settings_dir = $XDG_CONFIG_DIR/mopidy/spotify
toplist_countries =
DE
[http]
enabled = true
hostname = ::
port = 6620
static_dir = /opt/webclient
#zeroconf = Mopidy HTTP server on $hostname
Alles anzeigen
Mfg B4rth
(P.S: gibt ne möglichkeit die Meldungen als Spoiler/Ausklappbar zu Posten?)