Package Details: pyradio-git 0.6.0.r0.gd13b7e3-1

Git Clone URL: https://aur.archlinux.org/pyradio-git.git (read-only)
Package Base: pyradio-git
Description: Command line internet radio player
Upstream URL: http://www.coderholic.com/pyradio/
Licenses: MIT
Conflicts: pyradio
Provides: pyradio
Submitter: aksr
Maintainer: willemw (sng)
Last Packager: willemw
Votes: 20
Popularity: 0.519704
First Submitted: 2012-08-23 11:53
Last Updated: 2018-12-05 10:06

Latest Comments

1 2 3 Next › Last »

sng commented on 2019-03-02 10:15

@willemw: ok, thanks for making it clear

willemw commented on 2019-03-02 09:17

@sng: If the user is not actively following upstream project(s), then I think the normal procedure for the user is to regularly update/reinstall all his or her VCS packages (yay ... --devel, pikaur ... --devel, ...).

sng commented on 2019-03-02 08:57

@willemw Yes, I know :)

I was under the impression that at least the pkgver should be updated (in the PKGBUILD) so that users get a notification or indication that something has changed, in order to reinstall the package. Otherwise, how would one know when to update?

Still, I don't really know how the whole thing works...

willemw commented on 2019-03-02 08:12

@sng: to update a VCS package (a package ending on -git, for example), you need to reinstall the package.

sng commented on 2019-03-02 01:54

@willemw Updated upstream at pkgver=0.7.2-0-g1a5bed0

Can you please update here too?

sng commented on 2018-12-05 05:49

@willemw

This PKGBUILD reflects the latest upstream changes

The man page (pyradio.1) is now in the repo; no need to keep it here any more

# Maintainer: willemw <willemw12@gmail.com>
# Contributor: sng <sng at hellug dot gr>
# Contributor: aksr <aksr at t-com dot me>

_pkgname=pyradio
pkgname=$_pkgname-git
pkgver=0.6.0.r0.gd13b7e3
pkgrel=1
pkgdesc="Command line internet radio player"
arch=('any')
url="http://www.coderholic.com/pyradio/"
license=('MIT')
depends=('ncurses' 'python')
optdepends=('mplayer: as backend' 'vlc: as backend' 'mpv: as backend' 'socat: if mpv is used')
makedepends=('git' 'python-setuptools')
provides=($_pkgname)
conflicts=($_pkgname)
source=($pkgname::git://github.com/coderholic/pyradio.git)
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

package() {
  cd $pkgname
  descr=$(git describe --long --tags)
  sed -i "s/git_description = ''/git_description = '${descr}'/" pyradio/radio.py
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/pyradio/LICENSE"
  install -Dm644 README.md "$pkgdir/usr/share/doc/pyradio/README.md"
  install -Dm644 README.html "$pkgdir/usr/share/doc/pyradio/README.html"
  install -Dm644 build.md "$pkgdir/usr/share/doc/pyradio/build.md"
  install -Dm644 build.html "$pkgdir/usr/share/doc/pyradio/build.html"
  gzip pyradio.1
  install -Dm644 pyradio.1.gz "$pkgdir/usr/share/man/man1/pyradio.1.gz"
  # we don't have to install stations.csv, it is already in the egg file
  #install -Dm644 pyradio/stations.csv "$pkgdir/usr/share/doc/pyradio/stations.csv"
} 

willemw commented on 2018-11-17 06:30

@aksr: Done.

aksr commented on 2018-11-17 03:45

Remove this stupid line: The man page was written by \fBaksr <aksr at t-com dot me>\fR for Arch Linux.

sng commented on 2018-11-16 20:00

man page update

.\" Copyright (C) 2011 Ben Dowling <http://www.coderholic.com/pyradio>
.\" This manual is freely distributable under the terms of the GPL.
.\"
.TH PYRADIO 1 "November 2018"

.SH NAME
.PP
pyradio \- a console based Internet radio player

.SH SYNOPSIS
.PP
\fBpyradio\fR
.RI \fI[OPTIONS]
[path/to/]stations.csv

.SH DESCRIPTION
.PP
.B pyradio
is a command line internet radio player. 
.PP
It will use one of the following players: \fImpv\fR, \fImplayer\fR or \fIvlc\fR, detected in that order. If none of them is detected, \fBpyradio\fR will \fBsilently\ terminate\fR (use \fB-d\fR option to get a log file).
.PP
If \fImpv\fR is detected, \fIsocat\fR is required too.
.PP
It is possible to use 
a custom stations list in \fB~/.pyradio/stations.csv.
.PP
If custom stations list is missing, \fBpyradio\fR would use a 
default one.

.SH OPTIONS

.IP \fB-h\fR,\fB\ \--help            
Show this help message and exit.
.IP \fB-s\fR,\fB\ \--stations\ \fI[STATIONS]
Use specified station CSV file.
.IP \fB-p\fR,\fB\ \--play\ \fI\<PLAY\>
Play station number \fI\<PLAY\>\fR. Select randome station if \fI\<PLAY\>\fR not specified.
.IP \fB-r\fR,\fB\ \--random          
Start and play a random station.
.IP \fB-a\fR,\fB\ \--add             
Add station to list.
.IP \fB-l\fR,\fB\ \--list            
List of added stations.
.IP \fB-u\fR,\fB\ \--use-player\ \fI[USE_PLAYER]
Specify which player to use (\fImpv\fR,\ \fImplayer\fR\ or\ \fIcvlc\fR).
.IP \fB-d\fR,\fB\ \--debug           
Debug mode (pyradio.log created). To be attached with any bug report.

.SH CONTROLS

.IP \fB\Up/Down/PgUp/PgDown     
Change station selection
.IP \fBj/k
Change station selection (vi-like)
.IP \fBEnter                   
Play selected station
.IP \fB-/+                     
Change volume
.IP \fBv
Save volume (mpv and mplayer only)
.IP \fBm                       
Mute
.IP \fBr                       
Select and play a random station
.IP \fBSpace                   
Stop/start playing selected station
.IP \fBEsc/q                   
Quit

.SH FILES
.PP
.I /usr/share/doc/pyradio/stations.csv

.I /usr/share/doc/pyradio/README.md

.I /usr/share/licenses/pyradio/LICENSE

.SH AUTHOR
.PP
 \fBBen Dowling <http://www.coderholic.com/pyradio>
.PP
 The man page was written by \fBaksr <aksr at t-com dot me>\fR for Arch Linux.


Guybrusssh commented on 2018-08-07 11:56

@blacktav Ok I had to delete the .config/pyradio directory manually. It seems my csv file had some error. my fault, sorry. I had a filler line like this:"---- Country specific ----" this line was fine before but now it isn't. Removing the line from my old csv solved the problem. thx for your quick response.