{"action":"created","issue":{"url":"https://api.github.com/repos/mikebrady/shairport-sync-metadata-reader/issues/2","labels_url":"https://api.github.com/repos/mikebrady/shairport-sync-metadata-reader/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mikebrady/shairport-sync-metadata-reader/issues/2/comments","events_url":"https://api.github.com/repos/mikebrady/shairport-sync-metadata-reader/issues/2/events","html_url":"https://github.com/mikebrady/shairport-sync-metadata-reader/issues/2","id":98846288,"number":2,"title":"cat fifo file","user":{"login":"ktruckenmiller","id":1864889,"avatar_url":"https://avatars.githubusercontent.com/u/1864889?v=3","gravatar_id":"","url":"https://api.github.com/users/ktruckenmiller","html_url":"https://github.com/ktruckenmiller","followers_url":"https://api.github.com/users/ktruckenmiller/followers","following_url":"https://api.github.com/users/ktruckenmiller/following{/other_user}","gists_url":"https://api.github.com/users/ktruckenmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/ktruckenmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktruckenmiller/subscriptions","organizations_url":"https://api.github.com/users/ktruckenmiller/orgs","repos_url":"https://api.github.com/users/ktruckenmiller/repos","events_url":"https://api.github.com/users/ktruckenmiller/events{/privacy}","received_events_url":"https://api.github.com/users/ktruckenmiller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-03T21:57:06Z","updated_at":"2015-09-01T14:15:40Z","closed_at":"2015-09-01T12:13:44Z","body":"Hey Mike,\r\n\r\nI'm trying to figure out how to read the meta data. So far, I made a fifo file in shairport-sync-metadata-reader/tmp/shairport-sync-metadata\r\n\r\nI have shairport-sync running in the background with\r\n./shairport-sync -a \"My Airplay\" \r\n\r\n\r\nThen I run \r\nshairport-sync-metadata-reader < /tmp/shairport-sync-metadata\r\n\r\nand I cat the fifo file that I've made with\r\ncat tmp/shairport-sync-metadata \r\n\r\nand I'm not getting any output from the pipe.  Any ideas?"},"comment":{"url":"https://api.github.com/repos/mikebrady/shairport-sync-metadata-reader/issues/comments/136735504","html_url":"https://github.com/mikebrady/shairport-sync-metadata-reader/issues/2#issuecomment-136735504","issue_url":"https://api.github.com/repos/mikebrady/shairport-sync-metadata-reader/issues/2","id":136735504,"user":{"login":"ktruckenmiller","id":1864889,"avatar_url":"https://avatars.githubusercontent.com/u/1864889?v=3","gravatar_id":"","url":"https://api.github.com/users/ktruckenmiller","html_url":"https://github.com/ktruckenmiller","followers_url":"https://api.github.com/users/ktruckenmiller/followers","following_url":"https://api.github.com/users/ktruckenmiller/following{/other_user}","gists_url":"https://api.github.com/users/ktruckenmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/ktruckenmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktruckenmiller/subscriptions","organizations_url":"https://api.github.com/users/ktruckenmiller/orgs","repos_url":"https://api.github.com/users/ktruckenmiller/repos","events_url":"https://api.github.com/users/ktruckenmiller/events{/privacy}","received_events_url":"https://api.github.com/users/ktruckenmiller/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T14:15:40Z","updated_at":"2015-09-01T14:15:40Z","body":"Thanks for the help Mike.  I think I figured it out for the node portion. \r\n\r\nI made a temporary string that just adds on fifo reads until it has something that it can parse. Once it has complete song/title information - it resets the string and waits for the next one.  \r\n\r\nCode is here for anyone interested. \r\n\r\nhttps://github.com/ktruckenmiller/node-shairport-metaparser"}}