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 Sat 29 Nov 2014, 02:28
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pupRadio (with pupTelly)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 9 [134 Posts]   Goto page: 1, 2, 3, ..., 7, 8, 9 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sun 13 Dec 2009, 00:27    Post subject:  pupRadio (with pupTelly)
Subject description: yes another streaming app
 

This is pupRadio (including pupTelly)

It is really just a bookmarking tool (a nice small one at that Wink ) for your favourite radio web streams. While I was at it I thought I'd add video streams too.

There are 8 presets. All you have to do is find the stations/channels you like and save them as a preset. There are weblinks at the bottom of the gui to help you find streams. (Radio www and Telly www)

It will work with gxine, xine and mplayer and detects if you have either or all so it should be good for most puppies and puplets.

You can test the stream link before you save it if you like with the "Play Now!" and "Watch Now!" features. Just copy your url to the box and hit the play button. If it works ok you can save it as a preset.

There is also a bookmark list for stations/channels you want to save but don't use as often as the presets.

You also have the option to record radio streams (only) using mcewanw's ... Precord. For this option you must install Precord from http://murga-linux.com/puppy/viewtopic.php?t=49907 . You must also setup alsamixer to capture your signals from the sound card. Caution, there is some trial and error involved here, there is good info on the Precord thread.



Changelog
V 0.18
-replaced NASA stream with frog doco
V 0.17
-fixed the help for opera -bigpup
V 0.16
-fixed the help
-added new urls to replace bad ones
V 0.14
NLS debugged and Russian translation added thanks to rodin.s (in pupradio_NLS, New DOTpot file included)
V 0.13
Now fully multi-user compliant (works in Slackware as "user" Wink )
Now localised with gettext, please upload translations to this thread Smile
V 0.11
fixed as to not suppress stdout/stderr but keep them a little quieter, so there is quite a lot of coding changes
added a new TV channel thanks to str4y
V 0.10
fixed bug where mplayer was filling up xerrs.log, thanks rerwin
V 0.9
works with "fido"
V 0.8
fixed all channels, the servers moved/deleted/renamed some streams
V 0.7
fixed fullscreen bug with some players, thanks 8-bit
removed the old TV movie channel, was unreliable, replaced with Australian Parliament, equally unreliable!
V 0.6
-update to suppoert VLC if installed
V 0.5.5
-update, changed many stations, thanks stray
-refined GUI to be netbook friendly
-xmessage now times out in radio, no need to close it
-minor code improvements
V 0.5.4
-minor update, ditched "Allouette" station in radio defaults, not working
V 0.5.3
-an update for adding Gnome-Mplayer support.. only useful for Quirky or if you use Gnome-mplayer. I will leave 0.5.2 up, most will only want that.
NOTES: I seem to have had to do a "kill -9" in the "Stop" and "Quit" functions for gnome-mplayer. It wasn't quitting cleanly, a bug in gnome-mplayer? Also it starts in window mode and there is a button for full screen on the gnome-mplayer gui. It would not start in fullscreen for me, I think maybe it has to do with the waiting for the stream buffer.
V 0.5.2
-minor update to detect defaultmediaplayer. -thanks BarryK NOTE: Latest dpup uses Ogle as default media player, there is a work around in the program that displays a splash and you choose the player yourself.
-fixed typo in help
V 0.5
-added command line support -thanks to mcewanw
-there are 2 options, type "pupradio -h" for basic command line help, type "pupradio -p" and see what happens. Only radio is supported.
V 0.4.2
bugfix, xine support slipped out -fixed (no need for this if you don't use Xine)
V 0.4.1
-bugfix -tv was playing radio..oops!
V 0.4
-changed gui, better appearance -thanks tasmod
-added code so if precord is not on your system then there is no record button -thanks mcewanw
V 0.3.2
-added xine support -thanks prehistoric
-fixed if you have gxine-0.5.904 (well it works) -thanks BarryK
-stderr when closing is sent to /dev/null, no need to ctrl-C if you run from term
V 0.3
-added more presets with better gtkdialog formatting- thanks tasmod
-automatic refresh of gui when a bookmark or preset is added- thanks mcewanw
-added a splash at the start reminding a user to set the player
V 0.2
-added support for unlimited bookmarks (well there is a limit but it is many!) -thanks musher0


Warning While all care is taken no responsibility is accepted.

Have fun Very Happy
pupradio-0.18.pet
Description 
pet

 Download 
Filename  pupradio-0.18.pet 
Filesize  6.05 KB 
Downloaded  764 Time(s) 
pupradio_NLS-0.18.pet
Description 
pet

 Download 
Filename  pupradio_NLS-0.18.pet 
Filesize  4.98 KB 
Downloaded  489 Time(s) 
pupradio-0.17.pet
Description 
pet

 Download 
Filename  pupradio-0.17.pet 
Filesize  6.06 KB 
Downloaded  1136 Time(s) 
pupradio_NLS-0.17.pet
Description 
pet

 Download 
Filename  pupradio_NLS-0.17.pet 
Filesize  4.98 KB 
Downloaded  759 Time(s) 
pupradio-0.13.pet
Description 
pet

 Download 
Filename  pupradio-0.13.pet 
Filesize  5.48 KB 
Downloaded  732 Time(s) 
pupradio-0.11.pet
Description 
pet

 Download 
Filename  pupradio-0.11.pet 
Filesize  5.35 KB 
Downloaded  773 Time(s) 
pupradio-0.10.pet
Description 
pet

 Download 
Filename  pupradio-0.10.pet 
Filesize  5.42 KB 
Downloaded  727 Time(s) 
pupradio-0.9.pet
Description 
pet

 Download 
Filename  pupradio-0.9.pet 
Filesize  5.33 KB 
Downloaded  957 Time(s) 
pupradio-0.8.pet
Description 
pet

 Download 
Filename  pupradio-0.8.pet 
Filesize  5.19 KB 
Downloaded  899 Time(s) 
pupradio-0.7.pet
Description 
pet

 Download 
Filename  pupradio-0.7.pet 
Filesize  5.17 KB 
Downloaded  1018 Time(s) 

Last edited by 01micko on Sat 16 Feb 2013, 19:53; edited 27 times in total
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2349
Location: New Zealand

PostPosted: Sun 13 Dec 2009, 09:53    Post subject:  

I've been playing with pupRadio in conjunction with Precord 1.0.3. Nice combination; they work really well together and both tiny apps...

Having slow dialup makes it hard for me to test this, but on further testing I seem to be loosing chunks of the audio whilst recording. May just be a buffering issue because of dialup but not sure. How steadily can you record pupRadio sound by capturing with Pradio? Just wondering if there is any conflict as they both access the sound device.

Yes, I just tried again and though the quality is pretty good for what is recorded, something goes horribly wrong on my system and just disconnected chunks of the streamed audio seems to be captured.

EDIT: Problem solved.... I was using too high a cbr bit rate. Selecting cbr at 64k bitrate or lower worked fine, but best for me was to use vbr (stereo or mono) which worked fine for all bit rates from 32k (creates nice small files but lower quality) up to 320k (larger file/high quality)

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.

Last edited by mcewanw on Sun 13 Dec 2009, 12:21; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2349
Location: New Zealand

PostPosted: Sun 13 Dec 2009, 10:57    Post subject:  

hmmm... something very weird going on.

I tried arecord ... | lame ...

with the same parameters as I was using in Precord and I managed to record an mp3 file from pupRadio fine, but not when doing the same from the Pradio GUI... then I'm getting chopped up sound. I'll have to look into this, though I really can't imagine what the difference would be.

Actually, its not perfect when I run arecord... | lame... from the command line either, though I think it isn't quite so choppy? since the command line is identical to that I'm running in Precord, I'm wondering if my computer is simply too slow to cope when Gxine, is running with pupRadio and Precord gtkdialog. The way bits of sound are lost sounds like a scheduling issue - the CPU jumping back and forth between the different processes. So does it all run smoothly on a faster processor (my machine is a Pentium III 450MHz 250MHz RAM). Precord is working reasonably fine for recording from microphone (I should try that with gxine running too I suppose).

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2349
Location: New Zealand

PostPosted: Sun 13 Dec 2009, 11:44    Post subject: going good I think...!  

Well, my dialup is too slow, and my CPU maybe not the best, but I have found that the main problem was that I was trying to record with too high a bit rate. When I reduced it to (cbr) 64k or lower, the recording seems to be fine. Maybe marginally better using mono (in Precord and maybe Mono mixer) but I'm not too sure. I need a broadband connection to try it out properly! It's certainly fun experimenting with this combination. :-)

EDIT: Recording works better with abr (can use a higher bit rate and still quite smooth) but, for me at least, the winner is variable bir rate mode (vbr). With that I can use 320kb/s if I want and good clear recording (and that was with Stereo selected in Precord and Capturing on Stereo Mix in alsamixer)!

_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
mcewanw

Joined: 16 Aug 2007
Posts: 2349
Location: New Zealand

PostPosted: Sun 13 Dec 2009, 13:15    Post subject: bug fixed on Precord, so works better with pupRadio now  

Note that new Precord version 1.0.4 fixes the bug which sometimes resulted in a blank file panel on starting it up.
_________________
Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Sun 13 Dec 2009, 16:40    Post subject:  

Hi, 01micko!

Tried it and it works fine! Listening to Radio-Prague classical on pupRadio now! Very Happy
http://amp1.cesnet.cz:8000/cro-d-dur.ogg

The only disappointement Crying or Very sad (ah, emotions!...) is:
Can the user create a list of preferred radio stations, as in realplayer, for example?
Or do we have to change the presets every time?

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sun 13 Dec 2009, 23:46    Post subject:  

Hi mcewanw and musher0

mcewanw,

When I was looking to add the record feature to pupRadio I was looking at arecord ....| lame ... and arecord | oggenc ... and while I was starting to get results it was bogging me down. I saw your app Precord and tried it... great! A great complement for pupRadio. The recording feature was also an afterthought. It's really even better as an option because it keeps my app smaller and some users may not even want to bother with recording.

As you may see by the coding my bash skills are still developing Wink . If you have any suggestions for improvements fire at will. I follow zigbert's style with the separate functions script, it helps me keep things in order, and I suppose you develop the style that you first learn.

Other players shouldn't be too difficult to add as the structure is in place.. xine, gnome-mplayer would slot right on. I was thinking to add vlc too but when I tried it it wouldn't run as root, but I am not very familiar with vlc, ttuuxxx and mikeb seem like the experts in that field, I might sound them out.

Thanks for your comments.

musher0

It is a great idea what you suggest and shouldn't be too difficult to implement.I like the idea of presets because they are one click wonders.. but do we need 6? Perhaps 4 will do, that would free up enough screen real estate to add the extra boxes and buttons needed for a complete list, of course it would be a drop down list.. Smile . I will work on that this week end.

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Mon 14 Dec 2009, 00:07    Post subject:  

01micko said:

Quote:
It is a great idea what you suggest and shouldn't be too difficult to implement.I like the idea of presets because they are one click wonders.. but do we need 6? Perhaps 4 will do, that would free up enough screen real estate to add the extra boxes and buttons needed for a complete list, of course it would be a drop down list.. . I will work on that this week end.


Four presets sounds good. As for me, there are 3-4 radio stations I listen to the most often. Then there are those I listen to relatively often, which could be in a list.

Anyway, nice job! Very Happy Just another example of getting nice results by pushing what exists just a little bit further!

BFN.

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 14 Dec 2009, 01:04    Post subject:  

micko rule 101 please never forget it, If you make a new application always please include a screenshot Smile A picture is worth a thousand beers,or is it words, hmmmmm lol
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Mon 14 Dec 2009, 01:17    Post subject:  

ttuuxxx wrote:
micko rule 101 please never forget it, If you make a new application always please include a screenshot Smile A picture is worth a thousand beers,or is it words, hmmmmm lol
ttuuxxx


Yes-yes, it's "a thousand beers". At this table, please! Laughing
You ok, ttuuxx? Should we call a cab or are you sleeping on the couch? Very Happy

And here's the compulsory << tableau >>. (;-/)
pupRadio.jpg
 Description   
 Filesize   32.08 KB
 Viewed   14260 Time(s)

pupRadio.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 14 Dec 2009, 01:24    Post subject:  

musher0 wrote:


Yes-yes, it's "a thousand beers". At this table, please! Laughing
You ok, ttuuxx? Should we call a cab or are you sleeping on the couch? Very Happy

And here's the compulsory << tableau >>. (;-/)


Hey musher, I went to a wedding yesterday, the groom was from Montreal and the bride was Aussie, they are moving to Canada in Feb, nice time of the year to take a new bride into the middle of snow/slush/hail/ice/cold etc.
I've been to Gatineau a lot of times in the past and lived in Montreal for a year, That was fun.

ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 14 Dec 2009, 01:26    Post subject:  

Hey micko here's a link to a swf player that plays one of my local stations back in Canada, just click the swf Smile Would be nice if we could make a swf stream media player with graphics like this does Smile
ttuuxxx
cflg.tar.gz
Description 
gz

 Download 
Filename  cflg.tar.gz 
Filesize  52.13 KB 
Downloaded  1267 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Mon 14 Dec 2009, 01:33    Post subject:  

Well, I'm single and have been for awhile, so... if you know of a nice and intelligent Aussie woman! Very Happy (edit: add "pretty" to the list!) Laughing

I'll return the compliment: I'll stay with my "few acres of snow" right now, if you don't mind, given that some of your (does Australia have "provinces" or is that "states") have dangerous bush fires that won't die down 'cause it's so dry, apparently. And so close to inhabited regions, too.

Mind you, my dad died frozen in a February storm many many years ago, so I shouldn't like winter, but I'd rather that than being burned...

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 14 Dec 2009, 01:43    Post subject:  

musher0 wrote:
Well, I'm single and have been for awhile, so... if you know of a nice and intelligent Aussie woman! Very Happy

I'll return the compliment: I'll stay with my "few acres of snow" right now, if you don't mind, given that some of your (does Australia have "provinces" or is that "states") have dangerous bush fires that won't die down 'cause it's so dry, apparently. And so close to inhabited regions, too.

Mind you, my dad died frozen in a February storm many many years ago, so I shouldn't like winter, but I'd rather that than being burned...


Australia has states, even a state within a state, lol ACT. They made a state for the capital, so the politicians could have a few perks that the rest of oz doesn't, lol and also to solve an argument where it should be, Sydney and Melbourne both wanted the Capital, so they took some bushland midway and made a state, Then they actually had a architect design all the street layouts etc so it was logical, unlike regular Aussie streets all have bends etc, I don't think they could pave a straight road other than ACT.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
musher0


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

PostPosted: Mon 14 Dec 2009, 02:05    Post subject:  

If anybody wants a really HUGE listing of Internet radio stations, download ScreamerRadio for Windows, unpack the presets.xml.gz file, and copy & paste to mplayer or whatever. All genres imaginable!

www.screamer-radio.com

It has the same list as a web directory here: http://www.screamer-radio.com/directory/

ScreamerRadio v.3.9 works under Wine, but if its list could possibly be interfaced with 01micko's script: wow! Cool

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 9 [134 Posts]   Goto page: 1, 2, 3, ..., 7, 8, 9 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
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.1121s ][ Queries: 13 (0.0055s) ][ GZIP on ]