I am using libmpdclient (version 2.10) to write a LuaJIT-based MPD client. I run into an issue when I am trying to add a comment to a radio station URI which I add to the queue. The comment is successfully feed to the song as a tag. However, after issueing the play command, the tag is gone.
This is the pseudo-code: id = mpd_run_add_id(conn,uri) song = mpd_run_get_queue_song_id(conn,id) pair.name = "Comment" pair.value = "My comment for the URL" mpd_song_feed(song,pair) s = mpd_song_get_tag(song,MPD_TAG_COMMENT,0) > "My comment for the song" mpd_run_play(conn) s = mpd_song_get_tag(song,MPD_TAG_COMMENT,0) > NULL I can retrieve other tags like title and name, but the comment is not available anymore. My goal is to attach some user information to a radio station when the URI is added to a playlist and fetch these information when the radio station is currently played. Best regards Jörg Krause _______________________________________________ mpd-devel mailing list [email protected] http://mailman.blarg.de/listinfo/mpd-devel
