- Introduction
- Features
- Prerequisites
- Installation
- Configuration
- Usage
- OBS Integration
- Troubleshooting
- Contributing
- License
Now Playing Deezer is an application that displays the currently playing song from Deezer on your stream overlay. It uses playerctl to fetch song information and the Spotify API to retrieve album artwork.
- Real-time display of currently playing song on Deezer
- Fetches album artwork using Spotify API
- Smooth scrolling for long song titles and artist names
- Easy integration with OBS Studio
- Customizable appearance
Before you begin, ensure you have met the following requirements:
- Linux-based operating system (Debian, Ubuntu, Fedora, Arch, etc.)
- Node.js and npm installed
- Deezer desktop application
- Spotify Developer account for API access
-
Clone the repository:
git clone https://github.com/roseratugo/nowPlayingDeezer.git cd nowPlayingDeezer
-
Run the installation script:
chmod +x install_nowPlayingDeezer.sh ./install_nowPlayingDeezer.sh
-
Follow the on-screen prompts to install dependencies and configure the application.
-
Launch the configuration script:
./install_nowPlayingDeezer.sh
-
Choose option 1 to install and configure the application.
-
The script will guide you through:
- Installing playerctl (if not already installed)
- Selecting the Deezer player instance
- Entering your Spotify API credentials
-
After configuration, the script will create a
.env
file with your settings.
-
Ensure Deezer is running and playing music.
-
Start the Now Playing Deezer application, use the script and choose option 1 (for installing, if is already installed just skip this step):
./install_nowPlayingDeezer.sh
-
The application will run on
http://localhost:3000/now-playing
(or the port you specified). -
To stop the application, use the script and choose option 2:
./install_nowPlayingDeezer.sh
-
In OBS Studio, add a new Browser Source.
-
Set the URL to
http://localhost:3000/now-playing
. -
Set the width to 400 and height to 120.
-
Check "Shutdown source when not visible" for a transparent background.
-
Issue: Playerctl not detecting Deezer Solution: Ensure Deezer is running before starting the application.
-
Issue: Album artwork not showing Solution: Check your Spotify API credentials in the
.env
file. -
Issue: Application not starting Solution: Check the
app.log
file for error messages.
Contributions to Now Playing Deezer are welcome. Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the original branch:
git push origin feature-branch-name
. - Create the pull request.
Alternatively, see the GitHub documentation on creating a pull request.
This project is licensed under the MIT License.