I've found a problem with the harbor input and http input code
The song value is correctly identified as the value to decode for metadata,
however copying song directly to title is not the correct action.
The song value string should be split at the "-" and the 2 split strings should
be copied to Artist and Title.
As it is now, when you take an icecast stream in and convert it to send it out,
all of the song titles come out as "- Artist - Title" instead of "Artist -
Title"
This causes fits with directories and clients.
Would appreciate some liquidsoap code guru patching this up.
In harbor_input.ml - line 58
(* Insert metadata *)
method insert_metadata m =
(* Metadata may contain only the "song" value
* or "artist" and "title". Here, we use "song"
* as the "title" field if "title" is not provided. *)
if not (Hashtbl.mem m "title") then
(try Hashtbl.add m "title" (Hashtbl.find m "song") with _ -> ());
self#log#f 3 "New metadata chunk %s -- %s."
(try Hashtbl.find m "artist" with _ -> "?")
(try Hashtbl.find m "title" with _ -> "?") ;
Generator.add_metadata generator m
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users