Software : : WebRadio.sbar
Posted By: igracki. on 2019/7/25 14:53:36
A screen titlebar plug-in class to listen to internet radio stations streaming using ShoutCast protocol in MPEG audio format (usually MP3, MPEG-1 Layer III) *Note* that it cannot decode other stream formats like Ogg Vorbis, WMA or AAC+

It's based on CgmRadio v2.0 from Grzegorz Kraszewski. Thanks Krashan!

If you click on the WebRadio icon in the screenbar, you can choose to start audio streaming/playing by selecting a station from the pop-up menu.

You can also record the current station you are listening to by selecting the "Record" option from the pop-up menu.

Legal Notice: It is advised that you ONLY RECORD streams if this is allowed!

It's also possible to stop playing or play another radio station while still recording that initial stream!

The path where the recorded stream is saved to, can be changed in the screen titlebar settings (right-click on the top-right screen depth-gadget, select Preferences or Settings). The default path is RAM:.

There is a default radio station list to get you started, which you can edit by choosing the option "Edit Stations" from the pop-up menu item.

Selecting the "Stream info" menu item opens a window with information about the current radio stream.


INSTALLATION: Just copy the contents from the "SYS" folder to your SYS: partition manually, or execute/double-click the "Install" icon file to do this.

Then by right mouse-clicking in the top-right screen depth-gadget, select the option Modules>Rescan or just reboot your system. Note: This is only needed if you install by hand!


WEB:  Please visit http://www.igracki.de to checkout my other software and/or make a donation.


THANKS TO:

- Neil Pearson for proof-reading and testing
- jPV for disclaimer text;)


DISCLAIMER:
This software is made available to you as Freeware and you may use it in whatever way you wish, but the author accepts no liability for any damage caused to your system or other connected peripherals by using this software.
 
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Joined: 2003/2/24
    Posts: 2090
    From: po-RNO
    Good to see this out!

    Couple small things to nitpick ;)

    The sbar graphics it too tall, at least on my setup. There isn't any pixels space around it vertically, and it almost looks like it's outside the screen titlebar (screenshot).

    And then it said that there's a new version available, but clicking the about button tells that I have the latest version installed.

    But otherwise it seems to work fine with a quick test \o/

    BTW. thanks to Neil Pearson for the disclaimer text :P
  • »2019/7/25 15:43
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Joined: 2003/2/24
    Posts: 413
    From: Berlin
    Quote:

    Good to see this out!

    Couple small things to nitpick ;)

    No problem! Give it to me;)

    Quote:


    The sbar graphics it too tall, at least on my setup. There isn't any pixels space around it vertically, and it almost looks like it's outside the screen titlebar (screenshot).

    I'm using the 20 pixels height image if the barheight is >= 20, so maybe you have a screenbar with exactly 20 pixels height?
    I could reduced the icon by 1 pixel.

    Quote:


    And then it said that there's a new version available, but clicking the about button tells that I have the latest version installed.

    Strange, yesterday I downloaded and installed the archive from my homepage (which is the same as on morphos-storage) on my PowerBook. No Update bubble here!?

    Quote:


    But otherwise it seems to work fine with a quick test \o/

    BTW. thanks to Neil Pearson for the disclaimer text :P

    Oh, I thought you wrote it, I will change it.
  • »2019/7/26 12:04
    Profile Visit Website
  • jPV
  • Yokemate of Keyboards
    Yokemate of Keyboards
    jPV
    Joined: 2003/2/24
    Posts: 2090
    From: po-RNO
    Quote:

    I'm using the 20 pixels height image if the barheight is >= 20, so maybe you have a screenbar with exactly 20 pixels height?
    I could reduced the icon by 1 pixel.

    Yeah, my screenbar seems to be exactly 20 pixels.

    Quote:

    Strange, yesterday I downloaded and installed the archive from my homepage (which is the same as on morphos-storage) on my PowerBook. No Update bubble here!?

    I also downloaded it from your homepage, copied the files manually to SYS: (no prior installation), enabled the plugin... and I think I started playback and opened the screenbar settings window to look there and then the update bubble was telling it, and then I clicked the update button as it was already visible there... but who knows, doesn't happen now when I tried a bit with the already installed plugin.

    Quote:

    Oh, I thought you wrote it, I will change it.

    That particular disclaimer part in my readmes was suggested by Neil, although I didn't use the full text he gave me years ago, but cutted it down a bit, but basically it's his words :)
  • »2019/7/26 15:29
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    NewSense
    Joined: 2012/11/10
    Posts: 1513
    From: Manchester, UK/GB
    Online!
    This is a great release, and a really neat way of listening to live radio on MorphOS, though it's pity that it can't handle Ogg Vorbis, AAC+ and WMA files as well, but this is one of the limitations of CgmRadio I believe. Maybe v3 of CgmRadio will include those options as CgmRadio seems to be coming of age, and very useful, thanks of course to Krashan, Thomas Igracki, and not forgetting jPV with RNORadio as well - thanks go to all concerned. ;-)

    Let's hope that WebRadio also gets included in the players supported by RNOInfoScreen in the near future. 8-)

    I found it a little tricky with WebRadio getting the website address that would allow me to download the .mp3 audio from UK stations, and often had to extract the web-address (URL) via somewhat 'exotic' means, namely using MPlayer and when the console opened it showed the actual downloadable address for a specific radio channel, but once this had been imported I could then access the channel quite easily.

    Also, by that means I could often access the radio station's logo which I could download and then resize or change image format to suit my own needs to show on the default radio channel list I edited using the plethora of image software already available on MorphOS, such as Showcase/Showgirls, Sketch, RNOEffects, ImageFX, etc..

    I often used the UK mp3 website radio station list, other users, who speak a different language may prefer to use some other website to 'extract' the web-address from for a suitable radio station.

    This is a great little screenbar, with the option to record audio - as long as that's allowed. ;-)
    MacMini 1.5GHz,64MB VRAM, PowerBooks A1138/9 (Model 5,8/9),PowerMac G5 2.3GHz(DP), iMac A1145 2.1GHz 20", all with MorphOS v3.18+,Airport,Bluetooth,A1016 Keyboard,T-RB22 Mouse,DVD-RW-DL,MiniMax,Firewire/USB2 & MacOSX 10.4/5
  • »2019/7/27 2:33
    Profile
  • Andreas_Wolf
    Joined: 2003/5/22
    Posts: 12146
    From: Germany
    > Maybe v3 of CgmRadio will include those options
    > as CgmRadio seems to be coming of age

    Indeed, Krashan is sorely missed from MorphOS development.
  • »2019/7/30 10:07
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    BatteMan
    Joined: 2003/2/24
    Posts: 285
    From: France
    Thomas : First of all, thank you for this great sbar, I like very much ! Thank you !

    A friend of mine, and myself, have the same bug with WebRadio.
    Webradio freeze our MorphOS 3.11 when we switch quickly between differents radios (or maybe it's after numerous switchs).

    Hope you can reproduce it and maybe correct it in a future version.

    --
    /me is a sbar's lover ^^

    [ Edited by BatteMan On 2019/7/31 3:37 ]
    Proud user of MorphOS since 2003 !
  • »2019/7/30 20:48
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    NewSense
    Joined: 2012/11/10
    Posts: 1513
    From: Manchester, UK/GB
    Online!
    It may be that you have stalled a "http.stream" task - if you run Task Manager via your system right mouse context menu or by accessing the files/drawers on your partition and run Task Manager you may see if there is a http.stream task which needs a right mouse button menu opening to force a "Break All" command which may release the process and get your system back working.

    It may be that the screenbar has become inactive due to this problem, which should resolve it - if the whole system hasn't frozen, which when I was testing I had a few "http.stream" process issues, usually with ADSL/Broadband drop-outs, and this may be a similar circumstance, which needs this issue addressing.

    Obviously it could be a total lock-up, but the program ran OK for me, and I never had that issue, but then I didn't keep loading a radio station and then another radio station straight after the first one, and then another or whatever you are doing to cause this issue, but I have a feeling it is just the screenbar that has become inactive, and not the whole system, but releasing the http.stream process with the "Break All" option should re-activate the whole screenbar menu system.

    Give it a try if you can, and report back here, unless Thomas Igracki contacts you with other suggestions in the meantime. 8-)
    MacMini 1.5GHz,64MB VRAM, PowerBooks A1138/9 (Model 5,8/9),PowerMac G5 2.3GHz(DP), iMac A1145 2.1GHz 20", all with MorphOS v3.18+,Airport,Bluetooth,A1016 Keyboard,T-RB22 Mouse,DVD-RW-DL,MiniMax,Firewire/USB2 & MacOSX 10.4/5
  • »2019/7/30 22:42
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Joined: 2003/2/24
    Posts: 413
    From: Berlin
    @all:

    I have released an update which should fix the mouse-freeze bug.
    Please update to v1.6.

    BTW, the "Download & Update" option from the Update-Req fails to install the new update (a fixed script is in the new archive!) but you can install it from the downloaded archive in ram:!
  • »2019/7/31 8:13
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    BatteMan
    Joined: 2003/2/24
    Posts: 285
    From: France
    Thanks, I'll test tonight !
    Proud user of MorphOS since 2003 !
  • »2019/7/31 9:37
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    BatteMan
    Joined: 2003/2/24
    Posts: 285
    From: France
    I made a good and long "stress test" and my mouse is still alive !

    Thank you, very much ! ;)
    Proud user of MorphOS since 2003 !
  • »2019/7/31 20:37
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    NewSense
    Joined: 2012/11/10
    Posts: 1513
    From: Manchester, UK/GB
    Online!
    Don't forget to update to v1.7 [EDITED], er .... WebRadio v1.8 is the latest - for the moment! as Thomas Igracki has released another update for his WebRadio - thanks yet again, and again Thomas

    By the way, this time I used the update option from the Screenbar Settings, the update downloaded (v1.8) and unarchived the files, however the WebRadio v1.8 screenbar files were not installed using the "Bit-Rocky" Installer, as there seems to be just the slightest error in the syntax, as this is the message I got when it failed to install the v1.8 update .....

    SYS/ - device (or volume) is not mounted

    I think it's fairly obvious where the installation failed, if I'm reading it correctly. 8-) or should I have written :-/

    [ Edited by NewSense On 2019/8/3 8:16 ]
    MacMini 1.5GHz,64MB VRAM, PowerBooks A1138/9 (Model 5,8/9),PowerMac G5 2.3GHz(DP), iMac A1145 2.1GHz 20", all with MorphOS v3.18+,Airport,Bluetooth,A1016 Keyboard,T-RB22 Mouse,DVD-RW-DL,MiniMax,Firewire/USB2 & MacOSX 10.4/5
  • »2019/8/2 15:11
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Debaser
    Joined: 2005/7/12
    Posts: 161
    From: Syracuse, NY, USA
    Fantastic little sbar! Thank you. Donation sent.
  • »2019/9/4 13:48
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Joined: 2003/2/24
    Posts: 413
    From: Berlin
    Thank you!
  • »2019/9/4 18:44
    Profile Visit Website