You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2id="changelog">Changelog <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></span></h2>
187
191
<prestyle="height: 200px;">
188
192
193
+
2025-05-06 s-n-g
194
+
* version 0.9.3.11.10 - 0.9.3.12-beta10
195
+
* redesigning the Station Editor
196
+
- adding Volume, Buffering, Force http, Profile and Referrer fields
197
+
- grouping URL, Icon and Referrer fields
198
+
* station encoding can now get a "Default" value, to leave the station's
199
+
encoding empty. This will make it use the default (config) encoding.
200
+
* all players will use the new station fields
201
+
* \V will toggle the use of station volume (revert to profile volume)
202
+
* fixing a couple of minor bugs
203
+
* updating mpv download link (Windows)
204
+
* - updating docs
205
+
189
206
2025-03-21 s-n-g
190
207
* version 0.9.3.11.9 - 0.9.3.12-beta9
191
208
* fixing default station selection in the config window
<li><p>The third column will define the <strong>Encoding</strong> used by the station (more on this at <ahref="#specifying-stations-encoding">Specifying stations’ encoding</a>).</p></li>
1674
1691
<li><p>The fourth column will set an <strong>Icon URL</strong>, to be used when displaying <ahref="#desktop-notifications">Desktop Notifications</a>.</p></li>
1675
-
<li><p>The fifth column is the <strong>Profile</strong> to be used with this station.</p></li>
1692
+
<li><p>The fifth column is the <strong>Profile</strong> to be used with this station.<br/>
1693
+
<br/>
1694
+
If a profile is set for the station, a “<strong>[P]</strong>” will be displayed at the left top corner of the window when the station starts playing.</p></li>
1676
1695
<li><p>The sixth column will determine whether <strong>Buffering</strong> will be used (more on this at <ahref="#buffering">Buffering</a>).</p></li>
1677
1696
<li><p>The seventh column will determine whether the station will be forced to be using <strong>http</strong> instead of https (more on this at <ahref="#player-connection-protocol">Player connection protocol</a>).</p></li>
1678
-
<li><p>The eight column defines the <strong>Volume</strong> value to be used.</p></li>
1697
+
<li><p>The eight column defines the <strong>Volume</strong> value to be used (more on this at <ahref="#station-volume">Station volume</a>).</p></li>
1679
1698
<li><p>The last column will define the <strong>Referer</strong> to be used (more on this at <ahref="#specifying-a-stations-referer-url">Specifying a station’s Referer URL</a>).</p></li>
1680
1699
</ul>
1681
1700
<p>The following table presents the <strong>Station’s fields</strong> and the current level of support.</p>
<td><strong>No</strong> for <em>MPV</em> and <em>MPlayer</em></td>
1752
+
<td>0.9.3.11.10</td>
1734
1753
<td>0.9.3.11.5</td>
1735
1754
</tr>
1736
1755
<tr>
1737
1756
<td>Referer URL</td>
1738
1757
<td><0.9.3.11.5</td>
1739
-
<td><strong>No</strong><br>Using a referer file</td>
1758
+
<td>0.9.3.11.10</td>
1740
1759
</tr>
1741
1760
</tbody>
1742
1761
</table>
@@ -2056,6 +2075,22 @@ <h3 id="vlc">VLC</h3>
2056
2075
<p>In the past, <strong>VLC</strong> would just use any volume setting it had saved from a previous execution, but now it is possible to save the volume it will use when executed by <strong>PyRadio</strong>.</p>
2057
2076
<p>This means that <strong>VLC</strong> will start and connect to a station, use whatever volume level it’s stored for it and then <strong>PyRadio</strong> will reset the volume to the desired one (as saved within <strong>PyRadio</strong>).</p>
2058
2077
<p>The volume will be saved is a file called <em>vlc.conf</em> and reside withing the <em>data</em> directory, inside <strong>PyRadio</strong>’s configuration folder.</p>
2078
+
<h2id="station-volume">Station volume <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></span></h2>
2079
+
<p>Stations in a playlist can come from various sources, each with its own default volume level. This often results in inconsistent playback volume, forcing the user to adjust <strong>PyRadio</strong>’s volume every time a new station starts.</p>
2080
+
<p>While using a volume normalization tool could solve this, it may not always be desirable or feasible.</p>
2081
+
<p><strong>PyRadio</strong> offers a better alternative: <em>station volume</em>.</p>
2082
+
<p>With this feature, each station can have a specific volume value saved along with its name and URL. When the station is played, that volume is automatically applied.</p>
2083
+
<p>Though the user needs to manually set and save the ideal volume for each station (based on their own audio setup), this provides a consistent and reliable solution over time.</p>
2084
+
<p>To set a station’s volume, start playing it, adjust the volume to the desired level, and press “<strong>\v</strong>”. This will silently save the updated volume to the playlist on disk.</p>
2085
+
<p>If you want to temporarily ignore all station volume settings, press “<strong>\V</strong>”. This will disable volume overrides for the current session only; the setting will reset the next time <strong>PyRadio</strong> is launched.</p>
2086
+
<p>When a station’s volume setting is active, a “<strong>[V]</strong>” indicator appears in the top-left corner of the window. If station volume has been disabled, you’ll see “<strong>[v]</strong>” instead. This is illustrated in the image below:</p>
2087
+
<p><ahref="https://members.hellug.gr/sng/pyradio/station-volume.png" target="_blank"><imgstyle="width: 512px" src="https://members.hellug.gr/sng/pyradio/station-volume.png" alt="PyRadio Station Volume" /></a></p>
2088
+
2089
+
<h3id="how-it-works">How it Works</h3>
2090
+
<p>Both <strong>MPV</strong> and <strong>MPlayer</strong> use <em>profiles</em> to configure playback options.</p>
2091
+
<p>When station volume is enabled, <strong>PyRadio</strong> creates a temporary profile named <strong>pyradio-volume</strong> by copying the selected base profile. It then updates the volume field in this profile to match the station’s saved volume. This custom profile is then used to launch the player.</p>
2092
+
<p>Naturally, this means the player’s user configuration file must be read, parsed, modified, and saved — which may introduce a slight delay, particularly on slower systems.</p>
2093
+
<p><strong>VLC</strong>, on the other hand, does not support profiles. In this case, <strong>PyRadio</strong> simply applies the station’s volume directly, overriding the global volume setting.</p>
2059
2094
<h2id="buffering">Buffering <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></span></h2>
2060
2095
<p><strong>PyRadio</strong> provides stream buffering options for all supported players.</p>
2061
2096
<p>Please refer to this document for more info: <ahref="buffering.html">PyRadio Buffering</a>.</p>
Copy file name to clipboardExpand all lines: docs/index.md
+47-13Lines changed: 47 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,8 @@ Command line internet radio player.
50
50
*[MPV](#mpv)
51
51
*[MPlayer](#mplayer)
52
52
*[VLC](#vlc)
53
+
*[Station volume](#station-volume)
54
+
*[How it Works](#how-it-works)
53
55
*[Buffering](#buffering)
54
56
*[Displaying Station Info](#displaying-station-info)
55
57
*[Copying and pasting - Registers](#copying-and-pasting---registers)
@@ -424,29 +426,31 @@ Optionally, a number of more columns can be used.
424
426
425
427
- The fourth column will set an **Icon URL**, to be used when displaying [Desktop Notifications](#desktop-notifications).
426
428
427
-
- The fifth column is the **Profile** to be used with this station.
429
+
- The fifth column is the **Profile** to be used with this station. \
430
+
\
431
+
If a profile is set for the station, a "**[P]**" will be displayed at the left top corner of the window when the station starts playing.
428
432
429
433
- The sixth column will determine whether **Buffering** will be used (more on this at [Buffering](#buffering)).
430
434
431
435
- The seventh column will determine whether the station will be forced to be using **http** instead of https (more on this at [Player connection protocol](#player-connection-protocol)).
432
436
433
-
- The eight column defines the **Volume** value to be used.
437
+
- The eight column defines the **Volume** value to be used (more on this at [Station volume](#station-volume)).
434
438
435
439
- The last column will define the **Referer** to be used (more on this at [Specifying a station's Referer URL](#specifying-a-stations-referer-url)).
436
440
437
441
The following table presents the **Station's fields** and the current level of support.
438
442
439
-
| Station Field | Takes Effect in Playlist | Customizable in Program|
**PyRadio** will by default load the user's stations file (e.g. *~/.config/pyradio/stations.csv*) to read the stations from. If this file is not found, it will be created and populated with a default set of stations.
@@ -915,6 +919,36 @@ This means that **VLC** will start and connect to a station, use whatever volume
915
919
916
920
The volume will be saved is a file called *vlc.conf* and reside withing the *data* directory, inside **PyRadio**'s configuration folder.
917
921
922
+
## Station volume
923
+
924
+
Stations in a playlist can come from various sources, each with its own default volume level. This often results in inconsistent playback volume, forcing the user to adjust **PyRadio**'s volume every time a new station starts.
925
+
926
+
While using a volume normalization tool could solve this, it may not always be desirable or feasible.
927
+
928
+
**PyRadio** offers a better alternative: *station volume*.
929
+
930
+
With this feature, each station can have a specific volume value saved along with its name and URL. When the station is played, that volume is automatically applied.
931
+
932
+
Though the user needs to manually set and save the ideal volume for each station (based on their own audio setup), this provides a consistent and reliable solution over time.
933
+
934
+
To set a station’s volume, start playing it, adjust the volume to the desired level, and press "**\\v**". This will silently save the updated volume to the playlist on disk.
935
+
936
+
If you want to temporarily ignore all station volume settings, press "**\\V**". This will disable volume overrides for the current session only; the setting will reset the next time **PyRadio** is launched.
937
+
938
+
When a station’s volume setting is active, a "**[V]**" indicator appears in the top-left corner of the window. If station volume has been disabled, you’ll see "**[v]**" instead. This is illustrated in the image below:
939
+
940
+

941
+
942
+
### How it Works
943
+
944
+
Both **MPV** and **MPlayer** use *profiles* to configure playback options.
945
+
946
+
When station volume is enabled, **PyRadio** creates a temporary profile named **pyradio-volume** by copying the selected base profile. It then updates the volume field in this profile to match the station’s saved volume. This custom profile is then used to launch the player.
947
+
948
+
Naturally, this means the player’s user configuration file must be read, parsed, modified, and saved — which may introduce a slight delay, particularly on slower systems.
949
+
950
+
**VLC**, on the other hand, does not support profiles. In this case, **PyRadio** simply applies the station’s volume directly, overriding the global volume setting.
951
+
918
952
## Buffering
919
953
920
954
**PyRadio** provides stream buffering options for all supported players.
0 commit comments