Hi,

2012/12/17  <[email protected]>:
> Thanks Romain,
>
> Is there any workaround? My IP has only FreeBSD's LS 1.0.0.2 available.
>
> Btw, the bug also seems to affect oggs as well.

If the bug also affects oggs then we're not talking of the same thing.

> The code that I'm using:
>
>
>                 <snip . . .>
>
>                 # Fill-in Title for ID3 Tag
>
>                     def fill_in(s)
>
>                         # the function f takes a list of pairs m
> representing the metadata
>                         # and it maps an anonymous function on each pair
>                         # replacing empty title definitions by
> title=filename
>
>                         def f(m)
>
>                             print("\n\nFor metadata: #{m}\n\n")
>                             list.map(fun (key_value) ->
>
>                             if key_value==("title","") then
>
>
>                                   if m["filename"] ==
> "/usr/local/www/rcr/mp3/announce/SOD.mp3" then
>                                       ("title", "Good Morning")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/mp3/announce/opener/opener-moap.mp3" then
>                                       ("title", "Welcome to the Morning
> Offering and Prayers")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/mp3/motths/Morning_Offering_to_the_Holy_Spirit.mp3" then
>                                       ("title", "Morning Offering to the
> Holy Spirit")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/mp3/announce/opener/opener-litanies.mp3" then
>                                       ("title", "Welcome to Classic
> Litanies")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/radio/current/mp3/today-litanies-mp3.pls" then
>                                       ("title", "Classic Litanies")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/radio/current/mp3/today-moap-mp3.pls" then
>                                       ("title", "Morning Offering and
> Prayers - see www.RuralCatholicRadio.com for details")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/mp3/announce/opener/opener-tioc.mp3" then
>                                       ("title", "Welcome to Morning
> Meditation with the Imitation of Christ by Thomas a Kempis")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/mp3/announce/opener/opener-tioc.mp3" then
>                                       ("title", "Morning Meditation with the
> Imitation of Christ by Thomas a Kempis")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/mp3/gofr/Divine_Mercy_-_The_Gift_OF_Final_Repentance.mp3"
> then
>                                       ("title", "Divine Mercy - The Gift of
> Final Repentance")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/mp3/announce/CLOSER.mp3" then
>                                       ("title", "Thank you for praying the
> Morning Offering and Prayers")
>
>                                   elsif m["filename"] ==
> "/usr/local/www/rcr/radio/current/mp3/moap-mp3-end.pls" then
>                                       ("title", "Morning Offering and
> Prayers - see www.RuralCatholicRadio.com for details")
>
>                                   else ("title", "Morning Offering and
> Prayers - see www.RuralCatholicRadio.com for details")
>
>                                   end
>
>                             else key_value end,
>                             m)
>
>                            end
>
>                            map_metadata(f,s)
>
>                     end
>
>
>                 moap = fill_in(moap)

Not sure what's wrong. Have you tried to print out values received by
the function?

Romain

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to