Anyone used Hollywood to play podcast?

Discuss any general programming issues here
Post Reply
Bugala
Posts: 1390
Joined: Sun Feb 14, 2010 7:11 pm

Anyone used Hollywood to play podcast?

Post by Bugala »

I was asked if I could make a podcast playing kind of app, so I started wondering how exactly is that done. I suppose Hollywood can at least download the mp3 file and do it that way, but is it possible to stream podcast in Hollywood?
User avatar
airsoftsoftwair
Posts: 5830
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Anyone used Hollywood to play podcast?

Post by airsoftsoftwair »

Might be possible when combining the HTTP Streamer plugin with the AVcodec plugin but I'm not sure if AVcodec's plugin tries to query the file size or seek to the end in which case it won't work with the HTTP Streamer plugin.
plouf
Posts: 666
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Anyone used Hollywood to play podcast?

Post by plouf »

Still almost everything is https these days (stupidy extensive use of "s" who cares to. Steal podacast stream ;-))

So anyway can avcodec combined with hurl ?
Christos
User avatar
Juan Carlos
Posts: 932
Joined: Mon Sep 06, 2010 1:02 pm

Re: Anyone used Hollywood to play podcast?

Post by Juan Carlos »

No because make a program to listen podcast I think that it is difficult to use several plugins with a same program... the perfect will be one plugin to do this, because in this case you need the plugins hurl, stremer, avcodec and oggvorbis.
Flinx
Posts: 342
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: Anyone used Hollywood to play podcast?

Post by Flinx »

Juan Carlos wrote: Tue May 02, 2023 2:25 pm difficult to use several plugins with a same program
No, why difficult. If avcodec would be streaming capable that would be no rocket science. The following program works for some seconds, until it hangs...

Code: Select all

@REQUIRE "httpstreamer"
@REQUIRE "avcodec"
stream$="http://stream.live.vc.bbcmedia.co.uk/bbc_world_service"
OpenMusic(1, stream$)
PlayMusic(1)
Wait(120,#SECONDS)
StopMusic(1)
CloseMusic(1)
User avatar
airsoftsoftwair
Posts: 5830
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Anyone used Hollywood to play podcast?

Post by airsoftsoftwair »

I think audio streaming wouldn't be too difficult to add but video streaming is a different thing and probably very difficult to support properly so streaming is rather unlikely to come.
Flinx
Posts: 342
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: Anyone used Hollywood to play podcast?

Post by Flinx »

By the way, in case anyone comes across this old thread: I have solved the user request for a radio streaming function using the VLC player. You can start it from Hollywood in Telnet mode without opening a window, and the communication is then handled entirely via Telnet. ReceiveData() and SendData() are all you need, and the necessary Telnet negotiation is not too complicated.
This solution runs very reliably on Windows, Linux and Mac.
Flinx
Posts: 342
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: Anyone used Hollywood to play podcast?

Post by Flinx »

I forgot: If someone is interested, I can make an example, but this would need some time to make it standalone, and to translate my German comments.
If you just want to see how it works, you can download Lyrics Jukebox, start it on a machine with VLC player installed, and click on the radio symbol and then the pause button. (Currently, change stations only with PgUp/PgDn or numbers on keyboard or click on the Forward/Backward buttons. And the stations come from the text file LJ RadioURLs.config.)
Post Reply