AminetAminet
Search:
82841 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/wb/WebRadio_sbar.lha

Mirror:Random
Showing:ppc-morphosgeneric
No screenshot available
Short:A sbar plugin to listen to WebRadios
Author:Thomas Igracki
Uploader:Thomas Igracki de
Type:util/wb
Version:1.10
Architecture:ppc-morphos
Distribution:Aminet
Kurz:Ein sbar Plugin zum Anh?ren von WebRadios
Date:2019-10-02
Download:http://aminet.net/util/wb/WebRadio_sbar.lha - View contents
Readme:http://aminet.net/util/wb/WebRadio_sbar.readme
Downloads:304
 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.

 ** Legality 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.
 By opening the Title's popup-list and pressing the right mouse button a
 context menu opens where you can search for the selected title on the web
 (https://www.invidio.us) with your standard browser or clear the list.
 Or just click the Title gadget itself to search for the current title.
 


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.


HISTORY:
========
02-Okt-2019, v1.10
  new: now you can also click the Title gadget in the StreamInfo window to open
the        browser and search for the current title in www.invidio.us   chg: the
Update button and the HTTP-Header listview can now dissappear, if the       
window gets too small, this is usefull if you only want to see the 	   Listening
(and Recording) group   fix: reloading the screenbar in the Install script now
works with MorphOS 3.12

01-Okt-2019, v1.9
  new: added a context menu to the titles list in the StreamInfo window, to open
       the browser and search for the selected title in www.invidio.us   chg:
removed the ClearList ("x") button in the StreamInfo window, and added        a
"Clear list" entry to the new context menu

12-Aug-2019
  fix: if the recording stoped, the sbar icon was showing the wrong state
(recording)

03-Aug-2019, v1.8
  fix: forgot to put the fixed downloader script into the archive   new: the
bufferlevel of the playing stream is now displayed in the StreamInfo window  
fix: update the StreamInfo window if you start/stop recording   fix: removed the
text gadgets in the StreamInfo window from the cycle-chain   new: added a
UpdateCheck menuitem

02-Aug-2019, v1.7
  new: udpate the title in the StreamInfo window if the title changes   new:
update the StreamInfo window if you switch the station   fix: fixed a hit if you
switch a station or close a screen, if you had the        StreamInfo window
opened before   chg: the Title gadget in the StreamInfo window is now a poplist
which contains        all played titles

31-Jul-2019, v1.6
  fix: (hopefully) fixed the mouse-freeze bug if you switch the channel, while  
     the "Listening to..." bubble is open, by closing the bubble before 	  
opening the popup-menu   chg: while connecting to a station all menuitems will
be disabled   chg: the 20 pixels sbar icon now has one empty line at the bottom,
this looks better        if the screenbar is exactly 20 pixels height

24-Jul-2019, v1.5
  chg: getting the recorded filesize is now done with Dos.Examine64(), because  
     MMA_OutputBytes can take several seconds! 	   this fixes the delay while
recording and you want to display the shorthelp 	   or update the stream infos
in the StreamInfo window   fix: removing the sbar while the "Listening to"
bubble is open, doesn't crash anymore

21-Jul-2019, v1.4
  fix: the prefs page had a fixed width
  chg: the New-Version-Bubble now shows "WebRadio.sbar" in the first line
  fix: the "Listening to.." bubble now appears on the current screen
  fix: fixed two "dead obj in pushstack" log msgs on cleanup
  chg: the shorthelp now shows if there is a new version available

15-Jul-2019, v1.3
  fix: fixed some deadlock when changing the radio station
  new: 60 seconds after startup a UpdateCheck is done

10-Jul-2019, v1.2
  chg: changed again some internals to handle lost of internet connection while
playing        seems to be working now!

02-Jul-2019
  chg: changed again some internals to handle lost of internet connection while
playing        still not finished yet

01-Jul-2019
  fix: changed some internals to prevent hanging of the screenbar if you are
going        offline while playing a stream        [xx-Jun-19: reported by Neil
Pearson]

30-Jun-2019
  new: added infos about the current station/state/metatitle in the StreamInfo
window   new: added showing of recording infos in the StreamInfo window   chg:
changing to a new state (play, stop, rec) is now "animated"

02-Jun-2019
  chg: there is now only one bubble at a time visible, no more overlapping
bubbles        only the "Listening to .." bubble can coexist

06-Mai-2019
  fix: stopping of the recording stream wasn't recognized, if the you are not
       listening to any station
  fix: convert any ":" or "/" in station's name to "_"

01-Mai-2019
  fix: the recording bubbles were only shown on the first screen not the current
       and so the color of sbar icon wasn't refreshed correctly on other screens
       Note: it could still occur that the color stays green (until next redraw
of        the sbar icon), if you switch the screen after you stopped recording
but        before recording really stopped!        Just force a redraw by f.e.
clicking on it, switching screen or so.
  new: if a word in metainfo-title has two successive uppercase chars, convert  
     the rest of the word to lower case (Berliner Rundfunk uses all upper case
chars!)

26-Apr-2019
  chg: changed the way to recognize if the record-stream stopped (faster)
  chg: now check every 3 seconds for a new metainfo

21-Apr-2019
  fix: this sbar should be now more robust, when closing screens while playing
       or recording

16-Apr-2019
  fix: if you change the station, but the new station fails to play, the color
       of the icon wasn't correct
  chg: checking metainfo and testing if the playing/recording stream stopped
       is now done in a slave object, so it doesn't blocks the screenbar
       because checking if the recorded stream stopped takes several seconds
  chg: starting/stoping the recording stream is now done in a slave object, so
       it doesn't blocks the screenbar

15-Apr-2019
  fix: the detection if the recording stream stopped didn't worked   chg: the
format of the date in the recorded filename is now "dd-mm-yy",        because
f.e. in the UK, the date format is "dd/mm/yyyy", and "/" isn't        allowed in
filenames        [15-Apr-19: reported by Neil Pearson]

14-Apr-2019, bumped to v1.0
  chg: the format of the date in the recorded filename is now the default for
       your locale, not (yy-mmm-dd)
  new: while recording, the ShortHelp now shows the time the recording started
  chg: changed the way to retrieve the MetaInfo
  new: while recording, the ShortHelp shows the filesize of a recorded stream
  new: recognises if the playing or recording stream has stopped

11-Apr-2019
  new: added a prefs item to en-/disable display of the metatitle
  chg: removed the ID3tag.demuxer object, as MMETA_TITLE is now available from
       shoutcast.demuxer
  fix: if you change the name of the currently playing station and then press
       "Apply", the menu item of that station wasn't then disabled

10-Apr-2019
  new: added two prefs items to enable changing the colour of the icon while
       playing and recording

09-Apr-2019
  chg: the "Stream Buffer n" task is renamed to "WebRadio Play StreamBuffer"  
chg: the "Audio Output n" task is renamed to "WebRadio AudioOutput"   chg: the
"Stream Buffer n" task for recording is renamed to        "WebRadio Rec
StreamBuffer"   chg: the "File Output n" task for recording is renamed to       
"WebRadio Rec FileOutput"   chg: raised the "Stream Buffer" tasks priority from
0 to 1
      (proposed in the autodocs for realtime buffering)
  chg: raised the "File Output" tasks priority from -1 to 1
      (proposed in the autodocs for realtime buffering)
  fix: global current metatitle is reset when changing to a new radio station
  new: the Name sting gadget is activated after pressing the "New" button
  fix: forgot to dispose of the Play objects after stopping, which is not so 
       problematic, as they were disposed at the end or when playing restarted
  fix: if you remove the sbar while metaTitle bubble is open, it wasn't closed
 
07-Apr-2019
 - new: A check every 5 seconds is done to find if a new MMETA_Title is in the
   stream, if yes it is shown in a "bubble"
 - fix: the MetaTitle bubble will be shown on the current screen
 - chg: the current MetaTitle is now also shown in the ShortHelp bubble
 - chg: the filename of the recorded stream now gets the time and date appended

06-Apr-2019
 - chg: the list entries of the StationsList are now changed while typing not
   only after pressing RETURN
 - new: the Shorthelp bubble now shows which station you are listening to and
   also from which station you are recording.

05-Apr-2019
 - new: added a id3tag.demuxer object to the pipe, but it seems so that the
   shoutcast.demuxer has the same MetaData!?

04-Apr-2019
 - fix: the Shorthelp-bubble of my sbar is now the same an all screens
 - fix: the sbar image on all screens is now recolored if the state has changed
   (stopped/playing/recording), not only on the active screen

03/04-Apr-2019, bumped to v0.9
 - new: added recording of the station you are currently listening to!  - new:
added a prefs item for choosing the path where the recordings are saved,    the
filename is the name of the radio station  - new: while playing the titlebar
image is green!  - new: while recording the titlebar image is red!

05-Dec-2018
 - new: the station-list is now drag sortable
 - fix: the string gagdets are disabled if no station is selected

28-Sep-2018
 - the screenbar image is now automatically converted to negative, if the
   background is dark

19-Aug-2018
 - changed column order in the Edit Stations listview, now "Name, Icon, Stream" 
- the value for the attr "ice-audio-info" seems to be a little different than   
for "icy-audio-info", I use this template now "ice-channels=channels/A/K/N,   
ice-samplerate=samplerate/A/K/N,ice-bitrate=bitrate/A/K/N"  - if there is no
"ic(e|y)-audio-info" attr, use "icy-br" and "icy-sr" for the    "connected"
bubble  - delete the "connected" bubble before showing the "connecting" bubble 
- added a StreamInfo window, to show some icy attributes of the playing song

17-Aug-2018
 - A "connected" bubble is displayed with the name of the station, samplerate,  
 bitrate, and number of channels!

15-Aug-2018, bumped to v0.5
 - "New" doesn't add the new entry AFTER the current or at the end if there is  
  no entry selected  - the new entry will be selected  -
MM_WebRadio_StationsSave now saves the entries from the listview NOT the   
internal stations!  - added "Apply" button to re-create the pop-up menu and
internal stations list

...
08-Jul-2018
 - put the Channels prefs in its own window, not in SBar prefs - not finished!

10-Jun-2018
 - added showing a bubble while connecting

28-Mai-2018
 - added some gfx for the sbar (sys:Data/Screenbar/NetRadio/NetRadio_xx.png)
 - added (hardcoded) support for the station image in the pop-up menu
   (sys:Data/Screenbar/NetRadio/StationIcon/xxx.png)

..

xx-May-2018
 - started to merge example_sbar.c and cgmRadio.c into NetRadio.sbar


Contents of util/wb/WebRadio_sbar.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  573    1031  55.6% -lh5- 2795 Oct  2 16:18 WebRadio_sbar/Install
[generic]                16036   16040 100.0% -lh5- a4ad Jan 11  2019 WebRadio_sbar/Install.info
[generic]                39864  125064  31.9% -lh5- f136 Oct  2 22:31 WebRadio_sbar/SYS/Classes/Screenbar/WebRadio.sbar
[generic]                  393     734  53.5% -lh5- 830c Aug  2 14:26 WebRadio_sbar/SYS/Data/bitRocky_Downloader
[generic]                  447     447 100.0% -lh0- 8200 May 28  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/16/WebRadio.png
[generic]                  499     499 100.0% -lh0- d5d9 Jul 27 22:50 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/20/WebRadio.png
[generic]                 1089    1089 100.0% -lh0- cc1d May 28  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/Prefs.png
[generic]                 1576    1576 100.0% -lh0- dd75 Jun 10  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/943rs2.png
[generic]                 1755    1755 100.0% -lh0- 99e6 Jun  6  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/943rs2_.png
[generic]                 1036    1036 100.0% -lh0- 42e7 Jun 10  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/BerlinerRundfunk.png
[generic]                 1860    1860 100.0% -lh0- 3053 Dec  5  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/bigFM.png
[generic]                 1202    1202 100.0% -lh0- a865 Oct 21  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/ChartHits.png
[generic]                 1382    1382 100.0% -lh0- 1152 Apr  2  2019 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/DM247.png
[generic]                 1135    1135 100.0% -lh0- ca86 Jun 10  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/Fritz.png
[generic]                 1053    1053 100.0% -lh0- 0798 Nov 23  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/Hits4You.png
[generic]                 1691    1691 100.0% -lh0- 1304 Nov 23  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/ModFM.png
[generic]                 4105    4105 100.0% -lh0- bd34 Apr  5  2019 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/Nectarine.png
[generic]                 1106    1106 100.0% -lh0- dfb3 Aug 13  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/Radio1.png
[generic]                 1646    1646 100.0% -lh0- 0cd2 Jun  9  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/RadioParadiso.png
[generic]                 1757    1757 100.0% -lh0- 4f5f Dec  5  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/TopCharts.png
[generic]                    0       0 100.0% -lh0- 0000 Nov 23  2018 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/StationIcons/_32x20
[generic]                  514    1271  40.4% -lh5- 50c5 May  5 15:18 WebRadio_sbar/SYS/Data/Screenbar/WebRadio/Stations_default.txt
[generic]                 4864   12885  37.7% -lh5- 6cad Oct  2 22:28 WebRadio_sbar/WebRadio_sbar.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        23 files   85583  180364  47.5%            Oct  2 20:47

Aminet © 1992-2019 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>