Hi Romain! Thanks for the debug line.
I checked the logs, and nothing shows up! I'm wondering whether the use of 'single' and 'playlist.safe' might be interferring with this function. I've tried moving the function before the source assignations, and to move the call for each source prior to it being assigned 'single', but to no avail. When I connect, the player's info box has only 'icogg.ogg' in the window. Once pre-buffering has finished, 'it changes to 'Unknown'. Neither of these behaviours is desired, but I have no idea where to change them. I thought David's function would do the trick -- and it did -- once or twice with the non-functioning liq scripts I had written (but those scripts had been moved to trash). Now that I have a functioning script, the function does not seem to work. Where would I check for output seeing that I'm running CLI to teh remote server? Any help to get this 'Unknown' behaviour changed would be greatly appreciated. Once that is done, I can get online -- finally! Thanks, Andre On Tue, 07 Dec 2010 11:17:19 -0500, Romain Beauxis <[email protected]> wrote: > Hi Andre! > > Le lundi 6 décembre 2010 22:42:48, [email protected] a écrit : >> # 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) >> list.map(fun (key_value) -> >> if key_value==("title","") then >> ("title",m["filename"]) else key_value end, >> m) >> end >> map_metadata(f,s) >> end >> >> # Then just wrap your source at an appropriate spot: >> # source = fill_in(source) >> >> >> icogg = fill_in(sstol) > > This seems ok on the surface. What you can do to debug and see what is > going > on is add a line like this in the definition of f(m): > > print("\n\nFor metadata: #{m}\n\n") > > This should print the metadata everytime they are passed to the function. > > Romain -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
