Giter Site home page Giter Site logo

xp's Introduction

xp

GUI and TUI music player with support for multiple streaming services.

Features

  • Gtk4 GUI and TUI
  • Downloading music from multiple streaming services. See table below.
  • Partial MPRIS implementation (play/pause, seek, quit, see ddbus#60)

Supported services

Service Notes
Local files Metadata provided by taglib_c
YouTube
Spotify Audio is downloaded with youtube-dl's ytsearch: feature
SoundCloud

Building and installing

Installing

xp is available on the AUR, to install it, use the following command:

yay -S xp-git yt-dlp yt-dlp-drop-in

To run it, run the following command in the terminal:

# For terminal interface
xp tui

# For gtk4 interface
xp

For other platforms, refer to the build instructions below.

Building

The following dependencies are required for building:

  • DUB and D compiler (prefarably LDC2)

The following runtime dependencies are required:

  • SDL2_mixer
  • gtk4 and libadwaita
  • yt-dlp/youtube-dl
  • ffmpeg or avconv
  • taglib (taglib_c)
  • dbus
  • sqlite3
  • modest

Commands to install these packages for select platforms:

# Arch Linux

# Build dependencies
sudo pacman -S dub ldc
# Runtime dependencies
sudo pacman -S liblphobos dbus sdl2_mixer gtk4 libadwaita youtube-dl ffmpeg taglib dbus sqlite3 modest

Building the program:

git clone https://github.com/Ryhon0/xp
cd xp
dub build -b release
strip xp

xp's People

Contributors

ryhon0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

xp's Issues

Remove modest dependency

arrogant, the library xp uses to read OEmbed HTML meta tags depends on modest.

Modest cannot be built using clang.
Modest is no longer mantained.
According to pkgs.org modest is only available on Arch Linux and is only required by hq, a package that's not required by any other package and was last updated in 2020, it's possible it will be removed alongside modest.
https://pkgs.org/search/?q=libmodest.so

The developers of modest recommend using lexbor, however it isn't in any of distro repositories. Statically linking it could be an option but it could create some issues

Suggestion: Add song loop/playlist loop

Hello (once again, sorry), this is just a suggestion and you don't have to implement it if you don't want to, but, if you can, could you please add a functionality to loop songs/the playlist?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.