Skip to content

A project to create a simple, but fuctional terminal spotify client for a linux enviorment.

Notifications You must be signed in to change notification settings

JonesN3/spotify_terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify_terminal

A project to create a simple and minimal, yet fuctional terminal spotify client for a linux enviorment. The project is in early development, and cannot be considered stable!

The aim of this project is to create a usable spotify client that have few dependencies, so it can be used on virtually any linux machine.

As of now it supports adding playlists to a play queue by using name or index number of the playlist. The queue can be shuffled. You can also search for songs or select a spesific song in a playlist and add those to the queue. The play queue, playlists, and the playlist rootlist are printable. All operations are given as a plain text command, with additional queries when needed.

Ncurses version of the program is located in /ncurses. The standard version only uses standard C-print functions.

Dependencies

This program depends on libspotify, a C api develpoed by spotify. Download from here. More info on how to manage libspotify in 'Libspotify_howto' below.

You will also need the 'asoundlib.h' library, read about it here. This should be available from your distro's offical repositories. (Ubuntu/debian: 'libasound2-dev'. Arch: 'alsa-lib')

Build and run

'make' for building the program. 'make debug' for building the program with debug outputs.

Libspotify howto

If you have root access, pretty simple. Just extract the tar, go to the folder, and run 'make install'.

If you don't have root access, you can install libspotify in your home folder. For what i will explain i will assume that you hvave installed it to '/usr/local/lib', with the command 'make install prefix=/usr/local/lib'

If you installed it into the home folder, you have to update some PATHS, if you already haven't

export PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig:$PKG_CONFIG_PATH

export LD_LIBRARY_PATH=$HOME/local/lib:$LD_LIBRARY_PATH

You can do this each time before running or launching spotify_terminal, or you can add the lines to ~/.bashrc etc.

About

A project to create a simple, but fuctional terminal spotify client for a linux enviorment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages