This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pre-requisits: | |
My build worked for me and my setup which includes: Raspberry Pi 3b, HiFiBerry DAC+ Standart, wired connection (for some reason connection to plexamp drops on wireless), HiFiBerryOS installed | |
You need version 9 of nodejs in your system, easiest way in my opinion to install custom version of nodejs and to not affect version 12 that is present in HiFIBerryOS, is to use nvm | |
1. Ssh to your hifiberry installation | |
2. Create bash profile file (this is required by nvm) | |
# touch ~/.profile | |
3. Install NVM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2011 Google Inc. All Rights Reserved. | |
(function() { | |
var k, aa = function(a) { | |
var b = 0; | |
return function() { | |
return b < a.length ? { | |
done: !1, | |
value: a[b++] | |
} : { | |
done: !0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for profile in self._profile_provider.find({'_id': {'$in': ids}}, include_fields=self._profile_fields): | |
#friend_social_id = profile['social_id'] | |
in_game_id = profile['_id'] | |
self._friends_profiles[in_game_id] = self._update_profile(profile, {'is_app_user': True}) | |
#try: | |
# self._friends_ids.remove(friend_social_id) | |
#except ValueError: | |
# msg = 'Friend not in social api list but in db profiles. id: {}, social_id: {}, api_friends_social_ids: {}, db_friend_social_id: {}' | |
# log.debug(msg.format(self.user_id, self.social_id, self._friends_ids, friend_social_id)) |