Package Details: pyradio-git 0.4.r63.g871aa78-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
Last Packager: willemw
Votes: 19
Popularity: 0.000003
First Submitted: 2012-08-23 11:53
Last Updated: 2017-01-07 07:54

Required by (0)

Sources (2)

Latest Comments

willemw commented on 2018-05-16 05:58

@sng: Also make sure to update pyradio-git to the latest commit by reinstalling it.

sng commented on 2018-05-15 14:05

Hi willemw, thanks for the answer

Well, there seems to be something strange going on...

I got the program installed using "sudo pip install pyradio" and i noticed that the station list is different than the one i get when installing through "yaort pyradio-git". Strange?

Also i noticed that using the "pip version" i don't get the error i mentioned in my previous message. Playback starts ok, no sound though - but that's another issue i'm looking into in git issues

Can you have a look?

EDIT:

Ok, it seems two different urls...

aur: https://github.com/coderholic/pyradio

pip: https://pypi.org/simple/pyradio/ [pyradio-0.5.2.tar.gz]

I think it's the same version, but clearly it's a different package...

EDIT2:

Filed an issue: https://github.com/coderholic/pyradio/issues/51

willemw commented on 2018-05-15 06:07

@sng:

Seems like an upstream issue. You may want to check the upstream issues and maybe report your issue there.

Issue https://github.com/coderholic/pyradio/issues/48 is MPV related and was recently closed. If you reinstall pyradio-git, you could check if your issue has already been fixed.

sng commented on 2018-05-14 22:24

Hi all, i get an error when i play a station:

pyradio --play

rm: cannot remove '/tmp/mpvsocket': No such file or dorectory Traceback (most recent call last):

...

...

File "/usr/lib/python3.6/site-packages/pyradio/player.py", line 110, in _buildStartOpts

if "not found" not in out[0]:

TypeError: a bytes-like object is required, not 'str'

python --version

Python 3.6.5

After some googling, i made the following change:

File: /usr/lib/python3.6/site-packages/pyradio/player.py

Line: 110

Changed from:

if "not found" not in out[0]:

to:

if "not found" not in str(out[0]):

An now it works!!!

p1tt1 commented on 2015-11-09 08:00

new commit on github

willemw commented on 2015-10-02 06:06

@martynjy: it's an upstream issue: https://github.com/coderholic/pyradio/issues/31.

martynjy commented on 2015-10-01 22:31

Crashes after upgrade today python (3.4.3-3 -> 3.5.0-2)

Traceback (most recent call last):
File "/usr/bin/pyradio", line 9, in <module>
load_entry_point('pyradio==0.5.2', 'console_scripts', 'pyradio')()
File "/usr/lib/python3.5/site-packages/pyradio/main.py", line 78, in shell
pyradio = PyRadio(stations, play=args.play)
UnboundLocalError: local variable 'stations' referenced before assignment

willemw commented on 2013-08-21 18:37

@thoase: Thanks. Fixed (now all Python 3).

thoase commented on 2013-08-21 10:58

You need to have 'python-setuptools' installed to build pyradio-git.