tizonia-openmax-il

tizoniaLGPL-3.0活跃维护

Linux 终端里的云音乐播放器,用命令行就能播放 Spotify、YouTube、SoundCloud、Plex 等平台的音乐,还能推流到 Chromecast。

Command-line cloud music player for Linux with support for Spotify, Google Play Music, YouTube, SoundCloud, TuneIn, iHeartRadio, Plex servers and Chromecast devices.

v0.22.0发布于 2020-05-22 22:35 UTC1,741star90fork同步于 2026-11-07 07:34 UTC

怎么上手

由 README 提炼,执行前请确认
curl -kL https://github.com/tizonia/tizonia-openmax-il/raw/master/tools/install.sh | bash
硬件要求按 README 说明

README 未说明显存或 GPU 要求;安装包覆盖 amd64 与 armhf 架构,含 Raspbian,可在树莓派上运行。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Linux 命令行流媒体音乐播放器,聚合 YouTube、SoundCloud、Plex 等源并支持 Chromecast 投送

Linux 终端里的云音乐播放器,用命令行就能播放 Spotify、YouTube、SoundCloud、Plex 等平台的音乐,还能推流到 Chromecast。

核心能力

  • 命令行播放 YouTube、SoundCloud、TuneIn 与 iHeart 电台
  • 接入 Plex 媒体服务器与 Chromecast 设备
  • 首个开源 OpenMAX IL 1.2 实现,提供多媒体组件框架
  • 提供 tizonia-remote 远程控制工具
  • 支持 Debian 包、AUR、Snap 与 Docker 多种分发方式

容易踩的坑

项目正在为 Ubuntu 24.04 amd64 做 v1 复兴,旧安装说明和部分流媒体文档可能已过时;使用 SoundCloud 和 Plex 需先在配置文件中填入账号凭据;Snap 包目前缺少维护者,Arch 升级前需先卸载旧版本。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.22.0
  1. v0.22.0Seron最新正式版2020-05-22 · 2020-05-22 22:35 UTC

    In this release:

    • Added support for the iHeart Internet radio directory (#597).
    • Spotify: added options to play Spotify recommendations by artist and album names (#727).
    • Spotify: added access to private lists in the user's library (#724).
    • Spotify: added support for Songs playlist (#600).
    • YouTube: added expiration of cached search results (#742).
    • SoundCloud: added fuzzy matching support to '--soundcloud-user-playlist' (#733).
    • Added ability to jump to arbitrary playlist items using keyboard shortcuts (#728).
    • Added support for "?" during playback to bring up --help commands (#641).
    • Added additional keyboard shortcuts (#731).
    • Added more useful info into tizonia --debug output (#740).
    • Binaries for Ubuntu 20.04 (Focal) (#726).

    For full details, please refer to the CHANGELOG.

    See the project README for the various installation methods.

  2. v0.21.0Laujar2020-03-08 · 2020-03-08 21:20 UTC
    查看更新说明

    In this release:

    • YouTube: add caching of requests to minimize quota issues (#697).
    • YouTube: allow users to specify API keys to avoid quota issues (#696).
    • Google Music: display genre and album art info if available (#694).
    • Plex: fix for audio cuts out after 18 seconds on Arch distro (#679).
    • Google Music: fix for (RuntimeError) : maximum recursion depth exceeded in cmp (#646).
    • Google Music: fix for Free Radio Stations Load Queued Items List But Nothing Happens (#596).

    For full details, please refer to the CHANGELOG.

    See README for the various installation methods.

  3. v0.20.0Alicun2020-02-19 · 2020-02-19 10:01 UTC
    查看更新说明

    In this release:

    • Added support for TuneIn Internet radios (#684).
    • Added support for color-themes (#586).
    • Added a new build system based on Meson (thanks @lgbaldoni!) (#685).
    • tizonia-remote is now distributed in the Debian package (#683).
    • A man page has been added (#655) and the documentation site has been refreshed.
    • Also a good number of fixes, including reviving Chromecast support (#639) (still more work needed).

    For full details, please refer to the CHANGELOG.

    See README for the various installation methods.

  4. v0.19.0Velez-Blanco2019-12-13 · 2019-12-13 21:56 UTC
    查看更新说明

    In this release:

    • Python 3 migration (#614).
    • Removed support Dirble (after its disappearance) (#624).
    • Spotify: global playlist search (#589).
    • PulseAudio renderer: configurable default volume (#620).
    • Plus a few other improvements and fixes.

    For detailed information about the changes, refer to the CHANGELOG.

    See README for the various installation methods.

  5. v0.18.0Huercal-Overa2019-03-13 · 2019-03-13 23:06 UTC
    查看更新说明

    In this release:

    • Problem with Google Play Music tracks being cut short fixed (thanks to the users and the feedback provided in #547)
    • Added configuration option to filter out 'explicit' tracks on Spotify (#568).
    • Plus a few other improvements and fixes.

    For detailed information about the changes, refer to the CHANGELOG.

    See README for the various installation methods.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    The Tizonia Project

    Revival in progress: Tizonia is being revived for a new v1 release targeting Ubuntu 24.04 amd64. During this work, legacy installation instructions and some streaming-service documentation may be stale. Follow the v1 roadmap issues for current status. Autonomous coding agents should also read CONTRIBUTING-agents.md.

    • A command-line streaming music client/server for Linux.
    • Support for YouTube, SoundCloud, TuneIn and iHeart Internet Radio directories, Plex servers and Chromecast devices.
    • The first open-source implementation of OpenMAX IL 1.2.


    News

    Latest news

    • [2020-05-22] Tizonia v0.22.0. Added support for iHeart radio, new command-line options to play Spotify recommendations by artist and album name, new keyboard shortcuts and a good number of other fixes and improvements.

    See Tizonia's website: Tizonia 0.22.0

    • [2020-03-08] Tizonia v0.21.0. A maintenance release with fixes for YouTube API quota issues, among others.

    See Tizonia's website: Tizonia 0.21.0 brings changes to minimize the YouTube API quota issues

    • [2020-01-19] Tizonia v0.20.0. Added support for TuneIn Internet radios, color-themes and a new build system based on Meson (thanks @lgbaldoni!). A man page has been added and the documentation site has been refreshed. Also tizonia-remote is now distributed in the Debian package plus a good number of fixes, including reviving Chromecast support (still more work needed).

    See Tizonia's website: TuneIn Internet radio and podcasts, and color-themes in Tizonia 0.20.0

    • [2019-12-13] Tizonia v0.19.0. Another maintenance release with a good bunch of improvements and bug fixes: Dirble removal (the service is sadly gone), Python 3 migration (please see the section Upgrade (Debian / Ubuntu / Raspbian) to learn how to install the new Python 3 dependencies!).

    See Tizonia's website: Global Spotify playlist search and other improvements in Tizonia 0.19.0

    • [2019-03-13] Tizonia v0.18.0. Various improvements and bug fixes in Google Music and Spotify.

    See Tizonia's website: Fixed 'Google Play Music tracks cut short' in Tizonia 0.18.0

    • [2019-01-17] Tizonia v0.17.0. Fixed Spotify login issues. A regression introduced in v0.16.0. This issue was identified and fixed thanks to the great feedback provided by the users in issue #531.

    See Tizonia's website: Spotify login issues fixed in Tizonia 0.17.0

    • [2018-12-03] Tizonia v0.16.0. Improved Spotify support with more options to dicover new music rather than just playing the content that you know and love. Last but not least, docker-tizonia has been updated! (many thanks to Josh5).

    See Tizonia's website: More ways to discover music on Spotify with Tizonia 0.16.0

    • [2018-06-15] Tizonia v0.15.0. Reworked Spotify support to overcome playlist search problems that arised in libspotify. Now spotipy is being used to retrieve track, artist, album, and playlist metadata from Spotify.

    See Tizonia's website: Totally revamped Spotify support in Tizonia 0.15.0

    • [2018-04-20] Tizonia v0.14.0. Added support for Google Play Music stations for non-subscribers and YouTube channels (uploads and playlists). Also added option to play the user's entire Google Play Music library.

    See Tizonia's website: Tizonia v0.14.0 adds YouTube Channels and Google Play Music stations for non-subscribers

    See Tizonia's website: Tizonia v0.13.0 adds support for Plex media servers

    See Tizonia's website: Snap package and Docker image available now!

      

    Installation

    Debian / Ubuntu / Raspbian

    Run the following command to install Tizonia on a Debian-compatible system:

    $ curl -kL https://github.com/tizonia/tizonia-openmax-il/raw/master/tools/install.sh | bash
    # Or its shortened version:
    $ curl -kL https://goo.gl/Vu8qGR | bash
    

    NOTE: This script installs the latest release and all the dependencies.

    DISCLAIMER: Trust no-one. Please have a look at the installation script before running it on your system!.

    Debian packages are stored on Bintray, with the following distro/arch combinations:

    NOTE: Elementary OS, Linux Mint, Kali Linux are supported on releases based on Ubuntu 'Xenial' or 'Bionic', Debian 'Buster' or 'Bullseye'. To install Tizonia on other versions of Debian or Ubuntu-based distros, use the Snap package or have a look at #631.

    Arch User Repository (AUR)

    # Please note that if you are upgrading your existing
    # Tizonia installation, you *need* to uninstall it before building a new version.
    # See GitHub issue https://github.com/tizonia/tizonia-openmax-il/issues/485
    
    # Build the latest version from the master branch:
    $ git clone https://aur.archlinux.org/tizonia-all-git.git
    $ cd tizonia-all-git
    $ makepkg -si
    
    

    Snap Package

    NOTE: Unfortunately, the snap package is taking too much of my time to maintain, given the number of other release tasks that I need to deal with during a normal release cycle of Tizonia. So I'm calling for maintainers for the Snap package. Please see message in the Snap package repo at https://github.com/tizonia/tizonia-snap/

    A 'snap' package is available to download from the 'Global' snap store ('stable' channel). For more details visit:

    To install, first visit Install Snapd and make sure that your Linux distro is supported. Follow the instructions to get the 'snapd' service running on your system, and finally use this command to install Tizonia:

    
    $ sudo snap install tizonia
    
    

    Tizonia's snapcraft.yaml file is hosted in a separate repository:

    Docker Image

    Tizonia may also be run from a Docker container. A Docker image is available from the Docker hub:

      

    Configuration

    To use SoundCloud and Plex you need to introduce your credentials in Tizonia's config file. No credentials are needed to stream from YouTube or TuneIn.

    ( On first use, Tizonia outputs its configuration file, if it is not there yet )
    
    $ tizonia --help
    
    ( now edit $HOME/.config/tizonia/tizonia.conf )
    
    ( NOTE: If Tizonia was installed from the 'snap' package, use this path instead )
    ( $HOME/snap/tizonia/current/.config/tizonia/tizonia.conf )
    

    NOTE: See full instructions inside tizonia.conf.

      

    Upgrade

    Debian / Ubuntu / Raspbian

    To upgrade Tizonia and all its dependencies, simply re-run the installation script.

    If you prefer to do it manually, it is a two-step process. Run 'apt-get' as usual to upgrade the Debian packages. Finally make sure that the various Python dependencies are up-to-date.

    
    # Step1: update Tizonia's Debian packages
    $ sudo apt-get update && sudo apt-get upgrade
    
    # Step2: update Tizonia's Python dependencies
    # (Note that new versions of some of these Python dependencies are released often,
    # so you should do this frequently, even if there isn't a new Tizonia release)
    
    # For Tizonia v0.19.0 or newer: Python 3 dependencies
    $ sudo -H pip3 install --upgrade soundcloud youtube-dl pafy pycountry titlecase pychromecast plexapi fuzzywuzzy eventlet python-Levenshtein
    
    # For Tizonia v0.18.0 or older: Python 2 dependencies
    $ sudo -H pip2 install --upgrade soundcloud youtube-dl pafy pycountry titlecase pychromecast plexapi fuzzywuzzy eventlet python-Levenshtein
    
    

      

    Uninstall

    Debian / Ubuntu / Raspbian

    To uninstall Tizonia and all its dependencies, run the following commands

    
    # Remove/purge all tizonia packages installed in the system
    sudo apt-get -y remove --purge tizonia-all && sudo apt-get -y autoremove
    

      

    Hall of Fame

    If you are interested in participating, please read our contribution guidelines and don't hesitate to ask (via the bug tracker, chat or any other means!).

    Here are some of our contributors: