Search Criteria
Package Details: pyradio-git 0.8.9.12.r0.g6bafa23-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/pyradio-git.git (read-only, click to copy) |
---|---|
Package Base: | pyradio-git |
Description: | Internet radio player for the command line |
Upstream URL: | http://www.coderholic.com/pyradio/ |
Licenses: | MIT |
Conflicts: | pyradio |
Provides: | pyradio |
Submitter: | aksr |
Maintainer: | willemw (sng) |
Last Packager: | sng |
Votes: | 28 |
Popularity: | 0.003576 |
First Submitted: | 2012-08-23 11:53 (UTC) |
Last Updated: | 2022-04-29 14:46 (UTC) |
Dependencies (9)
- python-dnspython (python-dnspython1.16, python-dnspython-git)
- python-psutil
- python-requests
- git (git-git, git-vfs, git-run-command-patch-git) (make)
- python-pip (make)
- python-wheel (make)
- mplayer (mplayer2, mplayer-vaapi, mplayer-svn, mplayer-gui-svn, mplayer2-build-git, mplayer-gui) (optional) – as backend
- mpv (mpv-sndio, mpv-semifull-git, mpv-thin, mpv-vapoursynth-git, mpv-caca, mpv-amd-full-git, mpv-light, mpv-pipewire, mpv-light-pulse, mpv-full, mpv-vapoursynth, mpv-git, mpv-full-git, mpv-full-build-git, mpv-build-git) (optional) – as backend
- vlc (libvlc, vlc-decklink, vlc-git, vlc-luajit) (optional) – as backend
Latest Comments
vevais commented on 2022-02-17 17:13 (UTC)
Reinstalling through pacman did not do the trick, but installing pip through pip did!
sng commented on 2022-02-13 12:26 (UTC) (edited on 2022-02-13 12:27 (UTC) by sng)
@vevais
It seems your pip is corrupt...
Maybe at some point you installed pip using pip? (someting like
sudo python -m pip install --upgrade pip
orsudo pip install --upgrade pip
)?I'd try reinstalling
python-pip
:vevais commented on 2022-02-11 09:06 (UTC)
Get the following error when trying to build: http://sprunge.us/M6jkg0 Reinstalling (and also deleting all the files) of python-pip did not do the trick for me. Any ideas?
martynjy commented on 2022-01-31 17:18 (UTC) (edited on 2022-01-31 17:25 (UTC) by martynjy)
@sng: Thanks, that did the trick. There was no
but somehow there was .sng commented on 2022-01-31 16:57 (UTC) (edited on 2022-01-31 16:59 (UTC) by sng)
I'd say your
python-pip
package is corruptI'd try removing
python-pip
and the install it againThese are the files installed by
python-pip
https://pastebin.com/Q19rXMyx
After removing the package, check that these two directories do not exist
If the do, delete them manually
Then install
python-pip
againmartynjy commented on 2022-01-31 16:05 (UTC) (edited on 2022-01-31 16:13 (UTC) by martynjy)
willemw commented on 2022-01-31 15:55 (UTC)
@martynjy: what does the following return as output:
martynjy commented on 2022-01-31 15:43 (UTC) (edited on 2022-01-31 15:47 (UTC) by martynjy)
Build Failed: https://pastebin.com/4MpxwHXx
willemw commented on 2021-12-16 09:05 (UTC)
@kusky: the problem is that those files are owned by package(s) and managed by pacman libraries. The user should not (re)move them.
Python 3.10 should be on your system. Rebuilding and reinstalling Python packages should install files in /usr/lib/python3.10 instead of /usr/lib/python3.9.
Try uninstalling and then installing pyradio-git with Python 3.10 installed.
kusky commented on 2021-12-16 08:53 (UTC) (edited on 2021-12-16 08:55 (UTC) by kusky)
@willemw i already --rebuild pyradio but the files didn't move from 3.9 to 3.10
only way to make it work was to move the themes manually
i didn't have problems with any other python package
and i didn't move any file other than my custom theme
willemw commented on 2021-12-15 21:49 (UTC) (edited on 2021-12-15 21:50 (UTC) by willemw)
@kusky:
The files in /usr/lib/python3.9/ are probably all AUR packages. You need to rebuilt those packages, not move the files. Please move the files back first.
To rebuild, you may need to delete the specific .zst package files first and maybe also the specific cached build files. (Look in /var/cache/..., ~/.cache/...).
kusky commented on 2021-12-15 21:40 (UTC)
thanks @sng and @willemw, the following solved the issue for me:
sng commented on 2021-12-14 19:42 (UTC) (edited on 2021-12-14 19:42 (UTC) by sng)
@kusky
In case you cannot fix it using the proposed actions by @willemw, please do contact me at https://github.com/coderholic/pyradio (submit an issue)
Please execute
pyradio -d
and include in the bug reporta. your
~/pyradio.log
b. the full output of the crash (from the terminal)
S.
willemw commented on 2021-12-14 12:32 (UTC)
@kusky:
Also make sure your whole system is up-to-date. And also run
pacman -Qo /usr/lib/python3.9
to check if there are any out-of-date Python packages.It could also be a CPython issue. The following issue also mentions "KeyError": https://bbs.archlinux.org/viewtopic.php?pid=2008581#p2008581
willemw commented on 2021-12-14 07:12 (UTC)
@kusky: you rebuilt the package and then maybe found an upstream issue. Try moving/renaming your configuration folder (~/.config/pyradio/) and then start pyradio again.
kusky commented on 2021-12-14 02:42 (UTC)
getting the following error after bumping to python 3.10
servimo commented on 2020-10-30 17:03 (UTC) (edited on 2020-10-30 17:04 (UTC) by servimo)
Now it`s Ok. Thanks! :)
sng commented on 2020-10-30 15:19 (UTC) (edited on 2020-10-30 15:21 (UTC) by sng)
@servimo
yes, the pkgver was wrong again...
It should be ok now.
Please do update (once again) and report back
servimo commented on 2020-10-30 14:41 (UTC)
I updated it but it stay in updates.
sng commented on 2020-10-30 13:51 (UTC)
@martynjy thanks!
I did not know that...
Fixed...
martynjy commented on 2020-10-30 13:41 (UTC)
pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
sng commented on 2019-12-23 15:36 (UTC)
ok, thanks!
BTW,
Merry Christmas!!!
willemw commented on 2019-12-23 14:05 (UTC)
@sng: Done. Feel free to make changes yourself, if you want.
sng commented on 2019-12-23 13:51 (UTC) (edited on 2019-12-23 13:51 (UTC) by sng)
@willemw
Can you please remove socat from the dependencies?
It is not needed anymore (version 0.8.7)
Thanks
Spiros
willemw commented on 2019-11-16 09:50 (UTC) (edited on 2019-12-23 14:02 (UTC) by willemw)
@blacktav: Thanks for the heads-up. Bumped the package with some minor changes.
Python 3 updated from 3.7 to 3.8. Everyone needs to rebuild and install the AUR packages which are in the "pacman -Qoq /usr/lib/python3.7" list when updating to Python 3.8.
blacktav commented on 2019-11-15 23:39 (UTC) (edited on 2019-11-15 23:41 (UTC) by blacktav)
Presumably some recent change in python updates broke pyradio with an error such as
pkg_resources.DistributionNotFound: The 'pyradio==0.6.0' distribution was not found and is required by the application
Remove and Re-install cycle seems to sort things out Perhaps bumping the release would help
sng commented on 2019-03-02 10:15 (UTC)
@willemw: ok, thanks for making it clear
willemw commented on 2019-03-02 09:17 (UTC) (edited on 2019-03-02 09:59 (UTC) by willemw)
@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 (UTC) (edited on 2019-03-02 08:59 (UTC) by sng)
@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 (UTC)
@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 (UTC) (edited on 2019-03-02 02:56 (UTC) by sng)
@willemw Updated upstream at pkgver=0.7.2-0-g1a5bed0
Can you please update here too?
sng commented on 2018-12-05 05:49 (UTC) (edited on 2018-12-05 05:57 (UTC) by sng)
@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
willemw commented on 2018-11-17 06:30 (UTC)
@aksr: Done.
aksr commented on 2018-11-17 03:45 (UTC)
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 (UTC) (edited on 2018-12-05 05:49 (UTC) by sng)
man page update
Guybrusssh commented on 2018-08-07 11:56 (UTC) (edited on 2018-08-07 12:18 (UTC) by Guybrusssh)
@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.
blacktav commented on 2018-08-07 01:47 (UTC) (edited on 2018-08-07 01:49 (UTC) by blacktav)
@Guybrusssh: python3.7 is now the default python but pyradio was deployed under v3.6 so the package cannot be found. Remove pyradio-git and reinstall. If you used an aur tool like pikaur, make sure you clear its cache before reinstalling otherwise the old install into python3.6 will still be used.
Guybrusssh commented on 2018-08-06 19:14 (UTC)
doesn't run for me anymore I get the following error msg:
Traceback (most recent call last): File "/usr/bin/pyradio", line 11, in <module> load_entry_point('pyradio==0.5.2', 'console_scripts', 'pyradio')() File "/usr/lib/python3.7/site-packages/pyradio/main.py", line 89, in shell name, url = [s.strip() for s in row] ValueError: not enough values to unpack (expected 2, got 1)</module>
willemw commented on 2018-06-01 06:23 (UTC) (edited on 2018-06-01 07:22 (UTC) by willemw)
@aksr: Done.
willemw commented on 2018-05-31 06:03 (UTC)
@sng: Done.
sng commented on 2018-05-30 23:14 (UTC) (edited on 2018-05-30 23:56 (UTC) by sng)
Here I am again :)
I've got an update for the man page, pyradio.1
Here it is:
willemw commented on 2018-05-29 16:18 (UTC)
@sng: Thanks. Optdepends has been updated.
sng commented on 2018-05-29 15:54 (UTC)
Hi again willemw I have taken some time with this and contributed a couple of features
BTW, I believe you should change the optional packages from
optdepends=('mplayer: as backend' 'vlc: as backend')
to something like
optdepends=('mplayer: as backend' 'vlc: as backend' 'mpv: as backend' 'socat: if mpv is used')
Regards, Spiros
willemw commented on 2018-05-16 05:58 (UTC)
@sng: Also make sure to update pyradio-git to the latest commit by reinstalling it.
sng commented on 2018-05-15 14:05 (UTC) (edited on 2018-05-15 14:41 (UTC) by sng)
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 (UTC)
@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 (UTC) (edited on 2018-05-14 22:29 (UTC) by sng)
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 (UTC)
willemw commented on 2015-10-02 06:06 (UTC)
martynjy commented on 2015-10-01 22:31 (UTC)
willemw commented on 2013-08-21 18:37 (UTC)
thoase commented on 2013-08-21 10:58 (UTC)