urls for Israeli streaming media?
Shlomi Fish
shlomif at iglu.org.il
Sun Feb 21 18:19:33 IST 2010
Hi Geoffrey!
On Monday 07 Dec 2009 11:27:59 geoffrey mendelson wrote:
> On Dec 6, 2009, at 1:05 PM, Shlomi Fish wrote:
> > On Sunday 06 Dec 2009 12:17:57 geoffrey mendelson wrote:
> >> I remember someone mentioned in passing a web site where someone had
> >> stripped the URLs for Israeli streaming media down to their basic
> >> level so you could listen to them on a Linux system without Internet
> >> Explorer and so on.
> >
> > Do you mean:
> >
> > http://mazrim.sourceforge.net/
> >
> > Or http://www.guyrutenberg.com/radiopy/
>
> Thanks,
>
> radiopy is sort of what I am looking for, it's not up to date, and I'm
> not sure I can update it. I don't know Python, but will try to hack
> it, as it were.
>
> mazrim is totally in Hebrew, so I need to get my son to help me with it.
>
I've now decided that it's time I fixed Mazrim so it will work in English, and
it turned out that there was already a way. To do it, checkout the sources
using CVS using the instructions here:
https://sourceforge.net/projects/mazrim/develop
And apply the following patch:
{{{{
Index: Mazrim.py
===================================================================
RCS file: /cvsroot/mazrim/mazrim/Mazrim.py,v
retrieving revision 1.20
diff -u -r1.20 Mazrim.py
--- Mazrim.py 14 Mar 2009 14:14:39 -0000 1.20
+++ Mazrim.py 21 Feb 2010 16:15:52 -0000
@@ -29,7 +29,7 @@
#internalization
gettext.install('Mazrim_1', '/usr/lib/Mazrim/locale', unicode=False)
-he = gettext.translation('Mazrim', '/usr/lib/Mazrim/locale',
languages=['he']) # Hebrew
+# he = gettext.translation('Mazrim', '/usr/lib/Mazrim/locale',
languages=['he']) # Hebrew
#en = gettext.translation('Mazrim', '/usr/lib/Mazrim/locale',
languages=['en']) # English
mazrim_version = "2.0\n"
@@ -54,7 +54,7 @@
def get_mediaPlayer():
try:
- in_file=open("/etc/mazrim.conf","r")
+ in_file=open("mazrim.conf","r")
except:
pass
all_lines=in_file.readlines()
@@ -381,7 +381,7 @@
def on_ListenButton_mouseClick(self, event):
try:
- in_file=open("/etc/mazrim.conf","r")
+ in_file=open("mazrim.conf","r")
except:
self.components.urlArea1.text = _(u"Error: Missing
'mazrim.conf' file")
}}}}
Then you can run Mazrim from the local checkout directory using "python
Mazrim.py".
Mazrim seems very crudely coded and its software management is very horrid.
Regards,
Shlomi Fish
> These look like what I want, and with a little tweaking, will be it.
>
> Geoff.
--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang
Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
More information about the Linux-il
mailing list