Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
-
Rava
- Contributor
- Posts: 5416
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#16
by Rava » 13 Aug 2021, 09:08
Tried some stations, but none worked.
After selecting a station I get this screen
Code: Select all
PMRP -> Classical -> Classical Ways :
Press [Space] to pause : Press [Q] to stop
Playlist :
and then it switches back to the station select.
Seems I need to tweak the code to get the error message (But unlike the
other script, the code is kind of complicated.). Maybe it can be debugged.
When a station works it looks like this:
Code: Select all
PMRP -> Classical -> Classical Ways :
Press [Space] to pause : Press [Q] to stop
Playlist :
HiGhMaS - Old Sound Mix Up
Anitek - Circadian
Cheers!
Yours Rava
Rava
-
beny
- Full of knowledge
- Posts: 2098
- Joined: 02 Jan 2011, 11:33
- Location: italy
Post#17
by beny » 13 Aug 2021, 10:23
hi work:
PMRP -> 181FM -> Country -> Kickin' Country :
Press [Space] to pause : Press [Q] to stop
Playlist :
Lee Brice - Memory I Dont Mess With
Listen.FM - Listen.FM
181.FM - THIS STATION WILL CONTINUE AFTER THIS BREAK
181.FM - THIS STATION WILL CONTINUE AFTER THIS BREAK
Kickin
Kountry@Listen.FM - Rejoin 5
Keith Urban - Who Wouldnt Wanna Be Me (Radio Edit) we need mpg123 to work
beny
-
Rava
- Contributor
- Posts: 5416
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#18
by Rava » 08 Sep 2022, 02:39
^
Nice, you get the raw code via
https://raw.githubusercontent.com/haker ... aster/pmrp
Some stations won't work, nothing is displayed and the mentioned "q" key won't work either. But Ctrl + C does, it takes you back to the "select station" part.
Added in 7 minutes 35 seconds:
According to XFCE Volume Control the script uses mpg123 … and according to man mpg123 there is no interactive way to adjust the volume via keys (like 9 and 0 do for ffplay):
Code: Select all
guest@porteus:/$ man mpg123|grep -C 2 vol
--rva-mix, --rva-radio
Enable RVA (relative volume adjustment) using the values stored
for ReplayGain radio mode / mix mode with all tracks roughly
equal loudness. The first valid information found in ID3V2 Tags
--
--rva-album, --rva-audiophile
Enable RVA (relative volume adjustment) using the values stored
for ReplayGain audiophile mode / album mode with usually the ef‐
fect of adjusting album loudness but keeping relative loudness
--
100=085
set volume and the RVA-modified effective volume after the equal
sign
I had to use XFCE Volume Control instead.
But hey, it calls itself
Poor Man's Radio Player
Added in 9 minutes 55 seconds:
Some stuff I learned browsing
https://github.com/hakerdefo/pmrp/issues
When adding stations
aac is not supported -
https://github.com/hakerdefo/pmrp/issues/10
https is not supported -
https://github.com/hakerdefo/pmrp/issues/6 - replace https in the URL with http
Added in 3 minutes 52 seconds:
To test if a new URL works, just run mpg123 URL is a separate terminal like so
Code: Select all
mpg123 http://orfeyfm.hostingradio.ru:8034/orfeyfm128.mp3
Cheers!
Yours Rava
Rava