{"action":"created","issue":{"url":"https://api.github.com/repos/medoc92/upmpdcli/issues/103","repository_url":"https://api.github.com/repos/medoc92/upmpdcli","labels_url":"https://api.github.com/repos/medoc92/upmpdcli/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/medoc92/upmpdcli/issues/103/comments","events_url":"https://api.github.com/repos/medoc92/upmpdcli/issues/103/events","html_url":"https://github.com/medoc92/upmpdcli/issues/103","id":233978214,"number":103,"title":"Art for some radio streams not updating","user":{"login":"distler","id":51814,"avatar_url":"https://avatars2.githubusercontent.com/u/51814?v=3","gravatar_id":"","url":"https://api.github.com/users/distler","html_url":"https://github.com/distler","followers_url":"https://api.github.com/users/distler/followers","following_url":"https://api.github.com/users/distler/following{/other_user}","gists_url":"https://api.github.com/users/distler/gists{/gist_id}","starred_url":"https://api.github.com/users/distler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/distler/subscriptions","organizations_url":"https://api.github.com/users/distler/orgs","repos_url":"https://api.github.com/users/distler/repos","events_url":"https://api.github.com/users/distler/events{/privacy}","received_events_url":"https://api.github.com/users/distler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-06-06T18:11:23Z","updated_at":"2017-06-12T10:56:22Z","closed_at":null,"body":"It's not clear to me that this is a `upmpdcli` problem, or an irresolvable problem with the MP3 stream.\r\n\r\n```\r\n[radio FIP (Paris)]\r\nurl = http://direct.fipradio.fr/live/fip-midfi.mp3\r\nartUrl = http://www.fipradio.fr/sites/default/files/fip-quadri-filet.png\r\nartScript = /usr/local/bin/fip_art.rb\r\n```\r\n\r\nThe `artScript` fires once, when I start playing the stream, and then never again. So the song art displayed is the one associated with the first song playing when the stream started.\r\n\r\nThe result is the same in both Kazoo and Lumin, so I think it is not a CP problem.\r\n\r\nOther radio streams, like\r\n\r\n```\r\n[radio KCRW Music]\r\nurl = http://kcrw.streamguys1.com/kcrw_192k_mp3_e24_internet_radio\r\nartUrl = http://www.kcrw.com/music/shows/eclectic24/@@images/square_image\r\nartScript = /usr/local/bin/kcrw_music_art.rb\r\n```\r\n\r\ndo update the song art correctly, so my best guess is that `upmpdcli` is treating the FIP stream as one, infinitely-long, song.\r\n\r\nA possible workaround would be a configuration option to re-fire the artScript at a user-defined interval, even if `upmpdcli` \"thinks\" the current song is still playing."},"comment":{"url":"https://api.github.com/repos/medoc92/upmpdcli/issues/comments/307757087","html_url":"https://github.com/medoc92/upmpdcli/issues/103#issuecomment-307757087","issue_url":"https://api.github.com/repos/medoc92/upmpdcli/issues/103","id":307757087,"user":{"login":"serverbaboon","id":23579355,"avatar_url":"https://avatars1.githubusercontent.com/u/23579355?v=3","gravatar_id":"","url":"https://api.github.com/users/serverbaboon","html_url":"https://github.com/serverbaboon","followers_url":"https://api.github.com/users/serverbaboon/followers","following_url":"https://api.github.com/users/serverbaboon/following{/other_user}","gists_url":"https://api.github.com/users/serverbaboon/gists{/gist_id}","starred_url":"https://api.github.com/users/serverbaboon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serverbaboon/subscriptions","organizations_url":"https://api.github.com/users/serverbaboon/orgs","repos_url":"https://api.github.com/users/serverbaboon/repos","events_url":"https://api.github.com/users/serverbaboon/events{/privacy}","received_events_url":"https://api.github.com/users/serverbaboon/received_events","type":"User","site_admin":false},"created_at":"2017-06-12T10:56:22Z","updated_at":"2017-06-12T10:56:22Z","body":"Just to be clear in my head if we cannot return a reload time do we return a null value or not return the key value pair at all?\r\n\r\n{\r\n    \"title\":\"The title of the current track\",\r\n    \"artist\":\"The artist playing\",\r\n    \"artUrl\":\"https://www.somesite.com/path/to/image.jpg\",\r\n}"}}
{"actor":{"display_login":"serverbaboon"}}