Simple GTK Radio v0.1.18

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#31 Post by dejan555 »

Thanks, they do work here although they take a little longer to load
thanks vovchik for your extensive lists :)

ken, can you tell me a little more of what some bbc streams play, for example on which radio is gill peterson's show maybe?
EDIT: Radio 6 music?
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#32 Post by vovchik »

Dear Ken,

Thanks for the lnik. It's very useful. Here are my results for "National""


BBC Radio 1 - http://bbc.co.uk/radio/listen/live/r1.asx (works)
BBC Radio 1xtra - http://bbc.co.uk/radio/listen/live/r1x.asx (works)
BBC Radio 2 - http://bbc.co.uk/radio/listen/live/r2.asx (works)
BBC Radio 3 - http://bbc.co.uk/radio/listen/live/r3.asx (works)
BBC Radio 4 - http://bbc.co.uk/radio/listen/live/r4.asx (lworks)
BBC Radio 4 Long Wave LW - http://bbc.co.uk/radio/listen/live/r4lw.asx (fails)
BBC Radio 5 Live - http://bbc.co.uk/radio/listen/live/r5l.asx (only in area)
BBC Radio 5 Live Sports Extra - http://bbc.co.uk/radio/listen/live/r5lsp.asx (only in area)
BBC Radio 6 - http://bbc.co.uk/radio/listen/live/r6.asx (works)
BBC Radio 4 Extra - http://www.bbc.co.uk/radio/listen/live/r4x.asx (works)
BBC Asian Network - http://bbc.co.uk/radio/listen/live/ran.asx (works)

With kind regards,
vovchik

@ Dejan: I know that long list take time to parse, but nothing can really be done. It's only at startup. Also you can scroll through a long list VERY FAST using PgUp and PgDn keys. Just discovered that by accident. :)

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#33 Post by dejan555 »

Yeah it does take few seconds longer to parse but that's how it is.
Here are all links from that bbc page rearranged I think I did them right

Code: Select all

http://www.bbc.co.uk/worldservice/meta/tx/nb/live_infent_au_nb.asx #BBC Radio World Service 
http://www.bbc.co.uk/worldservice/meta/tx/nb/live/eneuk.asx #BBC Radio World Service English (UK Schedule) 
http://www.radiofeeds.co.uk/ws.asx #BBC Radio World Service (Alternative Stream) 
http://www.bbc.co.uk/worldservice/meta/tx/nb/live_ennws_au_nb.asx #BBC World Service 24 Hour News Channel 
http://www.bbc.co.uk/arabic/meta/tx/nb/arabic_live_au_nb.asx #BBC Radio Arabic 
http://www.bbc.co.uk/russian/meta/tx/nb/russian_live_au_nb.asx #BBC Radio Russia 
http://bbc.co.uk/radio/listen/live/r1.asx #BBC Radio 1 
http://bbc.co.uk/radio/listen/live/r1x.asx #BBC Radio 1xtra  
http://bbc.co.uk/radio/listen/live/r2.asx #BBC Radio 2 
http://bbc.co.uk/radio/listen/live/r3.asx #BBC Radio 3  
http://bbc.co.uk/radio/listen/live/r4.asx #BBC Radio 4  
http://bbc.co.uk/radio/listen/live/r4lw.asx #BBC Radio 4 Long Wave LW  
http://bbc.co.uk/radio/listen/live/r5l.asx #BBC Radio 5 Live 
http://bbc.co.uk/radio/listen/live/r5lsp.asx #BBC Radio 5 Live Sports Extra  
http://bbc.co.uk/radio/listen/live/r6.asx #BBC Radio 6 
http://www.bbc.co.uk/radio/listen/live/r4x.asx #BBC Radio 4 Extra  
http://bbc.co.uk/radio/listen/live/ran.asx #BBC Asian Network 
http://bbc.co.uk/radio/listen/live/rc.asx #BBC Radio Cymru 
http://bbc.co.uk/radio/listen/live/rf.asx #BBC Radio Foyle 
http://bbc.co.uk/radio/listen/live/rng.asx #BBC Radio nan Gaidheal  
http://bbc.co.uk/radio/listen/live/rs.asx #BBC Radio Scotland 
http://bbc.co.uk/radio/listen/live/ru.asx #BBC Radio Ulster 
http://bbc.co.uk/radio/listen/live/rw.asx #BBC Radio Wales  
http://bbc.co.uk/radio/listen/live/bbcberkshire.asx #BBC Radio Berkshire  
http://bbc.co.uk/radio/listen/live/bbcbristol.asx #BBC Radio Bristol 
http://bbc.co.uk/radio/listen/live/bbccambridgeshire.asx #BBC Radio Cambridgeshire  
http://bbc.co.uk/radio/listen/live/bbccornwall.asx #BBC Radio Cornwall 
http://bbc.co.uk/radio/listen/live/bbccoventryandwarwickshire.asx #BBC Radio Coventry & Warwickshire  
http://bbc.co.uk/radio/listen/live/bbccumbria.asx #BBC Radio Cumbria 
http://bbc.co.uk/radio/listen/live/bbcderby.asx #BBC Radio Derby 
http://bbc.co.uk/radio/listen/live/bbcdevon.asx #BBC Radio Devon  
http://bbc.co.uk/radio/listen/live/bbcessex.asx #BBC Radio Essex  
http://bbc.co.uk/radio/listen/live/bbcgloucestershire.asx #BBC Radio Gloucestershire  
http://bbc.co.uk/radio/listen/live/bbcguernsey.asx #BBC Radio Guernsey 
http://bbc.co.uk/radio/listen/live/bbcherefordandworcester.asx #BBC Radio Hereford & Worcester 
http://bbc.co.uk/radio/listen/live/bbchumberside.asx #BBC Radio Humberside 
http://bbc.co.uk/radio/listen/live/bbcjersey.asx #BBC Radio Jersey 
http://bbc.co.uk/radio/listen/live/bbckent.asx #BBC Radio Kent 
http://bbc.co.uk/radio/listen/live/bbclancashire.asx #BBC Radio Lancashire  
http://bbc.co.uk/radio/listen/live/bbcleeds.asx #BBC Radio Leeds 
http://bbc.co.uk/radio/listen/live/bbcleicester.asx #BBC Radio Leicester  
http://bbc.co.uk/radio/listen/live/bbclincolnshire.asx #BBC Radio Lincolnshire  
http://bbc.co.uk/radio/listen/live/bbclondon.asx #BBC Radio London 
http://bbc.co.uk/radio/listen/live/bbcmanchester.asx #BBC Radio Manchester  
http://bbc.co.uk/radio/listen/live/bbcmerseyside.asx #BBC Radio Merseyside  
http://bbc.co.uk/radio/listen/live/bbcnewcastle.asx #BBC Radio Newcastle 
http://bbc.co.uk/radio/listen/live/bbcnorfolk.asx #BBC Radio Norfolk
http://bbc.co.uk/radio/listen/live/bbcnorthampton.asx #BBC Radio Northampton  
http://bbc.co.uk/radio/listen/live/bbcnottingham.asx #BBC Radio Nottingham 
http://bbc.co.uk/radio/listen/live/bbcoxford.asx #BBC Radio Oxford 
http://bbc.co.uk/radio/listen/live/bbcsheffield.asx #BBC Radio Sheffield  
http://bbc.co.uk/radio/listen/live/bbcshropshire.asx #BBC Radio Shropshire  
http://bbc.co.uk/radio/listen/live/bbcsolent.asx #BBC Radio Solent 
http://bbc.co.uk/radio/listen/live/bbcsomerset.asx #BBC Radio Somerset  
http://bbc.co.uk/radio/listen/live/bbcstoke.asx #BBC Radio Stoke 
http://bbc.co.uk/radio/listen/live/bbcsuffolk.asx #BBC Radio Suffolk  
http://bbc.co.uk/radio/listen/live/bbcsurrey.asx #BBC Radio Surrey  
http://bbc.co.uk/radio/listen/live/bbctees.asx #BBC Radio Tees 
http://bbc.co.uk/radio/listen/live/bbcthreecounties.asx #BBC Radio Three Counties  
http://bbc.co.uk/radio/listen/live/bbcwiltshire.asx #BBC Radio Wiltshire 
http://bbc.co.uk/radio/listen/live/bbcwm.asx #BBC Radio West Midlands  
http://bbc.co.uk/radio/listen/live/bbcyork.asx #BBC Radio York
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#34 Post by dejan555 »

Oh vovchik I was talking about bbc streams they take bit longer to start playing here wasn't commenting on parsing earlier xD
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#35 Post by vovchik »

Dear Dejan,

They take longer for me, too. :( and even BBC4 LW worked. I just had to wait a long time for it to start. I have 284 entries now - and I make categoires - for the moment - by including a line as follows:

Code: Select all

http:// #---- News ----
It's not perfect - but keeps things organized until such time as we have a possibility for multiple playlists. :) Still, the app is working really nicely, and I like the built in editing of the list. Very convenient. You can check a URL to see whether it plays, and if so, copy it into the editor list and give it some kind of name.

With kind regards,
vovchik

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#36 Post by dejan555 »

Yep, I think I'll just save into multiple playlist files like radio-stations.jazz radio-stations.bbc etc... then copy them or symlink to radio-playlist :P
I like the idea for categories hack though :)

EDIT: Actually this could be easily incorporated in next version, like have code like

Code: Select all

Category #--------Some name-----------
then in cli functions tell simplegtkradio to just ignore user click if "$STREAMURL" = "Category"
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#37 Post by vovchik »

Dear Dejan,

Nice and simple idea...

With kind regards,
vovchik

PS. And symlinks could be very useful here for multiple playlists.

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#38 Post by vicmz »

I can't play BBC streams either. However, pMusic and VLC play those streams instantly, so it might be MPlayer stuff. Anyway, Simple GTK Radio is one cool app for the Puppy collection. And is now available in other languages (see below). :D
Attachments
Screenshot_2014-01-20_201103.png
(14.3 KiB) Downloaded 495 times
MoManager-es-simplegtkradio-0.1.8.tar.gz
(1.45 KiB) Downloaded 352 times
simplegtkradio-0.1.8-gettext.pet
(15.92 KiB) Downloaded 366 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#39 Post by vovchik »

Estimado vicmz,

Muchas gracias!

Saludos,
vovchik

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#40 Post by dejan555 »

Thank you very much vicmz, I will look at it, does it have to be translated for every version or we can introduce some kind of language file?

Meanwhile I've made some changes, look at changelog in first post
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#41 Post by vicmz »

dejan555 wrote:Thank you very much vicmz, I will look at it, does it have to be translated for every version or we can introduce some kind of language file?

Meanwhile I've made some changes, look at changelog in first post
Language files. This is by applying gettext to the scripts. Ideally, gettext code should be applied once, as it must be applied manually and takes time depending on the amount of GUI lines, then when new GUI lines are added to the script those lines can be gettexted, too. Extract the scripts from the pet above to see which parts have gettext, you may even learn to apply it yourself. The tar file above has the .mo file which is the one containing the translations. For each language you can have a different .mo located in individual folders, see /usr/share/locale in any Puppy, that's the directory where gettext translations are stored.

If you speak another language, you can even make a whole Puppy langpack in your language, see Menu > Utilities > Momanager and Menu > Help > HOWTO internationalization.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#42 Post by dejan555 »

OK, btw, which is gtk theme that you use in that screenshot?

EDIT: Also, since .mo files are compiled do you have .po es file I can look at, or Momanager doesn't save it?
It would probably be needed to supply as source file too

EDIT2: Ok, found out they can be converted back to .po with msgunfmt

EDIT3: So I get how this works now, the only string I changed for new version is auto-changer tooltip I think because I let user define interval in config file instead being fixed 30 minutes. (Meh, does anyone even use this feature? :P)
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#43 Post by vicmz »

dejan555 wrote:OK, btw, which is gtk theme that you use in that screenshot?

EDIT: Also, since .mo files are compiled do you have .po es file I can look at, or Momanager doesn't save it?
It would probably be needed to supply as source file too

EDIT2: Ok, found out they can be converted back to .po with msgunfmt

EDIT3: So I get how this works now, the only string I changed for new version is auto-changer tooltip I think because I let user define interval in config file instead being fixed 30 minutes. (Meh, does anyone even use this feature? :P)
The GTK theme in my screenshot above is Nodoka Midnight (available in the gtk-theme-collection.pet from here, and in most Pemasu's puppies).

Momanager doesn't need a .po file as long as the gettexted scripts are installed. You can post a .pot for translators to rename to .po and edit with POedit, but again after installing the new gettexted version Momanager generates the new .po and opens it in POedit, even merging translations from the old .mo file with the new translatable strings. This means every time you release a new version of your application, you only need to apply gettext on the new GUI lines, and let translators manage the rest.
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

User avatar
vicmz
Posts: 1262
Joined: Sun 15 Jan 2012, 22:47

#44 Post by vicmz »

Here is v0.1.9 gettexted, with .mo for Spanish language updated. You can add changes over these scripts directly and easily apply gettext code into the new GUI strings. See:

http://murga-linux.com/puppy/viewtopic.php?t=84178

http://murga-linux.com/puppy/viewtopic.php?t=84086
Attachments
simplegtkradio-0.1.9-gettext.pet
(16.29 KiB) Downloaded 353 times
MoManager-es-simplegtkradio-0.1.9.tar.gz
(1.51 KiB) Downloaded 338 times
Screenshot_2014-01-21_123228.png
(14.68 KiB) Downloaded 383 times
[url=http://murga-linux.com/puppy/viewtopic.php?t=76948]Puppy Linux en español[/url]

labbe5
Posts: 2159
Joined: Wed 13 Nov 2013, 14:26
Location: Canada

Simple GTK Radio

#45 Post by labbe5 »

Hi,

Just to say thanks for this app.
Works nice and easy.
I like best ad-free Paradise radio.

It's a pet that finds itself in each of my Puppies. I would see it join Pmusic in Multimedia category in future Puppies.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#46 Post by keniv »

Hi All,

Thanks for the information on what BBC streams work outside the UK. Glad so many did. I have also noticed that they seem to take a little time to start playing. This little app is getting better and better.

Regards,

Ken.

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#47 Post by robwoj44 »

Polish language for Simple GTK Radio
Attachments
simplegtkradio-0.1.9PL.tar.gz
simplegtkradio PL
(1.49 KiB) Downloaded 255 times

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#48 Post by dejan555 »

Wow, thanks, didn't expect this kind of response for this little app :)
I will package es and pl translations with next update.
Question though:
Should these translations take effect if I change locale from Chooselocale setup in puppy (session not saved but I restarted X)
Not working for me, see screenie.
Attachments
locale.jpg
(102.61 KiB) Downloaded 567 times
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#49 Post by vovchik »

Dear Dejan,

It is a nice little app. I tested it in Cinnamon Mint 16, which I also have installed, and it runs perfectly once you unstall a recent gtkdialog and the few other dependencies. And it runs fine from '/home/vovchik' as user 'vovchik', too, so you wrote it very universally and, once installed, it does not write anything into dirs that require root privileges. Nice.:)

With kind regards,
vovchik

robwoj44
Posts: 399
Joined: Fri 08 Aug 2008, 18:15
Location: Warsaw

#50 Post by robwoj44 »

Should these translations take effect if I change locale from Chooselocale setup in puppy (session not saved but I restarted X)
Yes if you use vicmz's gettexted version of simplegtkradio
http://www.murga-linux.com/puppy/viewto ... 719#752719

Post Reply