Welcome, Guest | Home | Search | Login | Register
Author A music stream player running on 68k ? (Read 91305 times)
MTT
256 MB
*****
Posts: 394
SSW7 Oldtimer
View Profile
Reply #30 on: February 16, 2023, 05:13

I've been looking into MpegDec and Radio streaming.

There isn't any need to create lists when dealing with radio stations. A list of clickable radio channels shows up (in the player's window) as:

• Streaming pls
• Streaming pls
• Streaming pls
• Streaming pls <-- etc, etc,; if list was m3u it would show Streaming m3u

Which is pretty useless. And it depends on the radio channel to return its station name to display it in the MpegDec Title field, if at all.

It is better to create a single file per radio channel and give the file a name that is obvious as to what the channel is about. Just double-click and play, knowing which radio station you are going to listen to.

Another revelation (for me) was that you don't need to write FileList, NumberOfEntries, etc, etc, and save it as a .pls playlist, either.

This is a waste of time, too. All you need is the URL for the station and save the file, giving it some meaningful filename, and make the file type one that you can double-click to autoplay in MpegDec.

If you create a file using only the URL, MpegDec treats it as an m3u file, it shows Streaming m3u in the window bar at the top and • Streaming m3u in the List field of the player window. You can add the suffix .m3u to the file name if you wish, but it is not necessary if your file is made double-clickable in MpegDec, i.e.; has the Creator Type: JESW and the File Type: Plst

Anyway, for your listening pleasure (perhaps), I'm including fresh a bunch of stations that all play OK in MpegDec:

http://live-radio01.mediahubaustralia.com/2LRW/mp3/
#ABC - 702 ABC Sydney - news, current affairs, lifestyles
http://live-radio01.mediahubaustralia.com/2FMW/mp3/
#ABC - Classic 1
http://live-radio01.mediahubaustralia.com/FM2W/mp3/
#ABC - Classic 2
http://live-radio01.mediahubaustralia.com/CTRW/mp3/
#ABC - Country
http://live-radio01.mediahubaustralia.com/DJDW/mp3/
#ABC - DoubleJ - music
http://live-radio01.mediahubaustralia.com/GSDW/mp3/
#ABC - Grandstand 01 sport, news, music
http://live-radio02.mediahubaustralia.com/GSDW/mp3/
#ABC - Grandstand 02 sport, news, music
http://live-radio01.mediahubaustralia.com/JAZW/mp3/
#ABC - Jazz
http://live-radio01.mediahubaustralia.com/XTDW/mp3/
#ABC - Kids radio + classical music
http://live-radio01.mediahubaustralia.com/PBW/mp3/
#ABC - News
http://live-radio01.mediahubaustralia.com/2RNW/mp3/
#ABC - Radio National
http://live-radio01.mediahubaustralia.com/2TJW/mp3/
#ABC - TripleJ - music, culture
http://live-radio01.mediahubaustralia.com/UNEW/mp3/
#ABC - TripleJ Unearthed - music, culture
http://stream.live.vc.bbcmedia.co.uk/bbc_asian_network
#BBC - Asia - music, culture
http://stream.live.vc.bbcmedia.co.uk/bbc_1xtra
#BBC - Radio One Extra - music, UK regional, news
http://stream.live.vc.bbcmedia.co.uk/bbc_radio_four_extra
#BBC - Radio Four Extra - Educational, culture
http://stream.live.vc.bbcmedia.co.uk/bbc_radio_five_live_online_nonuk
#BBC - Radio Five - News, Sport, culture
http://radionz-ice.streamguys.com/concert.mp3
#RNZ - Concert channel
http://radionz-ice.streamguys.com/international.mp3
#RNZ - Regional Pacific, news, current affairs and culture
http://radionz-ice.streamguys.com/national.mp3
#RNZ - National, news, current affairs
There are four additional BBC channels not found in the previous list included in this thread.
ABC = Australian Broadcasting Corporation
RNZ = Radio New Zealand
The ABC Grandstand 01 and 02 channels appear to broadcast the same stream, so perhaps only one channel is needed there.

Last Edit: February 16, 2023, 05:22 by MTT
cantonjohn
16 MB
***
Posts: 26
System 7 Newcomer!
View Profile
Reply #31 on: June 18, 2023, 23:23

Disappointed that the BBC has discontinued many streams in the last few days. Of the old URLs, only the BBC World Service one works:

http://stream.live.vc.bbcmedia.co.uk/bbc_world_service

The new BBC format looks like this:

http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_med/ak/bbc_radio_one.m3u8

Which I can't get MpegDec to play. Any ideas how to get BBC streaming working again?

A list of streaming URLs is here:

https://gist.github.com/bpsib/67089b959e4fa898af69fea59ad74bc3
MTT
256 MB
*****
Posts: 394
SSW7 Oldtimer
View Profile
Reply #32 on: June 19, 2023, 01:51

@cantonjohn: That is very sad news indeed. :(
Shame on the BBC for removing something that wasn't broken.

Thank you for the github list, as I had not seen this one before.

Are you in the UK? If not, you might need to replace uk with nonuk in the URL where appropriate. The "nonuk" links may not be enabled yet.

At least this is what the hint on the github link alludes to.

Quote from: github:
   "# The above streams are restricted to the UK. For the international stream when available,
   # replace /uk/ with /nonuk/ and /sbr_med/ with /sbr_low/ or /sbr_vlow/.
   # Different bitrates are available by replacing /sbr_med/ :
   # /sbr_vlow/ = 48k /sbr_low/ = 96k
   # UK only: /sbr_med/ = 128k /sbr_high/ = 320k
"
The new links aren't working for me, yet. Hopefully, it's because I'm in Australia, and it's just a matter of time before "nonuk" begins to propagate. Otherwise...

[Edit] Oh bummer...

Those new BBC links do work for me, by changing /uk/ to /nonuk/ and /sbr_med/ to /sbr_low/ in the links.

But only works in a more recent radio player. MpegDec is out as far as I can tell... as is Audion, my other fave streaming radio player (in classic Mac OS)...

Rats. :P
Last Edit: June 19, 2023, 04:18 by MTT
MTT
256 MB
*****
Posts: 394
SSW7 Oldtimer
View Profile
Reply #33 on: June 19, 2023, 07:47

It gets worse:
Quote from: BBC's Sounds Help Page:
Why can I no longer listen to BBC live Radio (Shoutcast)?
https://www.bbc.co.uk/sounds/help/questions/recent-changes-to-bbc-sounds/shoutcast-closure

If you can no longer play BBC live radio on your internet radio device, it is likely it was using the Shoutcast streaming technology, which the BBC no longer supports. We will continue to support BBC live radio online using HLS and DASH streaming technologies which will be available to the BBC’s distribution partners.

Why did Shoutcast support end?
Shoutcast is an older streaming technology and many connected radio devices in the UK no longer use it for BBC streams. Ending support for Shoutcast will enable us to focus on the two most popular technologies currently used – HLS and DASH. This will allow us to understand more about how and where our content is consumed and will help us improve the services we offer to our listeners. Manufacturers and radio aggregators were notified of the changes in May 2022. We also played a message informing of the changes on all BBC Shoutcast streams since November last year.
It appears that the BBC has moved all radio streaming services to akamai which uses HLS and DASH protocols only. Moved all that is, except for the BBC World Service.

And as a consequence, all of our old streaming radio tools are dead to them.

Not nice at all for some end consumers (me & you & everyone who enjoy using older gear).

Last Edit: June 19, 2023, 07:57 by MTT
cantonjohn
16 MB
***
Posts: 26
System 7 Newcomer!
View Profile
Reply #34 on: June 19, 2023, 18:37

I can only hope some enterprising person will put a server up to convert the streams in real time.
Bolkonskij
Administrator
1024 MB
*****
Posts: 2023
View Profile Cornica - Video Entertainment for Mac OS users
Reply #35 on: June 19, 2023, 18:48

Did you write to the BBC? I don't think that will bring back those service (but who knows) but at least will let them know that they've lost a listener.

MikeTomTom nails it when calling it a bad habit to terminate a fully functioning service. At that point, why not offer either the old or the new standard optional? There's hardly any maintenance involved in keeping the old stream up, I rather assume simply ignorance towards anything that isn't shiny new stuff to be the factor. (I'm sorry if I'm wrong)

Yes, setting up a server that converts these streams back into something our System 7 Macs can handle is definitely within the realm of the possible I'd assume. I need to talk with Knezzen about this :-)
Last Edit: June 19, 2023, 18:49 by Bolkonskij
cantonjohn
16 MB
***
Posts: 26
System 7 Newcomer!
View Profile
Reply #36 on: June 19, 2023, 19:13

Someone has already made some re-streams, see the comments in the GitHub list. But with a maximum users of 200, it’s maxed out already…
Bolkonskij
Administrator
1024 MB
*****
Posts: 2023
View Profile Cornica - Video Entertainment for Mac OS users
Reply #37 on: June 19, 2023, 19:37

aha! sorry, I'm on Mac OS and unable to view Github. If the 200 users are maxed out already all the time, isn't that something the BBC should know? I mean, this is evidence they've been alienating their listeners for no apparent reason ?
MTT
256 MB
*****
Posts: 394
SSW7 Oldtimer
View Profile
Reply #38 on: June 20, 2023, 01:03

Unless that someone has the resources of the BBC to play with and is licensed to re-stream their content, I think that a BBC re-stream service will be an unlikely event.

Also a comment (re the 200 max stream content) made further down on the GitHub page:

Quote from: joeyboli comment Jun 19, 2023:
  > Thanks @joeyboli, and +1 request for 4 Extra. I think the World Service feed is still working, so could be re-purposed?

sorry had to kill it, so many negative comments about copyright whatsoever.
Now, I'm not sure by that, if he means he had to kill his BBC re-stream content, or was just killing the negative thread that was emerging in the comments section.

But, as I also haven't had any luck at connecting to joeyboli's 200 max re-streams...

Perhaps there would be more chance of re-streaming on a personal "as you go" level, like the link from there to the ice launcher project, alludes to.
https://github.com/jeremysanders/ice_launcher

Quote from: Ice Launcher project:
ice_launcher - Stream ffmpeg sources on demand for icecast2

Introduction
This project starts an ffmpeg process on demand and sends its output to icecast2, when the icecast stream is accessed by a listener. The aim of this project was to be able to convert a stream in HLS format (HTTP Live Streaming) to an icecast stream. This was to allow playing of an HLS stream to an older internet radio, when icecast support was dropped by a large UK media organisation. Ideally this conversion of the stream should happen on demand, in order not to waste CPU power or bandwidth, particularly as we would like to convert several different streams when accessed. Therefore this project listens to the icecast server and starts and stops the converting ffmpeg process as is needed.

At present the project only supports copying an input AAC stream to an icecast stream using ffmpeg. Please note that for this purposes, the project is only for personal use. If converting a copyrighted stream for general use, the owner should give permission. Contributions to extend the functionality are welcomed. This program is in an early state of development, so improvements are welcomed.

Requirements
    Python 3.3+
    Icecast 2
    ffmpeg

etc, etc,;
Perhaps... but it would also mean using a fairly recent computer to do this, and will certainly be an issue for System 7+
Last Edit: June 20, 2023, 01:13 by MTT
cballero
1024 MB
******
Posts: 1179
System 7, today and forever
View Profile
Reply #39 on: June 20, 2023, 09:16

Like so any legacy things that go by the wayside, the solution often becomes to use a personal server dedicated to the conversion of the discontinued service, in this case it means converting a modern audio stream to a compatible legacy one.. so slowly, our legacy systems are slowly becoming left behind and forgotten :(
Pages: 1 2 [3]

© 2021 System7Today.com.
The Apple Logo, Macintosh™, Mac OS™, and others property of Apple Computer, Inc.
This site is in no way affiliated with Apple Computer, Inc.