Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 12 Dec 2019, 00:44
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
DogRadio and YRadio
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [41 Posts]   Goto page: Previous 1, 2, 3
Author Message
musher0

Joined: 04 Jan 2009
Posts: 14537
Location: Gatineau (Qc), Canada

PostPosted: Thu 03 Jan 2019, 13:27    Post subject:  

Good work, Fred!

Thanks for this. Any possibility for option of ffplay instead of mplayer?
Since ffplay exists in all Puppies ex-factory, it may be more convenient
for some users.

Based on something like this, perhaps?
Code:
ffplay -nodisp -loglevel info -hide_banner -loop 0 -i $1
I tried it and the sound is very good. Just a thought.

And I thnk it is not too late in the year to wish you a
Happy and Prosperous 2018! Smile

TWYL.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Thu 03 Jan 2019, 15:32    Post subject:  

Hey musher0, best wishes to you too !

From what I know ffplay doesn't support playlists, like .pls or .m3u.
Mplayer does (but needs using the -playlist option).
(the index database contains many url's pointing to such playlists)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14537
Location: Gatineau (Qc), Canada

PostPosted: Thu 03 Jan 2019, 19:53    Post subject:  

Good point, Fred.

I think the endings *.pls, *.m3u, etc., are just cosmetic in the case of
some Internet radios. On some apparently bad connections (some, not
all), I dropped this ending off the URL, and I could hear the music.

It wuld be something, wouldn't it?, if we got Internet juice out of ffplay,
because it's in our Pups and Dogs already.

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14537
Location: Gatineau (Qc), Canada

PostPosted: Thu 03 Jan 2019, 21:27    Post subject:  

Continuing this reflexion on ffplay for radio streams here.

See you there, hopefully.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Fri 04 Jan 2019, 08:01    Post subject:  

*** DogRadio and YRadio update ***

See Here for updated download link , attachments and info.
Now doesn't depend on the full "coreutils" anymore (I wasn't very happy with that, so made some small changes).

@Musher
musher0 wrote:
Continuing this reflexion on ffplay for radio streams here.

See you there, hopefully.


Thanks anyway, but I'll stick with mplayer, even if possible it will be very complicated to replace mplayer with ffplay in my scripts,e.g. from yradio script (several playlist types should be supported):

Code:
case "${URL##*.}" in
m3u|m3u8|pls|asx|ram|wax|asp|pls?id=*|pls?sid=*)
.....
.....


Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14537
Location: Gatineau (Qc), Canada

PostPosted: Fri 04 Jan 2019, 08:07    Post subject:  

No problem, FredX. It was just an idea!!!

BFN.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Sun 13 Jan 2019, 15:26    Post subject:  

*** YRadio v0.0.8 ***
(attached .pet below)

The "only" change is that it works with ffmpeg instead of mplayer to play the radio streams.
For displaying the song titles, required is a newer ffmpeg (or avconv) version
(e.g. TahrPup has a too old ffmpeg, playing the stream works, but not showing the song titles)
On e.g. XenialPup or later puppies this should work OK.

Thanks again @musher0 for the hint, also thanks to @zigbert for the example code to use ffmpeg piped to aplay:
http://www.murga-linux.com/puppy/viewtopic.php?p=1014586#1014586
The Index database I did convert to not contain any "playlists" (e.g. extracted "real" url from any .m3u and .pls) so this way all should work with ffmpeg (which doesn;t support these playlists).

For yad .pet packages (required is v0.36 or higher)), see attachments here:
http://murga-linux.com/puppy/viewtopic.php?p=1014512#1014512

Fred
yradio-0.0.8-0_all.pet
Description  YRadio v0.0.8, using ffmpeg piped to aplay to play the radio streams
pet

 Download 
Filename  yradio-0.0.8-0_all.pet 
Filesize  250.67 KB 
Downloaded  208 Time(s) 

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14537
Location: Gatineau (Qc), Canada

PostPosted: Sun 13 Jan 2019, 16:50    Post subject:  

You're welcome!
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5656
Location: King's Lynn, UK.

PostPosted: Fri 30 Aug 2019, 18:11    Post subject:  

Hallo, Fred.

This is a lovely bit of work, and no mistake. Your GUI design skills are definitely taking off, y'know.

I've been meaning to try this for an age; initially, I thought it was one of your 'Dog-only' utilities, so I didn't look too closely.....until last night. 0.0.9-1 is now in at least 4 out of 11 in the current kennels, with more on the way.

I have a 'Favourites' .pls playlist stream I can d/l from my RadioTunes a/c, which I usually play in DeaDBeeF. Looking closer at it, I realised it comprised a whole series of URLs, so had a go at adding some of these to DogRadio via the 'Custom' entry box. They work beautifully, mate..!

I'm keeping /root/.dogradio/data on a remote partition, and sym-linking it into each Pup. Means I get the same selection of channels no matter which I boot into for the day.....

[Click to enlarge]





My RadioTunes 'favourites', all present & correct..!

Thanks, mate.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Sat 31 Aug 2019, 08:00    Post subject:  

That's nice, glad it's useful for you.
Thanks for the positive report Mike !! Very Happy

EDIT: I'd say better use the full .dogradio folder to symlink to, contains also configuration, playlists etc...
(although I'm not sure if all will work properly when symlinked)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 3544
Location: 500 seconds from Sol

PostPosted: Tue 12 Nov 2019, 22:16    Post subject: DogRadion works under LinuxMint Tina  

LinuxMint Tina is the "Big" Linux I have on a partition that I 'never' boot into. But out of curiosity I did to see if DogRadio and/or Yradio-portable would work. I used the deb from here https://github.com/fredx181/bionicdog/tree/gh-pages/Packages-amd64/Included and LinuxMint's synaptic to install the listed dependencies (including xdotool which hadn't been mentioned but for which I received a notice as soon as DogRadio started). It seems to work perfectly. I didn't to change themes.

Yradio, on the other hand didn't. Station selection appears not to function.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [41 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0563s ][ Queries: 13 (0.0165s) ][ GZIP on ]