Skip to content

zork32/jukebox-portal

 
 

Repository files navigation

Jukebox Portal

Listen to songs, albums or playlists by placing a LEGO minifigure on the LEGO Dimensions pad and enjoy the audio and light show!

Jukebox Portal close up

The "toys-to-life" LEGO Dimensions console game was discontinued in October 2017. Now you can bring it back to life as a Raspberry Pi jukebox by connecting the USB toy pad to a Raspberry Pi and running this Jukebox Portal app.

Jukebox control is not limited to LEGO minifigures. Disney Infinity characters, Amiibos, Skylanders, NFC tags, stickers or cards can be assigned to a Spotify song, album or playlist too.

While the light show plays for the duration of the track, on the Jukebox Portal web app, the album art of the current track is displayed when associated to a Spotify account.

Jukebox Portal screen shot

You will require

Hardware NFC tags

  • Raspberry Pi with Python 3.8 installed.
  • LEGO Dimensions pad from either a PS3, PS4 or Wii game console. The Xbox version is not supported.

From Lego Dimensions character discs, Disney Infinity character toys, NFC NTAG213 tags, stickers or cards.

To play music you can use the following options:

  • A Spotify Premium subscription account. For an enhanced experience, Spotify is recommended but not required.

  • MP3 files.

Install

Quick Install (without Spotify)

  • Install Python 3.8+.
  • Clone this repository and run the install.sh script.
  • Copy your mp3 files to the music folder.
  • Execute the Jukebox Portal run.py script.
  • Place your first tag on the pad and watch the console log as the app discovers the UID value.
  • Edit the tags.yml file accordingly with the aforementioned UID and mp3 file to be played.
  • Place the tag off and on again.
  • A track should now start playing locally.

Updating

  • Pull the latest code from the repository and run the install.sh script.

Fork specials

  • This Fork has the lights turned off by default
  • See 'tags.yml-sample' for special functions which have been implemented: shutdown (os shut down), volumeup, volumedown, volumedefault, discoon (random lights on), discooff (random lights off)

About

A Raspberry Pi jukebox that uses LEGO Minifigures to play Spotify or MP3 tracks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.8%
  • HTML 6.7%
  • Shell 4.5%