Skip to content

Releases: coderholic/pyradio

Version 0.9.3.7

24 May 12:37
Compare
Choose a tag to compare

Changelog

  • introducing the pyradio-client program
  • adding three more System Themes
  • do not allow to change the Recording Directory while recording
    is on either in this instance or a headless instance
  • fix PyRadioOpenDir: always open dir
  • PyRadioRecordingDir: adding key 'd' to revert to deault
  • fixing default opener detection
  • if a linux opener is enetered but config not saved, and opener
    window is opened again, display the one entered instead of the
    saved opener
  • fix stop mkvmerge recursive execution
  • Remote Control Server: adding a warning to the info response,
    if PyRadio is not in Main Mode
  • Remote Control Server: introducing the /reconfig command
  • Desktop Notifications: stations icons are now being cached
  • config: adding parameter remove_station_icons, to remove
    downloaded files on program exit

Packagers notice

Please do read the updated Packager's Info!

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 Changelog                                        |  20 +++
 devel/build_install_pyradio                      |   4 +
 devel/pre-commit                                 |   3 +
 docs/client.html                                 |  95 ++++++++++++
 docs/client.md                                   |  74 +++++++++
 docs/index.html                                  |  30 +++-
 docs/index.md                                    |   9 +-
 docs/packaging.html                              |  10 +-
 docs/packaging.md                                |  42 ++++-
 docs/pyradio-client.1                            |  85 ++++++++++
 docs/pyradio.1                                   |  28 +++-
 docs/pyradio_server.1                            |   3 +
 docs/themes.html                                 |   6 +-
 docs/themes.md                                   |   6 +-
 pyproject.toml                                   |   3 +-
 pyradio/__init__.py                              |   2 +-
 pyradio/client.py                                | 316 ++++++++++++++++++++++++++++++++++++++
 pyradio/config                                   |   9 ++
 pyradio/config.py                                |  28 ++++
 pyradio/config_window.py                         |  62 ++++++--
 pyradio/edit.py                                  |  37 +++--
 pyradio/install.py                               |   6 +-
 pyradio/log.py                                   |  23 ++-
 pyradio/main.py                                  |  67 ++++++--
 pyradio/messages_system.py                       |  28 ++++
 pyradio/player.py                                |  41 +++--
 pyradio/radio.py                                 | 148 +++++++++++++++---
 pyradio/server.py                                |  50 ++++--
 pyradio/themes/dracula_by_Plyply99.pyradio-theme |  45 ++++++
 pyradio/themes/hyprland_amber_gold.pyradio-theme |  47 ++++++
 pyradio/themes/hyprland_dracula.pyradio-theme    |  47 ++++++
 pyradio/win.py                                   |   2 +-
 pyradio/xdg.py                                   |  18 ++-
 setup.py                                         |   1 +
 34 files changed, 1264 insertions(+), 131 deletions(-)

Version 0.9.3.6

10 May 10:35
Compare
Choose a tag to compare

Yet another BUG FIX release

Please refer to Release 0.9.3 to get an understanding of the changes being made in the 0.9.3.x series.

Changelog

  • fixing #241 - pyradio-recordings folder keeps showing in home directory
  • When XDG compliance is forced due to both XDG_DATA_HOME and
    XDG_STATE_HOME directories already exist, update the local Desktop file,
    so that the Icon point to its new location
  • fixing typos

Packagers notice

Please do read the updated Packager's Info!

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 Changelog                      |  8 ++++++                                                                                                                                                    
 devel/fix_pyradio_desktop_file | 14 ++++++++--                                                                                                                                                
 docs/index.html                |  8 ++++++                                                                                                                                                    
 pyproject.toml                 |  2 +-                                                                                                                                                        
 pyradio/__init__.py            |  2 +-                                                                                                                                                        
 pyradio/config.py              |  5 ++++
 pyradio/config_window.py       | 10 +++----
 pyradio/install.py             |  2 +-
 pyradio/main.py                | 82 ++++++++++++++++++++++++++++++++++-----------------------
 pyradio/xdg.py                 | 25 ++++++++++++++++++
 10 files changed, 115 insertions(+), 43 deletions(-)

Version 0.9.3.5

06 May 14:36
Compare
Choose a tag to compare

With this release I believe PyRadio has fully recovered from the bugs introduced by the changes undergone in Release 0.9.3.

Please refer to Release 0.9.3 to get an understanding of the changes being made in the 0.9.3.x series.

Changelog

  • Config Window changes:
    • when r / d (revert to saved / default params) is typed,
      correctly load the corresponding theme
    • do not use hardcoded values when loading default params
    • do not toggle transparency when repeatedly pressing r / d
    • do not change transparency settings when themes are not being used
    • fixing cursor positioning for PgDn
  • XDD compliant operation changes:
    • if both XDG_DATA_HOME and XDG_STATE_HOME directories already exist,
      xdg_compliant will be set to True, even if not set in the
      configuration file (it means an XDG migration has been performed
      in the past; using the non-XDG dirs will lead to data loss)
    • suppress list of files moved when migrating to XDG dirs
  • Theming changes:
    • preserve theming config options when a terminal that does not
      support color change is used and config is saved
    • adding "Color Factor" parameter to themes
  • Linux Vistual Console
    • adding config option console_theme; this way either the dark
      or the light theme can be used when on the console
    • detect execution on the Virtual Console
    • do not open HTML help
    • display list of directories when \o is pressed
    • do not issue desktop notifications
    • clear console at exit
  • fixing #240 - AttributeError: NoneType object has no attribute page
  • actually open playlists list ('o') or RabioBrowser ('O'), after a
    dirty palylist save query has been performed
  • updating Windows Media Players links
  • updating docs

Packagers notice

Please do read the updated Packager's Info!

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 Changelog                                            |   33 +
 README.md                                            |    7 +-
 devel/pre-commit                                     |   11 +-
 docs/headless.html                                   |    2 +-
 docs/headless.md                                     |    2 +-
 docs/index.html                                      |   33 +
 docs/packaging.html                                  |   12 +-
 docs/packaging.md                                    |   22 +-
 docs/pyradio.1                                       |   37 +-
 docs/pyradio_rec.1                                   |    2 +-
 docs/pyradio_server.1                                |    2 +-
 docs/themes.html                                     |   22 +-
 docs/themes.md                                       |   26 +-
 pyproject.toml                                       |    2 +-
 pyradio/__init__.py                                  |    2 +-
 pyradio/config                                       |   18 +-
 pyradio/config.py                                    |  132 ++-
 pyradio/config_window.py                             |  136 +--
 pyradio/html_help.py                                 |   68 +-
 pyradio/index.md                                     | 1567 ---------------------------------
 pyradio/install.py                                   |    2 +-
 pyradio/log.py                                       |    3 +-
 pyradio/main.py                                      |   14 +-
 pyradio/radio.py                                     |   63 +-
 pyradio/themes.py                                    |   84 +-
 pyradio/themes/AM_by_amski1.pyradio-theme            |   11 +-
 pyradio/themes/blue-by-boxer.pyradio-theme           |    9 +-
 pyradio/themes/catppuccin-frappe.pyradio-theme       |    9 +-
 pyradio/themes/catppuccin-latte.pyradio-theme        |    9 +-
 pyradio/themes/catppuccin-macchiato.pyradio-theme    |    9 +-
 pyradio/themes/catppuccin-mocha.pyradio-theme        |    9 +-
 pyradio/themes/classic_by_obsdg.pyradio-theme        |    9 +-
 pyradio/themes/cupcake_by_edunfelt.pyradio-theme     |    9 +-
 pyradio/themes/fairyflossy_by_edunfelt.pyradio-theme |    9 +-
 pyradio/themes/gruvbox_dark_by_sng.pyradio-theme     |    9 +-
 pyradio/themes/gruvbox_light_by_sng.pyradio-theme    |    9 +-
 pyradio/themes/minima_by_ben_chile.pyradio-theme     |    9 +-
 pyradio/themes/pastel_based_by_sng.pyradio-theme     |    9 +-
 pyradio/win.py                                       |    2 +-
 pyradio/xdg.py                                       |   41 +-
 40 files changed, 713 insertions(+), 1751 deletions(-)

Version 0.9.3.4

23 Apr 08:27
Compare
Choose a tag to compare

This is yet another BUG FIX release

Please refer to Release 0.9.3 to get an understanding of the changes being made in the 0.9.3.x series.

Version 0.9.3.3 may fail to update

If you try to update from version 0.9.3.3, you may find that the update script does not work.

This is a known bug, fixed in subsequent releases.

To update your 0.9.3.3 installation, open a terminal and execute:

rm install.py
curl -L \
    https://raw.githubusercontent.com/coderholic/pyradio/master/pyradio/install.py \
    -o install.py

Finally, execute:

python3 install.py -U -f

Changelog

  • adding --no-video command line parameter for vlc
  • removing more python 2 code
  • updating macOS installation instructions (based on Ventura)
  • fixing #239 - Pyradio doesn't remember warning message was already shown
  • fixing loading saved and default config options in Config Window, Recording Dir is excluded from change
  • updating docs

Packagers notice

Please do read the updated Packager's Info!

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 Changelog                   |  10 ++++++
 README.md                   |  21 +++++++++++
 devel/build_install_pyradio |  46 ++++++------------------
 devel/pre-commit            |  85 ++++++++++++++++++++++++++++++++++++++------
 devel/update_win_players    |  56 +++++++++++++++++++----------
 docs/index.html             |  10 ++++++
 docs/macos.html             |  77 ++++++++++++++++++++--------------------
 docs/macos.md               | 114 +++++++++++++++++++++++++++++------------------------------
 pyproject.toml              |   2 +-
 pyradio/__init__.py         |   2 +-
 pyradio/config.py           |  15 ++++++++
 pyradio/config_window.py    |  35 ++++++++++++++----
 pyradio/install.py          |   2 +-
 pyradio/main.py             |  16 +++++++++
 pyradio/player.py           |  20 +++++------
 pyradio/win.py              |   2 +-
 16 files changed, 330 insertions(+), 183 deletions(-)

Version 0.9.3.3

18 Apr 16:39
Compare
Choose a tag to compare

This is yet another BUG FIX release

Please refer to Release 0.9.3 to get an understanding of the changes being made in the 0.9.3.x series.

Changelog

  • adding a resource opener parameter for linux installations
  • fixing issues #236 and #237
  • fixing several minor bugs

Packagers notice

Please do read the updated Packager's Info!

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 .github/ISSUE_TEMPLATE/bug_report.md |   7 +-
 Changelog                            |   6 +
 README.md                            |   6 +-
 docs/index.html                      |  11 +-
 docs/index.md                        |   6 +-
 docs/pyradio.1                       |  35 +++-
 docs/pyradio_rb.1                    |   4 +-
 docs/pyradio_rec.1                   |   6 +-
 pyproject.toml                       |   2 +-
 pyradio/__init__.py                  |   2 +-
 pyradio/browser.py                   |  33 +++-
 pyradio/common.py                    |  19 ++-
 pyradio/config                       |  12 ++
 pyradio/config.py                    | 164 +++++++++++--------
 pyradio/config_window.py             |  16 +-
 pyradio/edit.py                      | 429 +++++++++++++++++++++++++++++++++++++++++++++++++-
 pyradio/html_help.py                 |  40 +++--
 pyradio/install.py                   |  73 +++++++--
 pyradio/main.py                      |  44 ++++--
 pyradio/messages_system.py           |  63 ++++++--
 pyradio/player.py                    |   2 +-
 pyradio/radio.py                     |  98 ++++++++++--
 pyradio/win.py                       |   2 +-
 pyradio/window_stack.py              |   4 +-
 pyradio/xdg.py                       |   9 +-
 25 files changed, 919 insertions(+), 174 deletions(-)

Version 0.9.3.2

08 Apr 09:28
Compare
Choose a tag to compare

This is yet another BUG FIX release

Please refer to Release 0.9.3 to get an understanding of the changes being made in the 0.9.3.x series.

Changelog

  • fixing #233 (move .registers to state dir)
  • fixing stations.csv (from erroneous PR #227)
  • updating headless.md

Packagers notice

Please do read the updated Packager's Info!

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 Changelog                |  8 ++++++-
 docs/headless.html       | 23 ++-----------------
 docs/headless.md         | 39 ++------------------------------
 docs/index.html          |  8 ++++++-
 pyproject.toml           |  2 +-
 pyradio/__init__.py      |  2 +-
 pyradio/browser.py       |  5 +++++
 pyradio/config.py        | 14 ++----------
 pyradio/config_window.py | 18 ++++++++-------
 pyradio/install.py       |  2 +-
 pyradio/main.py          | 26 ++++++++++++++++++++++
 pyradio/radio.py         |  8 +++++--
 pyradio/stations.csv     |  2 +-
 pyradio/win.py           |  2 +-
 pyradio/xdg.py           | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++----------
 15 files changed, 136 insertions(+), 99 deletions(-)

Version 0.9.3.1

06 Apr 10:08
Compare
Choose a tag to compare

This is a BUG FIX release

Please do refer to Release 0.9.3 to get an understanding of the changes being made in the 0.9.3.x series.

Changelog

  • fixing #231 - [BUG] pyradio-0.9.3 cannot be executed
  • closing #232 - [BUG] self.xdg.xdg_compliant = False

Packagers notice

Please do read the updated Packager's Info!

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 Changelog           | 5 +++++
 docs/index.html     | 5 +++++
 pyproject.toml      | 2 +-
 pyradio/__init__.py | 4 ++--
 pyradio/config.py   | 2 +-
 pyradio/install.py  | 2 +-
 6 files changed, 15 insertions(+), 5 deletions(-)

Version 0.9.3

05 Apr 12:47
Compare
Choose a tag to compare

This is a big update, with heavy refactoring and introducing a lot of new concepts, so I expect to have a lot of BUG reports.

Please be kind ;)

Once you execute PyRadio v. 0.9.3 these things will happen:

  1. Your recordings dir will be moved to your home folder and renamed to pyradio-recordings.

  2. Your titles log files will be moved to the new Recordings Dir.

  3. PyRadio's cache will be moved to ~/.cache/pyradio (not on Windows).

If you are using a Linux Distro Package, there's a chance the packager has decided to enable support for the XDG Base Directory specification.

In this case:

  1. most of the files that reside in ~/config/pyradio and ~/.config/pyradio/data will be moved to ~/.local/share/pyradio or ~/.local/state/pyradio.

  2. Any file that you may have saved under ~/.config/pyradio and has not been created by PyRadio, will be moved into a folder called pyradio-not-migrated in your home folder.

  3. Your ~/.config/pyradio/data folder will be removed.

  4. All your playlists and the main configuraton files will remain in ~/.config/pyradio.

IMPORTANT - headless operation

If you use the "headless" functionality and upgrading to v. 0.9.3, please keep in mind that a headless session will not perform any of the tasks described above, leading to unpredictable result.

To ensure the correct operation, please take these actions:

  1. Terminate headless instance of PyRadio.

  2. Execute PyRadio in a terminal at least once, permitting the directory changes to take effect.

  3. Start a new headless instance of PyRadio.

Changelog

  • user config file will not be automatically created; it will be created
    only when some parameter value is different to the one set in the package
    config file
  • adding -pc (--print-config) command line option
  • adding the xdg_compliant config option (packagers option) if set to True,
    config dir contents will be moved to XDG Base dir
    (https://wiki.archlinux.org/title/XDG_Base_Directory)
  • RadioBrowser: present next previous result pages
  • RadioBrowser: adding Icon to station DB info
  • Remote Control Server: adding commands relevant to RadioBrowser results
    page navigation (text interface) and relevant web interface buttons
  • Remote Control Server: adding REC button to web interface
  • Remote Control Server: the output of the /info command will report
    headless operation and if RadioBrowser is active, search term used
    and page number
  • introducing the Messaging System; most messages displayed to the user
    have been transfered to messages_system.py
  • moving Pyradio cache contents to ~/.cache (not on Windows)
  • moving the recordings directory to home folder and renaming it to
    "pyradio-recordings".
  • adding recording_dir config parameter and window to customize it
  • titles log files will be saved in the recordings directory
  • if netifaces module is not installed, headless operation will be aborted
  • fixing #229: Crash when $HOME/.mplayer directory does not exist
  • fixing escaped chars in window title and litles log file
  • adding a Windows python 3.12 workaround to the "curses silently exits" bug
  • adding two Serbian stations in station.csv - PR #227
  • updating documentation

Packagers notice

Please do read the updated Packager's Info!

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 Changelog                        |   47 +-
 Makefile                         |   45 -
 README.md                        |   56 +-
 devel/build_install_pyradio      |   34 +-
 devel/fix_pyradio_desktop_file   |   22 +-
 devel/pre-commit                 |   43 +-
 devel/reg.py                     |    2 +-
 docs/build.html                  |    9 +-
 docs/build.md                    |    8 +-
 docs/desktop-notification.html   |   10 +-
 docs/desktop-notification.md     |    8 +-
 docs/headless.html               |   44 +-
 docs/headless.md                 |   64 +-
 docs/index.html                  |  149 +-
 docs/index.md                    |  119 +-
 docs/linux-pipx.html             |    6 +-
 docs/linux-pipx.md               |    4 +-
 docs/linux.html                  |    2 +-
 docs/macos.html                  |   10 +-
 docs/macos.md                    |    8 +-
 docs/packaging.html              |   24 +-
 docs/packaging.md                |   38 +
 docs/pip-error.html              |    2 +-
 docs/pyradio.1                   |   17 +-
 docs/pyradio_rb.1                |    2 +-
 docs/pyradio_rec.1               |   23 +-
 docs/pyradio_server.1            |   71 +-
 docs/radio-browser.html          |   10 +-
 docs/radio-browser.md            |    2 +
 docs/rec-dir.html                |   91 ++
 docs/rec-dir.md                  |   41 +
 docs/recording.html              |   20 +-
 docs/recording.md                |   19 +-
 docs/server.html                 |   93 +-
 docs/server.md                   |   99 +-
 docs/themes.html                 |    2 +-
 docs/windows-mplayer.html        |    2 +-
 docs/windows-mpv.html            |    2 +-
 docs/windows.html                |    2 +-
 pyproject.toml                   |    2 +-
 pyradio/__init__.py              |    4 +-
 pyradio/browser.py               |  197 ++-
 pyradio/cjkwrap.py               |    7 +-
 pyradio/common.py                |   67 +-
 pyradio/config                   |  143 +-
 pyradio/config.py                |  791 +++++-----
 pyradio/config_window.py         |   23 +-
 pyradio/edit.py                  |  537 ++++++-
 pyradio/html_help.py             |    8 +-
 pyradio/index.md                 |   10 +-
 pyradio/install.py               |   53 +-
 pyradio/log.py                   |   11 +-
 pyradio/main.py                  |  522 +++----
 pyradio/messages_system.py       | 1906 +++++++++++++++++++++++
 pyradio/mkvtoolnix.py            |  102 +-
 pyradio/player.py                |  157 +-
 pyradio/radio.py                 | 3143 ++++++++++++++------------------------
 pyradio/server.py                |  537 +++++--
 pyradio/simple_curses_widgets.py |   26 +-
 pyradio/stations.csv             |    2 +
 pyradio/themes.py                |    2 -
 pyradio/win.py                   |    4 +-
 pyradio/window_stack.py          |  221 +--
 pyradio/xdg.py                   |  644 ++++++++
 64 files changed, 6712 insertions(+), 3657 deletions(-)

Version 0.9.2.25

24 Feb 11:32
Compare
Choose a tag to compare

Changelog

  • droping python 2 - PyRadio will only run on python 3
  • fixing #228

Packagers notice

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files



 Changelog                   |   5 +
 README.md                   |   2 +-
 devel/build_install_pyradio |  20 ++--
 docs/build.html             |  13 ---
 docs/build.md               |  28 -----
 docs/index.html             |   7 +-
 docs/index.md               |   2 +-
 docs/pyradio.1              |   4 +-
 docs/pyradio_rb.1           |   2 +-
 docs/pyradio_rec.1          |   2 +-
 docs/pyradio_server.1       |   2 +-
 pyproject.toml              |   2 +-
 pyradio/__init__.py         |   2 +-
 pyradio/install.py          | 252 +++++++++-----------------------------------
 pyradio/log.py              |  12 ++-
 pyradio/main.py             |  23 +---
 pyradio/radio.py            |  47 ++++++---
 17 files changed, 124 insertions(+), 301 deletions(-)

Version 0.9.2.24

12 Jan 02:04
Compare
Choose a tag to compare

This is yet another BUG FIX release

Changelog

  • fixing mpv title parsing (once again)
  • fixing "Genre" field wrapping on Station Info window

Packagers notice

Please refer to: https://github.com/coderholic/pyradio/blob/master/packaging.md

Changed files

 Changelog           |  9 +++++++--
 docs/index.html     |  9 +++++++--
 pyproject.toml      |  2 +-
 pyradio/__init__.py |  2 +-
 pyradio/install.py  |  2 +-
 pyradio/player.py   | 27 ++++++++++++++++++++++++++-
 6 files changed, 43 insertions(+), 8 deletions(-)