Thanks for the reply.
I'm sure there is a clue if you're a Python expert, which I'm slowly becoming!
It seems to be something to do with re-mapping genres, e.g renaming
'classiscal' to be 'crap'.
The problem is that without something sensible in that config item, the plugin
crashed with a 'has_key' error.
I've commented out this:
## genre remapping
if self.genremap.has_key(g):
g = self.genremap[g]
and it's working fine. Except I can't re-map genres, but I can live with that.
> ----------------------------------------
> From: John Molohan <[email protected]>
> Sent: Wed Jul 29 20:32:11 CEST 2009
> To: John Percival <[email protected]>,
> <[email protected]>
> Subject: Re: [Freevo-users] ICECAST_GENRE_MAP
>
>
> John Percival wrote:
> > Quick question:
> >
> > can somebody tell me the format of ICECAST_GENRE_MAP for icecast.py, please?
> >
> > Thanks.
> >
> >
> > John.
> Never come across it before. Is there no clue in the code in icecast.py
> itself?
>
> John
-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be
I contacted the author of icecast.py and he kindly provided the following
example:
ICECAST_GENRE_MAP = {
'':'--unknown--',
'&':'and',
'alterbative':'alternative',
'alternatif':'alternative',
'alternativa':'alternative',
'alt':'alternative',
'alternativ':'alternative',
'ambien':'ambient',
'alsacian':'alaska',
'animation':'anime',
'animes':'anime',
'bootlegs':'bootleg',
'40':'40s',
'50':'50s',
'70':'70s',
'70er':'70s',
'annees70':'70s',
'80':'80s',
'80er':'80s',
'80s.':'80s',
}
-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users