Autor: amoerke
Raspberry Pi MusicBox – Fehlende Playlists
Nachdem man bei Spotify neue Playlists hinzugefügt hatte, waren nach einem Neustart der MusicBox sämtliche Playlists verschwunden.
Workaround ist, in der
vi /usr/local/lib/python2.7/dist-packages/mopidy_spotify/session_manager.py
folgende Zeilen auszukommentieren:
def refresh_playlists(self):
"""Refresh the playlists in the backend with data from Spotify"""
# if not self._initial_data_receive_completed:
# logger.debug('Still getting data; skipped refresh of playlists')
# return
Quelle: Github Mopidy
Quelle: Mopidy Forum
Raspberry in mehreren WLANs betreiben
Zum einen muss die Datei für die Netzwerkinterfaces angepasst werden:
sudo nano /etc/network/interfaces
Der Inhalt sollte folgendermaßen aussehen
auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet dhcp pre-up wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -B
Außerdem muss die Konfiguration für die Wlans hinterlegt werden
nano /etc/wpa_supplicant/wpa_supplicant.conf
mit folgenden Inhalt
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=”SSID 1″
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=”Die Verschlüsselung Key für dieses Netzwerk geht hier”
}
network={
ssid=”SSID 2″
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=”Der Schlüssel für dieses Netzwerk geht hier”
}
Ein Refresh erfolgt über
ifdown wlan0 ifup wlan0
Ob die neue Konfig greift sieht man mit
ifconfig
Mac OS X, Mavericks -> fehlende Intl-Extension installieren
Step 1.ICU Libraries mit Homebrew installieren
Als erstes schauen, wie notwendige Dependency icu heißt:
$ brew search icu # returns 'icu4c'
Dann diese installieren mit
$ brew install icu4c
Unter dem Pfad schauen, welche Version installiert ist
$ ls /usr/local/Cellar/icu4c/
Step 2 Intl mit PECL installieren
$ sudo pecl update-channels $ sudo pecl install intl
Step 3. Extension in php.ini registrieren
$ sudo vim /etc/php.ini
extension=/usr/local/Cellar/php55/5.5.10/lib/php/extensions/no-debug-non-zts-20121212/intl.so
Mac OS X Mavericks | Homebrew
- XCode aus dem App-Store installieren
- Hombrew mit folgendem Befehl installieren
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
- Homebrew-Installation prüfen mit
brew doctor
- Mit Homebrew nach Applikation suchen
brew search
- Homebrew Applikation installieren/entfernen
brew install|remove application-name