Closed rogercorrea closed 7 years ago
Can you post your mopidy.conf file?
# For further information about options in this file see:
# http://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
# Mopidy 1.1.1
# Mopidy-File 1.1.1
# Mopidy-HTTP 1.1.1
# Mopidy-Local 1.1.1
# Mopidy-M3U 1.1.1
# Mopidy-MPD 1.1.1
# Mopidy-SoftwareMixer 1.1.1
# Mopidy-Stream 1.1.1
#
# Available options and defaults might have changed since then,
# run `mopidy config` to see the current effective config and
# `mopidy --version` to check the current version.
[core]
#cache_dir = $XDG_CACHE_DIR/mopidy
#config_dir = $XDG_CONFIG_DIR/mopidy
#data_dir = $XDG_DATA_DIR/mopidy
#max_tracklist_length = 10000
[logging]
#color = true
#console_format = %(levelname)-8s %(message)s
#debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
#debug_file = mopidy.log
#config_file =
[audio]
#mixer = software
#mixer_volume =
#output = autoaudiosink
[proxy]
#scheme =
#hostname =
#port =
#username =
#password =
[mpd]
#enabled = true
#hostname = 127.0.0.1
#port = 6600
#password =
#max_connections = 20
#connection_timeout = 60
#zeroconf = Mopidy MPD server on $hostname
#command_blacklist =
# listall
# listallinfo
[spotify]
username = x
password = x
[touchscreen]
enabled = False
screen_width = 800
screen_height = 480
resolution_factor = 8
cursor = False
fullscreen = True
cache_dir = $XDG_CACHE_DIR/mopidy/touchscreen
[http]
#enabled = true
#hostname = 127.0.0.1
#port = 6680
#static_dir =
#zeroconf = Mopidy HTTP server on $hostname
[stream]
#enabled = true
#protocols =
# http
# https
# mms
# rtmp
# rtmps
# rtsp
#metadata_blacklist =
#timeout = 5000
[m3u]
#enabled = true
#playlists_dir =
[softwaremixer]
#enabled = true
[file]
#enabled = true
#media_dirs =
# $XDG_MUSIC_DIR|Music
# ~/|Home
#show_dotfiles = false
#follow_symlinks = false
#metadata_timeout = 1000
[local]
#enabled = true
#library = json
#media_dir =
#data_dir = $XDG_DATA_DIR/mopidy/local
#scan_timeout = 1000
#scan_flush_threshold = 100
#scan_follow_symlinks = false
#excluded_file_extensions =
# .directory
# .html
# .jpeg
# .jpg
# .log
# .nfo
# .png
# .txt
I changed enabled to False temporarily. Consider enabled = True
Try to set cursor = True
Not work. He is still same.
The touchscreen also not work. He is dysregulated, but in Raspbian interface work normally.
Maybe you have to edit something in
[touchscreen] sdl_fbdev = /dev/fb1 sdl_mousdrv = TSLIB sdl_mousedev = event0
but i have no experience with that.
I made this using pygame that handles graphics, so I have little idea on how display and touch works under the hood.
I have no idea what could cause to be displayed only in a portion of the screen.
For the touchscreen issues try a manual calibration:
sudo TSLIB_FBDEVICE=/dev/fb1 TSLIB_TSDEVICE=/dev/input/touchscreen ts_calibrate
Extracted from adafruit.
Hope this helps.
The problem with touchscreen could be related with the SDL version. You can check #13
Please,
In my Raspberry as Mopidy-Touchscreen not enter in fullscreen mode. He stays in one small part of the display and my the touchscreen don't work perfecty.
I'm using eGalax and display 7" with touchscreen. I configured [touchscreen] variables in the mopidy.conf and the resolution I put value 800x480 (what is the real display size) and the fullscreen variable with "True".
Thanks!