{"action":"closed","issue":{"url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/568","repository_url":"https://api.github.com/repos/mps-youtube/mps-youtube","labels_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/568/comments","events_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/568/events","html_url":"https://github.com/mps-youtube/mps-youtube/issues/568","id":195996885,"number":568,"title":"Stopping music stream rather than using 'q' command ","user":{"login":"KEINOS","id":11840938,"avatar_url":"https://avatars3.githubusercontent.com/u/11840938?v=4","gravatar_id":"","url":"https://api.github.com/users/KEINOS","html_url":"https://github.com/KEINOS","followers_url":"https://api.github.com/users/KEINOS/followers","following_url":"https://api.github.com/users/KEINOS/following{/other_user}","gists_url":"https://api.github.com/users/KEINOS/gists{/gist_id}","starred_url":"https://api.github.com/users/KEINOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KEINOS/subscriptions","organizations_url":"https://api.github.com/users/KEINOS/orgs","repos_url":"https://api.github.com/users/KEINOS/repos","events_url":"https://api.github.com/users/KEINOS/events{/privacy}","received_events_url":"https://api.github.com/users/KEINOS/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-12-16T07:25:48Z","updated_at":"2017-12-04T01:42:33Z","closed_at":"2017-12-04T01:42:33Z","author_association":"NONE","body":"Are there any commands or ways to stop multiple threads of mpsyt sound-only-stream running at once?\r\n\r\nI'm using mpsyt on RasPi(Raspbian) as a music streaming player in our office. And works great.\r\n\r\nI know, from SSH, using 'q' command or 'ctl+c' will end mpsyt run, and stop the current music playing.\r\n\r\nBut since I'm the only SSH user in my office, I made a simple PHP program that calls .sh file that streams sound-only youtube clip using mpsyt, so anyone could request the music to play.\r\n\r\nThe problem is, while playing a song, if another one requests a song, it plays on top of each other.\r\nSo I want to stop the current play or kill all the streams before playing the new one.\r\n\r\nWhat would be the best way to stop current play, rather than quitting the app (using 'q' cmd)?"}}
{"actor":{"display_login":"KEINOS"}}