-
Notifications
You must be signed in to change notification settings - Fork 0
Enable Google Play Music GMusic
GMusic is no longer available (see https://play.google.com/music). This howto wonβt work anymore.
See this thread for details: https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/522
You can connect your Phoniebox to Google Play Music.
You need to extend mopidy to work with Gmusic.
You can manage GMusic the same way you are doing this with Spotify (using the iris-interface activate GMusic at the top right search). Then you need to copy the GMusic URI instead of the Spotify URI. The cover won't be added automatically, everything else seems to work.
Using the 2 factor authentification (as you should), you first need to create an application password in your account. That way, you don't need to add your own password during the configuration - and can block the access easily any time for the application.
- go to https://myaccount.google.com/
- go to Security --> App Passwords --> (Login) --> βGenerateβ
- where it says Custom App add your name
- use the generated password
Prerequisite: You need to have Phoniebox Spotify edition installed.
ATTENTION: Currently (pre 2.0 version) this works only with Phoniebox installations from develop branch, because Mopidy 3 is necessary.
- Install GMusic
sudo python3 -m pip install -r requirements-gmusic.txt
- Configure GMusic login
mopidy gmusic login
Edit /etc/mopidy/mopidy.conf
:
sudo nano /etc/mopidy/mopidy.conf
Add your configuration:
If you don't have "All Access" (the streaming subscription), Set this to false
in this step.
[gmusic]
username = your.name@gmail.com
password = your_password
deviceid = mac
all_access = true
bitrate = 160
See Issue 161 for details.
Simply change /usr/lib/python2.7/dist-packages/mopidy/audio/actor.py
so that this line:
_GST_PLAY_FLAGS_AUDIO = 0x02
Looks like this:
_GST_PLAY_FLAGS_AUDIO = 0x02 + 0x80
If you like Phoniebox, consider: buy me a coffee or PayPal
- Code: https://github.com/MiczFlor/RPi-Jukebox-RFID
- Phoniebox home page: English | Deutsch
Phoniebox is a contactless jukebox for the Raspberry Pi, playing audio files, playlists, podcasts, web streams and spotify triggered by RFID cards. All plug and play via USB, no soldering iron needed. Update: if you must, it now also features a howto for adding GPIO buttons controls.
Visit Phoniebox.de
π₯ Version 3
- β Releases
- π΅ Install Jukebox Version 3
- π Report a bug
- π Propose a feature
- βοΈ Feature Status
- π Documentation
- π©βπ» Development
- βοΈ Contributing
- π¦ Code
πΆ Version 2
- β Releases
- π΅ Install Jukebox Version 2
- π Report a bug
- βοΈ Features
- π Documentation
- βοΈ Contributing
- π¦ Code
Version 2 Pages
-
Setup / Upgrades
- Synchronising Phonieboxes in a local network
- Smart Home remote control with MQTT
- Hardware Pinout Overview
- Systemwide Equalizer
- Phoniebox with read-only Filesystem
- HiFiBerry Soundcard Details
- WM8960 Hi-Fi HAT
- PAM8403 Amplifier Power Off
- TPA3118 Amplifier Power Off and EMI improvement
- External Non USB Audio DAC ES9023, PCM5102, etc.
- On-board LEDs with fibre optics
- Setting GPIOs at boot time
- Stop on removal with USB RFID Reader
- Firmware update improves audio out
- Architecture