Thank you for your answer,

now I have changed the logging part to this, in order to get the system time instead of the airplay (which looked more useful to me).

# Metadaten loggen
# output on stdout
full = on_metadata(fun(meta) -> system("date --date='today' '+%d.%m.%Y - %H:%M:%S'"),full)
full = on_metadata(fun(meta) -> system("echo #{quote(string_of(meta[\"song\"]))} - #{quote(meta[\"artist\"])} - #{quote(meta[\"title\"])}"),full)

# Output into file
full = on_metadata(fun(meta) -> system("date --date='today' '+%d.%m.%Y - %H:%M:%S' >> /home/musik/gespielt.log"),full)
full = on_metadata(fun(meta) -> system("echo #{quote(string_of(meta[\"song\"]))} - #{quote(meta[\"artist\"])} - #{quote(meta[\"title\"])}>> /home/musik/gespielt.log"),full)


And now, this happens:

...
17.08.2009 - 20:56:52
 - Leftfield - Inspection (Check One)
17.08.2009 - 21:03:13
17.08.2009 - 21:03:13
 - Culture Kultür - Listen
 - Das Ich - Kindgott (The Fair Sex)
17.08.2009 - 21:03:13
 - Culture Kultür - Listen
17.08.2009 - 21:08:35
 - Amduscia - Merciless Vain Reign
17.08.2009 - 21:15:07
 - God Module - Symmetry
17.08.2009 - 21:19:56
 - Heimataerde - Musikerhaende (Uncut Version)
17.08.2009 - 21:25:14
 - C.A.P - Are_we_strong
17.08.2009 - 21:29:41
 - Diary of Dreams - Bird Without Wings
17.08.2009 - 21:32:14
 - d1sh1tu - N-CrypT
17.08.2009 - 21:38:36
17.08.2009 - 21:38:36
 - Alien Produkt - El Proceso (Suicide Solution Mix)
 - Heimataerde - Musikerhaende (Uncut Version)
17.08.2009 - 21:38:36
 - Alien Produkt - El Proceso (Suicide Solution Mix)
17.08.2009 - 21:42:35
17.08.2009 - 21:42:35
 - Kommando XY - Gestrikland
 - C.A.P - Are_we_strong
17.08.2009 - 21:42:35
 - Kommando XY - Gestrikland
17.08.2009 - 21:45:15
17.08.2009 - 21:45:15
 - Das Ich - Unschuld Erde
 - Alien Produkt - El Proceso (Suicide Solution Mix)
17.08.2009 - 21:45:15
 - Das Ich - Unschuld Erde
17.08.2009 - 21:51:13
17.08.2009 - 21:51:13
 - Combichrist - without emotions
 - d1sh1tu - N-CrypT
...

Seems like both titles are being called at the same time and generate the same Metadata output.
Afterwards, Liquidsoap decides, which one is to be taken. But that's just an idea :(

I hope, this will help bringing some light into this issue.

Best regards
Chricken



David Baelde schrieb:
Hi,

2009/8/16 Chricken <[email protected]>:
  
As you can see, some entrys are double with one entry in between. The times
are confusing.
This only happens from 21:00 to 3:00. That is the time, when there is a
random source running.
In the stream I can't hear anything strange.
    

When a source is shared (e.g., elektro being accessed directly by
switch, and indirectly via a random in hartX) some mechanisms are used
to enforce metadata consistency. They might be related to your issue,
although I don't see it clearly yet.

Let me illustrate quickly with the following example:
  out(x)
  out(fallback[y,x])
Here x is shared. Suppose at first x is played by both outputs, then
the second one switches to y. The first output keeps playing x,
pulling a stream from it. When the fallback comes back to x, there
will have been a gap in its stream. Notably, the last metadata from x
seen by the second output will be irrelevant. We might now be 5 tracks
later, and in a middle of a track. So a special mechanism is used to
insert, possibly in the middle of the current track of x, the metadata
corresponding to that track.

Although I don't know of any remaining problem with that device, it is
a non-trivial one that can be bugged, or simply surprising. In any
case, it explains that you can't hear anything: it's purely a metadata
issue.

In order to understand better, I would like you to log not only the
song title (which contains the airing date) but also the time of
logging. More precisely, I'm wondering whether the doubled metadata is
instantaneously replaced by another one.

In the meantime, if you want to tinker with this problem, you can try
to change the place where the logging takes place.

Cheers,
  

------------------------------------------------------------------------------
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
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to