Git Product home page Git Product logo

rustplayer's Introduction

RustPlayer GitHub tag GitHub stars

build status rustplayer rustplayer

Linux macOS Windows Codacy Badge commit stars

An local audio player & network m3u8 radio player using completely terminal gui. MacOS, Linux, Windows are all supported.

RustPlayer is under development. If u have encountered any problem, please open issues :)

Features

  • Support mp3, wav, flac format
  • Support m3u8 network radio
    • tested: 央广之声、经济之声. check radio.ini for details.
    • please copy radio.ini to ~/.config/rustplayer
  • Lyrics Supported
  • Multi-platform supported
  • Low CPU and memory usage
  • File explorer
  • Playlist playback supported
  • Wave animation
  • Playback progress
  • Next audio
  • Adjust volume
  • Developed by Kingtous

Demo Video

Install RustPlayer by Snap Store

snap install rustplayer --devmode

Download Binary Release Directly and Run

The binary release of macOS, Ubuntu/Debian Linux, Windows can be found in artifacts of latest prerelease. Click the top item of the list to download the latest release.

For Arch/Manjaro users, use yay -S rustplayer instead.

Screenshots

Windows

Play with lyrics. If no lyrics found, the wave animation will be the replacement of the block. See screenshots from Linux and macOS below.

image.png

Linux

The screenshot from Deepin

Deepin RustPlayer

macOS

macOS RustPlayer

Compile RustPlayer and run

If u found this binary release is not working or u like compiling RustPlayer by youselef. Yes, The step to compile RustPlayer is really easy.

  • clone this repo.
    • for arch/manjaro, please use fix/arch branch.
  • install dependencies
    • check .github/rust.yml for details
  • cargo run in root of this project.

if u think this repo is helpful, ⭐ this project and let me know :)

TroubleShoot

Linux

Q: No sound in Linux, console shows "unable to open slave". I'm using snd_hda_intel drivers.

A: check your valid sound card. Check by lspci -knn|grep -iA2 audio. An example is:

04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
        Subsystem: Lenovo Device [17aa:3814]
        Kernel driver in use: snd_hda_intel
--
04:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 01)
        Subsystem: Lenovo Device [17aa:3832]
        Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x
04:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
        Subsystem: Lenovo Device [17aa:3833]
        Kernel driver in use: snd_hda_intel

In the case above, 2 audio devices found in your Linux. Let's check which device is in use, we will use index to identify the default device. Type modinfo snd_hda_intel | grep index, if only shows:

parm: index:Index value for Intel HD audio interface. (array of int)

which means index 0 will be chosen to be the default output device.

In this case, you can try device 1. create files below:

> cat /etc/modprobe.d/default.conf                

options snd_hda_intel index=1

reboot and check if it works.

rustplayer's People

Contributors

kingtous avatar

Stargazers

Roman avatar

Watchers

 avatar

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.