{"action":"opened","issue":{"url":"https://api.github.com/repos/rectalogic/mopidy-pandora/issues/7","labels_url":"https://api.github.com/repos/rectalogic/mopidy-pandora/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rectalogic/mopidy-pandora/issues/7/comments","events_url":"https://api.github.com/repos/rectalogic/mopidy-pandora/issues/7/events","html_url":"https://github.com/rectalogic/mopidy-pandora/issues/7","id":83035055,"number":7,"title":"Mopidy-pandora stops working after long periods of inactivity","user":{"login":"jcass77","id":10268911,"avatar_url":"https://avatars.githubusercontent.com/u/10268911?v=3","gravatar_id":"","url":"https://api.github.com/users/jcass77","html_url":"https://github.com/jcass77","followers_url":"https://api.github.com/users/jcass77/followers","following_url":"https://api.github.com/users/jcass77/following{/other_user}","gists_url":"https://api.github.com/users/jcass77/gists{/gist_id}","starred_url":"https://api.github.com/users/jcass77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcass77/subscriptions","organizations_url":"https://api.github.com/users/jcass77/orgs","repos_url":"https://api.github.com/users/jcass77/repos","events_url":"https://api.github.com/users/jcass77/events{/privacy}","received_events_url":"https://api.github.com/users/jcass77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-31T08:14:24Z","updated_at":"2015-05-31T08:14:24Z","closed_at":null,"body":"I sometimes leave Mopidy running for days on end on a Pi Musicbox. I've found that if I press pause after listening, and then try to resume playback or select different Pandora stations to listen to a few hours later, mopidy-pandora fails silently.\r\n\r\n* If I push play to resume the current track, the following output appears in the debug log file:\r\n\r\n```ERROR    2015-05-30 14:47:00,638 [5508:MainThread] mopidy.audio.gst\r\n  Could not open resource for reading.```\r\n\r\n* If I navigate to Browse -> Pandora -> Stations, then the 'Loading data from...' spinning wheel appears, but nothing is loaded and the station list is not displayed.\r\n\r\nI suspect that the above is due to the Pandora session expiring at some point, and that we need to find a way to check that it is still active and re-initialise if necessary?"}}