%global _empty_manifest_terminate_build 0 Name: python-amg-player Version: 2023.2.8.0 Release: 1 Summary: Browse & play embedded tracks from Angry Metal Guy music reviews License: GNU General Public License v3 (GPLv3) URL: https://github.com/desbma/amg-player Source0: https://mirrors.nju.edu.cn/pypi/web/packages/99/61/51587add857619d35128c089589585221e9489d7fa711b5357bbdd3488ef/amg-player-2023.2.8.0.tar.gz BuildArch: noarch %description # Angry Metal Guy Player [![Latest version](https://img.shields.io/pypi/v/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg-player/) [![Tests status](https://github.com/desbma/amg-player/actions/workflows/ci.yml/badge.svg)](https://github.com/desbma/amg-player/actions) [![Coverage](https://img.shields.io/coveralls/desbma/amg-player/master.svg?style=flat)](https://coveralls.io/github/desbma/amg-player?branch=master) [![Lines of code](https://tokei.rs/b1/github/desbma/amg-player)](https://github.com/desbma/amg-player) [![Supported Python versions](https://img.shields.io/pypi/pyversions/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg-player/) [![License](https://img.shields.io/github/license/desbma/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg/) Angry Metal Guy Player (AMG Player) is a Python multi platform console tool to automatically play or download tracks from [Angry Metal Guy](https://www.angrymetalguy.com/) reviews. I created this because: - I like Angry Metal Guy, and discovered great music (both metal and totally non-metal) thanks to their reviews - I often disagree with their ratings (in fact I disagree more often than I agree), both for overrating and underrating - Even when I disagree, I like reading their reviews - I want to listen to the music **before** I read the review, to avoid getting influenced - To be efficient, I want to listen to the tracks like a radio, and read the review to learn more only when I like something ## Features - Can work either in interactive mode (manually select tracks) or totally automatic (play new tracks like a radio) - Supports embedded tracks from: YouTube, Bandcamp, SoundCloud, ReverbNation - Plays YouTube video if available, or generates a video on the fly with the cover image + audio track(s) (requires FFmpeg) - Can download tracks (with embedded album art) to play later ## Screenshots Selection screen: [![selection image](https://i.imgur.com/Ijrjd0Am.png)](https://i.imgur.com/Ijrjd0A.png) Playing a track: [![playing image](https://i.imgur.com/pXUScj2m.png)](https://i.imgur.com/pXUScj2.png) ## Installation Angry Metal Guy Player requires [Python](https://www.python.org/downloads/) >= 3.7. Some features are only available if [FFmpeg](https://ffmpeg.org/download.html) >= 2.8 is installed. ### From PyPI (with PIP) 1. If you don't already have it, [install pip](https://pip.pypa.io/en/stable/installing/) for Python 3 2. Install Angry Metal Guy Player: `pip3 install amg-player` ### From source 1. If you don't already have it, [install setuptools](https://pypi.python.org/pypi/setuptools#installation-instructions) for Python 3 2. Clone this repository: `git clone https://github.com/desbma/amg-player` 3. Install Angry Metal Guy Player: `python3 setup.py install` **Angry Metal Guy Player only supports [MPV player](https://mpv.io/) for now.** ## Command line usage Run `amg -h` to get full command line reference. ### Examples - Browse and play interactively last 50 reviews: `amg -c 50` - Choose the first track to play, then play all tracks in chronological order: `amg -m radio` - Play last 20 tracks in chronological order, skipping those already played: `amg -c 20 -m discover` ## License [GPLv3](https://www.gnu.org/licenses/gpl-3.0-standalone.html) %package -n python3-amg-player Summary: Browse & play embedded tracks from Angry Metal Guy music reviews Provides: python-amg-player BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-amg-player # Angry Metal Guy Player [![Latest version](https://img.shields.io/pypi/v/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg-player/) [![Tests status](https://github.com/desbma/amg-player/actions/workflows/ci.yml/badge.svg)](https://github.com/desbma/amg-player/actions) [![Coverage](https://img.shields.io/coveralls/desbma/amg-player/master.svg?style=flat)](https://coveralls.io/github/desbma/amg-player?branch=master) [![Lines of code](https://tokei.rs/b1/github/desbma/amg-player)](https://github.com/desbma/amg-player) [![Supported Python versions](https://img.shields.io/pypi/pyversions/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg-player/) [![License](https://img.shields.io/github/license/desbma/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg/) Angry Metal Guy Player (AMG Player) is a Python multi platform console tool to automatically play or download tracks from [Angry Metal Guy](https://www.angrymetalguy.com/) reviews. I created this because: - I like Angry Metal Guy, and discovered great music (both metal and totally non-metal) thanks to their reviews - I often disagree with their ratings (in fact I disagree more often than I agree), both for overrating and underrating - Even when I disagree, I like reading their reviews - I want to listen to the music **before** I read the review, to avoid getting influenced - To be efficient, I want to listen to the tracks like a radio, and read the review to learn more only when I like something ## Features - Can work either in interactive mode (manually select tracks) or totally automatic (play new tracks like a radio) - Supports embedded tracks from: YouTube, Bandcamp, SoundCloud, ReverbNation - Plays YouTube video if available, or generates a video on the fly with the cover image + audio track(s) (requires FFmpeg) - Can download tracks (with embedded album art) to play later ## Screenshots Selection screen: [![selection image](https://i.imgur.com/Ijrjd0Am.png)](https://i.imgur.com/Ijrjd0A.png) Playing a track: [![playing image](https://i.imgur.com/pXUScj2m.png)](https://i.imgur.com/pXUScj2.png) ## Installation Angry Metal Guy Player requires [Python](https://www.python.org/downloads/) >= 3.7. Some features are only available if [FFmpeg](https://ffmpeg.org/download.html) >= 2.8 is installed. ### From PyPI (with PIP) 1. If you don't already have it, [install pip](https://pip.pypa.io/en/stable/installing/) for Python 3 2. Install Angry Metal Guy Player: `pip3 install amg-player` ### From source 1. If you don't already have it, [install setuptools](https://pypi.python.org/pypi/setuptools#installation-instructions) for Python 3 2. Clone this repository: `git clone https://github.com/desbma/amg-player` 3. Install Angry Metal Guy Player: `python3 setup.py install` **Angry Metal Guy Player only supports [MPV player](https://mpv.io/) for now.** ## Command line usage Run `amg -h` to get full command line reference. ### Examples - Browse and play interactively last 50 reviews: `amg -c 50` - Choose the first track to play, then play all tracks in chronological order: `amg -m radio` - Play last 20 tracks in chronological order, skipping those already played: `amg -c 20 -m discover` ## License [GPLv3](https://www.gnu.org/licenses/gpl-3.0-standalone.html) %package help Summary: Development documents and examples for amg-player Provides: python3-amg-player-doc %description help # Angry Metal Guy Player [![Latest version](https://img.shields.io/pypi/v/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg-player/) [![Tests status](https://github.com/desbma/amg-player/actions/workflows/ci.yml/badge.svg)](https://github.com/desbma/amg-player/actions) [![Coverage](https://img.shields.io/coveralls/desbma/amg-player/master.svg?style=flat)](https://coveralls.io/github/desbma/amg-player?branch=master) [![Lines of code](https://tokei.rs/b1/github/desbma/amg-player)](https://github.com/desbma/amg-player) [![Supported Python versions](https://img.shields.io/pypi/pyversions/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg-player/) [![License](https://img.shields.io/github/license/desbma/amg-player.svg?style=flat)](https://pypi.python.org/pypi/amg/) Angry Metal Guy Player (AMG Player) is a Python multi platform console tool to automatically play or download tracks from [Angry Metal Guy](https://www.angrymetalguy.com/) reviews. I created this because: - I like Angry Metal Guy, and discovered great music (both metal and totally non-metal) thanks to their reviews - I often disagree with their ratings (in fact I disagree more often than I agree), both for overrating and underrating - Even when I disagree, I like reading their reviews - I want to listen to the music **before** I read the review, to avoid getting influenced - To be efficient, I want to listen to the tracks like a radio, and read the review to learn more only when I like something ## Features - Can work either in interactive mode (manually select tracks) or totally automatic (play new tracks like a radio) - Supports embedded tracks from: YouTube, Bandcamp, SoundCloud, ReverbNation - Plays YouTube video if available, or generates a video on the fly with the cover image + audio track(s) (requires FFmpeg) - Can download tracks (with embedded album art) to play later ## Screenshots Selection screen: [![selection image](https://i.imgur.com/Ijrjd0Am.png)](https://i.imgur.com/Ijrjd0A.png) Playing a track: [![playing image](https://i.imgur.com/pXUScj2m.png)](https://i.imgur.com/pXUScj2.png) ## Installation Angry Metal Guy Player requires [Python](https://www.python.org/downloads/) >= 3.7. Some features are only available if [FFmpeg](https://ffmpeg.org/download.html) >= 2.8 is installed. ### From PyPI (with PIP) 1. If you don't already have it, [install pip](https://pip.pypa.io/en/stable/installing/) for Python 3 2. Install Angry Metal Guy Player: `pip3 install amg-player` ### From source 1. If you don't already have it, [install setuptools](https://pypi.python.org/pypi/setuptools#installation-instructions) for Python 3 2. Clone this repository: `git clone https://github.com/desbma/amg-player` 3. Install Angry Metal Guy Player: `python3 setup.py install` **Angry Metal Guy Player only supports [MPV player](https://mpv.io/) for now.** ## Command line usage Run `amg -h` to get full command line reference. ### Examples - Browse and play interactively last 50 reviews: `amg -c 50` - Choose the first track to play, then play all tracks in chronological order: `amg -m radio` - Play last 20 tracks in chronological order, skipping those already played: `amg -c 20 -m discover` ## License [GPLv3](https://www.gnu.org/licenses/gpl-3.0-standalone.html) %prep %autosetup -n amg-player-2023.2.8.0 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-amg-player -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 2023.2.8.0-1 - Package Spec generated