{"action":"created","issue":{"url":"https://api.github.com/repos/werwolfby/monitorrent/issues/206","repository_url":"https://api.github.com/repos/werwolfby/monitorrent","labels_url":"https://api.github.com/repos/werwolfby/monitorrent/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/werwolfby/monitorrent/issues/206/comments","events_url":"https://api.github.com/repos/werwolfby/monitorrent/issues/206/events","html_url":"https://github.com/werwolfby/monitorrent/issues/206","id":213974925,"number":206,"title":"Please add label in deluge","user":{"login":"ivp969","id":26199847,"avatar_url":"https://avatars0.githubusercontent.com/u/26199847?v=3","gravatar_id":"","url":"https://api.github.com/users/ivp969","html_url":"https://github.com/ivp969","followers_url":"https://api.github.com/users/ivp969/followers","following_url":"https://api.github.com/users/ivp969/following{/other_user}","gists_url":"https://api.github.com/users/ivp969/gists{/gist_id}","starred_url":"https://api.github.com/users/ivp969/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivp969/subscriptions","organizations_url":"https://api.github.com/users/ivp969/orgs","repos_url":"https://api.github.com/users/ivp969/repos","events_url":"https://api.github.com/users/ivp969/events{/privacy}","received_events_url":"https://api.github.com/users/ivp969/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-14T05:49:14Z","updated_at":"2017-03-14T09:23:08Z","closed_at":null,"body":"Хотелось бы иметь возможность добавления метки к торренту в deluge\r\n\r\nвот пример реализации: \r\n[https://github.com/deluge-torrent/deluge/blob/develop/deluge/plugins/AutoAdd/deluge/plugins/autoadd/core.py#L290](url) \r\n\r\nплагин \"Label\" в стандартной поставке"},"comment":{"url":"https://api.github.com/repos/werwolfby/monitorrent/issues/comments/286365383","html_url":"https://github.com/werwolfby/monitorrent/issues/206#issuecomment-286365383","issue_url":"https://api.github.com/repos/werwolfby/monitorrent/issues/206","id":286365383,"user":{"login":"dein0s","id":7908313,"avatar_url":"https://avatars0.githubusercontent.com/u/7908313?v=3","gravatar_id":"","url":"https://api.github.com/users/dein0s","html_url":"https://github.com/dein0s","followers_url":"https://api.github.com/users/dein0s/followers","following_url":"https://api.github.com/users/dein0s/following{/other_user}","gists_url":"https://api.github.com/users/dein0s/gists{/gist_id}","starred_url":"https://api.github.com/users/dein0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dein0s/subscriptions","organizations_url":"https://api.github.com/users/dein0s/orgs","repos_url":"https://api.github.com/users/dein0s/repos","events_url":"https://api.github.com/users/dein0s/events{/privacy}","received_events_url":"https://api.github.com/users/dein0s/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T09:23:08Z","updated_at":"2017-03-14T09:23:08Z","body":"пример реализации не из той области, т.к. monitorent не является плагином для deluge, и для общения между собой эти ребята используют rpc.\r\n\r\nинфа тут https://github.com/deluge-torrent/deluge/blob/develop/deluge/plugins/Label/deluge/plugins/label/core.py#L289\r\n\r\nпримерный вызов будет выглядеть:\r\n```\r\ncall(\"label.set_torrent\", torrent_hash.lower(), label_id)\r\n```\r\n\r\nвроде еще можно отправить как опцию при вызове `add_torrent_file`, но там надо раскурить код, а я уже засыпаю :)"}}
{"actor":{"display_login":"dein0s"}}