On Thu, 27 Dec 2012 00:04:33 -0500, Martin Konečný  
<[email protected]> wrote:

> You could try posting a small snippet of code that recreates the problem
> and we can take a look.
>
> M


Hi Martin,

Here is show snippet that worked well before the upgrade to LS 1.0.0.2:


  # === EMED ===


                 a =  
audio_to_stereo(single("/usr/local/www/rcr/mp3/announce/opener/opener-emed.mp3"))

                 b = audio_to_stereo(playlist.safe(mode="normal",  
"/usr/local/www/rcr/radio/current/mp3/today-tioc-mp3.pls"))

                 c =  
audio_to_stereo(single("/usr/local/www/rcr/mp3/announce/CLOSER.mp3"))

                d =  
audio_to_stereo(single("/usr/local/www/rcr/mp3/music/Genuis/Timeless/odd/Eric_Genuis_-_Timeless_-_05_-_Tears_in_Silence.mp3"))




            emed = sequence([a,b,c,d])



                # 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/opener/opener-emed.mp3" then
                                      ("title", "Welcome to Evening Meditation")
                                
                                  elsif m["filename"] ==  
"/usr/local/www/rcr/radio/current/mp3/today-emed-mp3.pls" then
                                      ("title", "Evening Meditation - with 
Thomas a Kempis - see  
www.RuralCatholicRadio.com for details")

                                  elsif m["filename"] == 
"/usr/local/www/rcr/mp3/announce/CLOSER.mp3"  
then
                                      ("title", "Thank you for listening to an 
Evening Meditation")

                                  elsif m["filename"] ==  
"/usr/local/www/rcr/radio/current/mp3/emed-mp3-end.pls" then
                                      ("title", "Evening Meditation - with 
Thomas a Kempis - see  
www.RuralCatholicRadio.com for details")

                                  else ("title", "Evening Meditation - with 
Thomas a Kempis - see  
www.RuralCatholicRadio.com for details")
        
                                  end

                            else key_value end,
                            m)

                           end

                           map_metadata(f,s)

                    end

                
                emed = fill_in(emed)



I am puzzled simply because I don't know where to look: my code,  
liquidsoap, icecast??
I have a feeling that my IP may have forgot to upgrade something that the  
metadata needs - perhaps taglib?


I would like to get it up and running again, but then again if I don't  
know where to look -- I'll be going around in circles.

Blessings,
kronos




> On Dec 26, 2012 7:35 PM, <[email protected]> wrote:
>
>> On Wed, 26 Dec 2012 12:06:39 -0500, Romain Beauxis  
>> <[email protected]>
>> wrote:
>>
>> > Hi Kronos,
>> >
>> > 2012/12/25  <[email protected]>:
>> >> I have been attempting to track down why 'Current Song: . . .'
>> >> information
>> >> is no
>> >> longer displayed in Icecast's YP for my station, Rural Catholic  
>> Radio.
>> >> This happened
>> >> after my upgrade from LS 0.92 to LS 1.0.0.2.
>> >>
>> >> I also noticed that Icecast's YP for my genre (Catholic) now displays
>> >> 'On
>> >> Air'
>> >> instead of 'Current Song'. However, only one station displays it.
>> >>
>> >> Might that be what the problem is? Perhaps the innards of Liquidsoap  
>> is
>> >> sending
>> >> metadata under 'Current Song' rather than the seemingly new 'On Air'?
>> >>
>> >> Hoping there might be a fix here . . .
>> >
>> > As far as I know, icecast YP is setup and updated by the icecast
>> > server. Therefore, liquidsoap has very little to do with it..
>> >
>> > What do you see for the metadata in your icecast admin interface?
>>
>> I see  "Current Song: Unknown".
>>
>> Perhaps it was a co-incidence that the information ceased displaying
>> after the upgrade from LS 0.92 to LS 1.0.02.
>>
>> I think I'll just have to live with it.
>>
>> Thanks,
>> kronos
>>
>> >
>> > Romain
>>
>>
>> --
>> Using Opera's revolutionary email client: http://www.opera.com/mail/
>>
>>
>> ------------------------------------------------------------------------------
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122712
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>


-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to