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 18 Dec 2014, 19:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Simple GTK Radio v0.1.18
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 8 [111 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Mon 20 Jan 2014, 16:04    Post subject:  

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

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?

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Mon 20 Jan 2014, 16:17    Post subject:  

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. Smile
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Mon 20 Jan 2014, 16:41    Post subject:  

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:
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

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Mon 20 Jan 2014, 16:44    Post subject:  

Oh vovchik I was talking about bbc streams they take bit longer to start playing here wasn't commenting on parsing earlier xD
_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Mon 20 Jan 2014, 16:59    Post subject:  

Dear Dejan,

They take longer for me, too. Sad 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:

http:// #---- News ----


It's not perfect - but keeps things organized until such time as we have a possibility for multiple playlists. Smile 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
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Mon 20 Jan 2014, 17:04    Post subject:  

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 Razz
I like the idea for categories hack though Smile

EDIT: Actually this could be easily incorporated in next version, like have code like
Code:
Category #--------Some name-----------


then in cli functions tell simplegtkradio to just ignore user click if "$STREAMURL" = "Category"

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Mon 20 Jan 2014, 18:14    Post subject:  

Dear Dejan,

Nice and simple idea...

With kind regards,
vovchik

PS. And symlinks could be very useful here for multiple playlists.
Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1152

PostPosted: Mon 20 Jan 2014, 18:59    Post subject:  

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). Very Happy
Screenshot_2014-01-20_201103.png
 Description   
 Filesize   14.3 KB
 Viewed   288 Time(s)

Screenshot_2014-01-20_201103.png

MoManager-es-simplegtkradio-0.1.8.tar.gz
Description 
gz

 Download 
Filename  MoManager-es-simplegtkradio-0.1.8.tar.gz 
Filesize  1.45 KB 
Downloaded  100 Time(s) 
simplegtkradio-0.1.8-gettext.pet
Description 
pet

 Download 
Filename  simplegtkradio-0.1.8-gettext.pet 
Filesize  15.92 KB 
Downloaded  94 Time(s) 

_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Mon 20 Jan 2014, 19:30    Post subject:  

Estimado vicmz,

Muchas gracias!

Saludos,
vovchik
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Mon 20 Jan 2014, 20:09    Post subject:  

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

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
vicmz


Joined: 15 Jan 2012
Posts: 1152

PostPosted: Mon 20 Jan 2014, 22:26    Post subject:  

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.

_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2720
Location: Montenegro

PostPosted: Tue 21 Jan 2014, 03:54    Post subject:  

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? Razz)

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
vicmz


Joined: 15 Jan 2012
Posts: 1152

PostPosted: Tue 21 Jan 2014, 10:31    Post subject:  

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? Razz)


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.

_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1152

PostPosted: Tue 21 Jan 2014, 11:32    Post subject:  

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
simplegtkradio-0.1.9-gettext.pet
Description 
pet

 Download 
Filename  simplegtkradio-0.1.9-gettext.pet 
Filesize  16.29 KB 
Downloaded  97 Time(s) 
MoManager-es-simplegtkradio-0.1.9.tar.gz
Description 
gz

 Download 
Filename  MoManager-es-simplegtkradio-0.1.9.tar.gz 
Filesize  1.51 KB 
Downloaded  99 Time(s) 
Screenshot_2014-01-21_123228.png
 Description   
 Filesize   14.68 KB
 Viewed   177 Time(s)

Screenshot_2014-01-21_123228.png


_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
labbe5

Joined: 13 Nov 2013
Posts: 133

PostPosted: Tue 21 Jan 2014, 12:21    Post subject: Simple GTK Radio
Subject description: comment
 

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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 8 [111 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 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.1018s ][ Queries: 12 (0.0074s) ][ GZIP on ]