Hi, I think the metadata is renamed to lowercase in order to unify between various tag types. So, you should use
title = m["title"] ++ Sam. On Sat, Apr 6, 2013 at 11:41 AM, Rob Canning <[email protected]> wrote: > hi, > > what am i doing wrong here... i cant seem to access the metadata of an > ogg vorbis file: > > rob@rob-nT-330i:~$ vorbiscomment Hitch_Hiker.ogg |grep TITLE > TITLE=Hitch_Hiker > > rob@rob-nT-330i:~$ cat test.liq > > set("log.file.path","test.log") > sound = single("~/Hitch_Hiker.ogg") > > sound = mksafe(sound) > > def print_meta(m) > title= m["TITLE"] > print("this is: #{title} innit") > end > > sound = on_metadata(print_meta,sound) > output.alsa(sound) > > rob@rob-nT-330i:~$ liquidsoap test.liq > this is: innit > > thanks > > rob > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
