PyRadio - cli internet radio player

Just wrote a little bash script to easily extract your ‘LIKES’ from the pyradio-titles.log and store them in a seperated list. Also with added search-links! Check it out! :slightly_smiling_face:

4 Likes

Just released PyRadio 0.8.9.17

In case you have installed the test archive mentioned in this thread, please uninstall it now using

python -m pip uninstall pyradio

Then you can install it again from Mabox repo

sudo pacman -S pyradio

and wait for @napcok to update it

Cheers!

4 Likes

Already in Mabox repo. Thanks @sng :slight_smile:

4 Likes

Just released PyRadio 0.8.9.18 :wink:

3 Likes

Uploaded to Mabox repo. Thanks :slight_smile:

Mabox_2022-05-18-17-15-1652886906

3 Likes

Thanks a lot …amazing job!

2 Likes

PyRadio 0.8.9.19 is out…
BUG FIX release…

2 Likes

Uploaded :slight_smile:

3 Likes

And again… :wink:
Version 0.8.9.20

4 Likes

PyRadio 0.8.9.27 is out!

Some bug fixes and “Station history”!
Oh, song title/station name on window title, also!

2 Likes

Already in Mabox repo.

Thanks @sng :slight_smile:

Mabox_20220918-16-19-18

1 Like

Thanks for your amazing job. Pyradio keeps looking so Pro :metal:

2 Likes

PyRadio 0.8.9.28 is out!

Enjoy!

2 Likes

Already in Mabox repo, thanks @sng

1 Like

PyRadio 0.8.9.30 is out!

This release brings a Desktop File installed under Internet, and Desktop Notifications!

Enjoy!

__
EDIT: @napcok A note about desktop notifications

If you want to have desktop notifications enabled by default, change this line in the config file

enable_notifications = -1

to

enable_notifications = 0

If you want to have notifications every 60 seconds, change

enable_notifications = -1

to

enable_notifications = 60

and so on :wink:

2 Likes

Uploaded to Mabox repo, thnx @sng

Anyway I can’t get notifications to work. After changing notifications to 0 I’ve got:

Reading config...
Reading playlist...
Traceback (most recent call last):
  File "/usr/bin/pyradio", line 8, in <module>
    sys.exit(shell())
  File "/usr/lib/python3.10/site-packages/pyradio/main.py", line 525, in shell
    curses.wrapper(pyradio.setup)
  File "/usr/lib/python3.10/curses/__init__.py", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/lib/python3.10/site-packages/pyradio/radio.py", line 681, in setup
    self.run()
  File "/usr/lib/python3.10/site-packages/pyradio/radio.py", line 1390, in run
    ret = self.keypress(c)
  File "/usr/lib/python3.10/site-packages/pyradio/radio.py", line 5404, in keypress
    self._normal_mode_resize()
  File "/usr/lib/python3.10/site-packages/pyradio/radio.py", line 4673, in _normal_mode_resize
    self.setupAndDrawScreen()
  File "/usr/lib/python3.10/site-packages/pyradio/radio.py", line 743, in setupAndDrawScreen
    self.log.setScreen(self.footerWin)
  File "/usr/lib/python3.10/site-packages/pyradio/log.py", line 81, in setScreen
    self.write(self.msg)
  File "/usr/lib/python3.10/site-packages/pyradio/log.py", line 170, in write
    self._show_notification(msg)
  File "/usr/lib/python3.10/site-packages/pyradio/log.py", line 346, in _show_notification
    notification_command = self._repeat_notification._populate_notification_command(self._cnf._notification_command, d_title, d_msg)
  File "/usr/lib/python3.10/site-packages/pyradio/log.py", line 674, in _populate_notification_command
    notification_command[i] = notification_command[i].replace('ICON', self.icon_path)
TypeError: replace() argument 2 must be str, not None

Ok, I got it

Forgot to update pyradio-git aur files…

Please try again, it must be ok now

Thanks dear @sng for so much work and efforts to keep improving your cool radio app player. Great job! Regards.

1 Like

Now, version 0.8.9.31 on pyradio-git

Hope this one fixes things…

2 Likes

@sng
Now all works fine here, thanks @sng
Uploaded to the repo :slight_smile:

1 Like