if you enable more verbose logs (set("log.level",5) in the script), you
should be able to see if the metadata are seen to the operator.

Here is log example of a transition where the metadata got lost:

2008/08/08 17:53:39 [src_3515:4] Buffering end of track...
2008/08/08 17:53:39 [playlist:3] Finished with "/mp3/mp3/Dragan/1/468 The 
Giving.mp3"
2008/08/08 17:53:39 [format.mp3:4] close "/mp3/mp3/Dragan/1/468 The Giving.mp3"
2008/08/08 17:53:39 [playlist:4] queue length 2646000-=1323000
2008/08/08 17:53:39 [decoder:4] Trying WAV decoder for "/mp3/mp3/Pevski konec tedna 
2003/10-Gledam telo.mp3"
2008/08/08 17:53:39 [format.mp3:4] open "/mp3/mp3/Dragan/1/187 You are my 
Provider.mp3"
2008/08/08 17:53:39 [playlist:3] Prepared "/mp3/mp3/Dragan/1/187 You are my 
Provider.mp3" -- rid 31
2008/08/08 17:53:39 [decoder:4] Trying VORBIS decoder for "/mp3/mp3/Pevski konec 
tedna 2003/10-Gledam telo.mp3"
2008/08/08 17:53:39 [decoder:4] Trying MP3 decoder for "/mp3/mp3/Pevski konec tedna 
2003/10-Gledam telo.mp3"
2008/08/08 17:53:39 [format.mp3:4] open "/mp3/mp3/Pevski konec tedna 2003/10-Gledam 
telo.mp3"
2008/08/08 17:53:39 [format.mp3:4] close "/mp3/mp3/Pevski konec tedna 2003/10-Gledam 
telo.mp3"
2008/08/08 17:53:39 [playlist:4] queue length 1323000+=1323000 (rid 33)
2008/08/08 17:53:39 [src_3515:3] Analysis: -70.506861dB / -11.977933dB (4.98s / 
2.02s)
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("album","Freedom")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("genre","Gospel & Religious")
2008/08/08 17:53:39 [smart_crossfade:4] Before: 
("comment","http://studiosvetilnik.net";)
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("filename","/mp3/mp3/Dragan/1/468 
The Giving.mp3")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("status","playing")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("year","2001")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("source","playlist")
2008/08/08 17:53:39 [smart_crossfade:4] Before: 
("initial_uri","/mp3/mp3/Dragan/1/468 The Giving.mp3")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("on_air","2008/08/08 17:50:20")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("rid","30")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("artist","Michael W. Smith")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("track","4")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("temporary","false")
2008/08/08 17:53:39 [smart_crossfade:4] Before: ("title","The Giving")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("album","Chill Out 
Celebration")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("genre","Christianity")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("comment","0")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("filename","/mp3/mp3/Dragan/1/187 
You are my Provider.mp3")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("status","playing")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("year","2005")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("source","playlist")
2008/08/08 17:53:39 [smart_crossfade:4] After : 
("initial_uri","/mp3/mp3/Dragan/1/187 You are my Provider.mp3")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("on_air","2008/08/08 17:53:39")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("rid","31")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("artist","Various Artists")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("track","1")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("temporary","false")
2008/08/08 17:53:39 [smart_crossfade:4] After : ("title","You are my Provider")
2008/08/08 17:53:39 [smart_crossfade:3] No transition: using default.
2008/08/08 17:53:39 [source:4] src_3766 gets down
2008/08/08 17:53:39 [source:4] src_3734 gets down
2008/08/08 17:53:39 [source:4] src_3821 gets up
2008/08/08 17:53:39 [source:4] src_3789 gets up
2008/08/08 17:53:39 [source:4] src_3791 gets up
2008/08/08 17:53:39 [source:4] src_3790 gets up
2008/08/08 17:53:41 [source:4] src_3790 gets down


Usually in log when everything is OK I get immediate after that the following 
lines (time is from previous song):

2008/08/08 17:50:20 [source:4] src_3709 gets down
2008/08/08 17:50:20 [source:4] src_3677 gets down
2008/08/08 17:50:20 [source:4] src_3766 gets up
2008/08/08 17:50:20 [source:4] src_3732 gets up
2008/08/08 17:50:20 [source:4] src_3734 gets up
2008/08/08 17:50:20 [source:4] src_3733 gets up
2008/08/08 17:50:25 [source:4] src_3732 gets down
2008/08/08 17:50:25 [src_3517:4] Got metadata at position 640: calling 
handler...
2008/08/08 17:50:25 [lang:3] ("album","Freedom")
2008/08/08 17:50:25 [lang:3] ("genre","Gospel & Religious")
2008/08/08 17:50:25 [lang:3] ("comment","00000000 00000210 0000078C 000000000085D1E4 
00000000 003CA47D 00000000 00000000 00000000 00000000 00000000 00000000")
2008/08/08 17:50:25 [lang:3] ("filename","/mp3/mp3/Dragan/1/468 The Giving.mp3")
2008/08/08 17:50:25 [lang:3] ("status","playing")
2008/08/08 17:50:25 [lang:3] ("year","2001")
2008/08/08 17:50:25 [lang:3] ("source","playlist")
2008/08/08 17:50:25 [lang:3] ("initial_uri","/mp3/mp3/Dragan/1/468 The 
Giving.mp3")
2008/08/08 17:50:25 [lang:3] ("on_air","2008/08/08 17:50:20")
2008/08/08 17:50:25 [lang:3] ("rid","30")
2008/08/08 17:50:25 [lang:3] ("artist","Michael W. Smith")
2008/08/08 17:50:25 [lang:3] ("track","4")
2008/08/08 17:50:25 [lang:3] ("temporary","false")
2008/08/08 17:50:25 [lang:3] ("title","The Giving")


I'm wondering wether some runtime limitation, like CPU power, could make
liquidsoap behave in a hurry at the end/begining of track, and possibly loose 
some
metadata.

My server is a dedicated one so I have load average: 0.00, 0.01, 0.00

Matej




Romain Beauxis pravi::
   Hi !

On Fri, 08 Aug 2008 16:23:36 +0200, Matej Nastran <[EMAIL PROTECTED]>
wrote:
This writes the metadata in the log file, if I get don't use smart_crossfade then I get all the metadata, otherwise just 20% of them.

Another consequence of not using smart_crossfade is some strange noice at the end/beginning of mp3 files. What could that be?

Smart_crossfade can be expensive in terms of CPU power. Also, mp3 audio format is not very handy to compute in advance the end of a
track.

Since smart_crossfade makes use of the metadata of the old and new song,
if you enable more verbose logs (set("log.level",5) in the script), you
should
be able to see if the metadata are seen to the operator.

I'm wondering wether some runtime limitation, like CPU power, could make
liquidsoap behave in a hurry at the end/begining of track, and possibly loose 
some
metadata.


Romain

--

Mir in dobro!

br. Matej

http://matej.nastran.net


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to