{"action":"created","comment":{"url":"https://api.github.com/repos/ultrabug/py3status/pulls/comments/70540137","id":70540137,"diff_hunk":"@@ -0,0 +1,378 @@\n+# -*- coding: utf-8 -*-\n+\"\"\"\n+Display information about the current song and video playing on player with\n+mpris support.\n+\n+There are two ways to control the media player. Either by clicking with a mouse\n+button in the text information or by using buttons_control. For former you have\n+to define the button parameters in the i3status config.\n+\n+Configuration parameters:\n+    button_play: mouse button to toggle between play and pause mode\n+    button_stop: mouse button to stop the player\n+    button_next: mouse button to play the next entry\n+    button_previous: mouse button to play the previous entry\n+    buttons_control: where to show the control buttons (see format_buttons).\n+            Can be left, right or none\n+    buttons_order: order of the buttons play, stop, next and previous\n+    color_paused: text color when song is paused, defaults to color_degraded\n+    color_playing: text color when song is playing, defaults to color_good\n+    color_stopped: text color when song is stopped, defaults to color_bad\n+    format: see placeholders below\n+    format_stream: see placeholders below, keep in mind that {artist} and\n+            {album} are empty. This format is also used for videos or just media\n+            files without an artist information or any other metadata!\n+    format_none: define output if no player is running\n+    state_pause: text for placeholder {state} when song is paused\n+    state_play: text for placeholder {state} when song is playing\n+    state_stop: text for placeholder {state} when song is stopped\n+    player_priority: priority of the players.\n+            Keep in mind that the state has a higher priority than\n+            player_priority. So when player_priority is \"mpd,bomi\" and mpd is\n+            paused and bomi is playing than bomi wins.\n+\n+Format of status string placeholders:\n+    {album} album name\n+    {artist} artiste name (first one)\n+    {length} time duration of the song\n+    {player} show name of the player\n+    {state} playback status of the player\n+    {time} played time of the song\n+    {title} name of the song\n+\n+i3status.conf example:\n+\n+```\n+mpris {\n+    format = \"{player}: {state} {artist} - {title} [{time} / {length}]\"\n+    format_stream = \"{player}: {state} {title} [{time} / {length}]\"\n+    format_none = \"no player\"\n+    buttons_control = \"left\"\n+    buttons_order = \"previous,play,next\"\n+    player_priority = \"mpd,cantata,vlc,bomi,*\"\n+}\n+```\n+\n+only show information from vlc:\n+\n+```\n+mpris {\n+    player_priority = \"vlc\"\n+}\n+```\n+\n+only show information from mpd and vlc, but mpd has a higher priority:\n+\n+```\n+mpris {\n+    player_priority = \"mpd,vlc\"\n+}\n+```\n+\n+show information of all players, but mpd and vlc have the highest priority:\n+\n+```\n+mpris {\n+    player_priority = \"mpd,vlc,*\"\n+}\n+```\n+\n+Requires:\n+    pydbus\n+\n+@author Pierre Guilbert, Jimmy Garpehäll, sondrele, Andrwe, Moritz Lüdecke\n+\"\"\"\n+\n+from datetime import timedelta\n+from time import time\n+import re\n+from pydbus import SessionBus\n+\n+\n+SERVICE_BUS = 'org.mpris.MediaPlayer2'\n+INTERFACE = SERVICE_BUS + '.Player'\n+SERVICE_BUS_URL = '/org/mpris/MediaPlayer2'\n+SERVICE_BUS_REGEX = '^' + re.sub(r'\\.', '\\.', SERVICE_BUS) + '.'\n+UNKNOWN = 'Unknown'\n+UNKNOWN_TIME = '-:--'\n+\n+\n+def _get_time_str(microseconds):\n+    seconds = int(microseconds / 1000000)\n+    time = str(timedelta(seconds=seconds))\n+    if time[0] == '0':\n+        time = time[2:]\n+        if time[0] == '0':\n+            time = time[1:]\n+\n+    return time\n+\n+\n+class Py3status:\n+    \"\"\"\n+    \"\"\"\n+    # available configuration parameters\n+    button_play = 1\n+    button_stop = None\n+    button_next = 4\n+    button_previous = 5\n+    buttons_control = None\n+    buttons_order = 'previous,play,next'\n+    color_paused = None\n+    color_playing = None\n+    color_stopped = None\n+    format = '{state} {artist} - {title}'\n+    format_stream = '{state} {title}'\n+    format_none = 'no player running'\n+    state_pause = '▮▮'\n+    state_play = '▶'\n+    state_stop = '◾'\n+    state_next = '»'\n+    state_previous = '«'\n+    player_priority = None\n+\n+    def _get_player(self, player):\n+        \"\"\"\n+        Get dbus object\n+        \"\"\"\n+        try:\n+            return self._dbus.get(SERVICE_BUS + '.%s' % player, SERVICE_BUS_URL)\n+        except Exception:\n+            return None\n+\n+    def _get_state(self, player):\n+        \"\"\"\n+        Get the state of a player\n+        \"\"\"\n+        player = self._get_player(player)\n+        if player is None:\n+            return 'None'\n+\n+        return player.PlaybackStatus\n+\n+    def _get_state_format(self, i3s_config):\n+        playback_status = self._player.PlaybackStatus\n+\n+        if playback_status == 'Playing':\n+            color = self.color_playing or i3s_config['color_good']\n+            state = self.state_play\n+        elif playback_status == 'Paused':\n+            color = self.color_paused or i3s_config['color_degraded']\n+            state = self.state_pause\n+        else:\n+            color = self.color_stopped or i3s_config['color_bad']\n+            state = self.state_stop\n+\n+        return (color, state)\n+\n+    def _detect_running_player(self):\n+        \"\"\"\n+        Detect running player process, if any\n+        \"\"\"\n+        players_paused = []\n+        players_stopped = []\n+        players = []\n+        players_prioritized = []\n+\n+        _dbus = self._dbus.get('org.freedesktop.DBus')\n+        for player in _dbus.ListNames():\n+            if SERVICE_BUS in player:\n+                player = re.sub(r'%s' % SERVICE_BUS_REGEX, '', player)\n+                players.append(player)\n+\n+        if self.player_priority is None:\n+            players_prioritized = players\n+        else:\n+            player_priority = self.player_priority.split(',')\n+\n+            for player_name in player_priority:\n+                if player_name in players:\n+                    players.remove(player_name)\n+                    players_prioritized.append(player_name)\n+            if '*' in player_priority:\n+                players_prioritized += players\n+\n+        for player_name in players_prioritized:\n+            player_state = self._get_state(player_name)\n+\n+            if player_state == 'Playing':\n+                return player_name\n+            elif player_state == 'Paused':\n+                players_paused.append(player_name)\n+            else:\n+                players_stopped.append(player_name)\n+\n+        if players_paused:\n+            return players_paused[0]\n+        if players_stopped:\n+            return players_stopped[0]\n+\n+        return 'None'\n+\n+    def _get_text(self, i3s_config):\n+        \"\"\"\n+        Get the current metadatas\n+        \"\"\"\n+        is_stream = False\n+        player = UNKNOWN\n+        state = UNKNOWN\n+        artist = UNKNOWN\n+        album = UNKNOWN\n+        length = UNKNOWN_TIME\n+        time = UNKNOWN_TIME\n+        title = UNKNOWN\n+\n+        try:\n+            player = self._player.Identity\n+            (color, state) = self._get_state_format(i3s_config)\n+\n+            _time_ms = self._player.Position\n+            time = _get_time_str(_time_ms)\n+\n+            metadata = self._player.Metadata\n+            if len(metadata) > 0:\n+                is_stream = 'file://' not in metadata.get('xesam:url')\n+                title = metadata.get('xesam:title') or UNKNOWN\n+                album = metadata.get('xesam:album') or UNKNOWN\n+\n+                if metadata.get('xesam:artist') is not None:\n+                    artist = metadata.get('xesam:artist')[0]\n+                else:\n+                    # we assume here that we playing a video and these types of\n+                    # media we handle just like streams\n+                    is_stream = True\n+\n+                _length_ms = metadata.get('mpris:length')\n+                if _length_ms is not None:\n+                    length = _get_time_str(_length_ms)\n+            else:\n+                # use stream format if no metadata is available\n+                is_stream = True\n+        except Exception:\n+            color = i3s_config['color_bad']\n+\n+        if is_stream:\n+            # delete the file extension\n+            title = re.sub(r'\\....$', '', title)","path":"py3status/modules/mpris.py","position":256,"original_position":256,"commit_id":"fc4e8c195b192e2b9f9eb3b77e7cf3d813bf827d","original_commit_id":"fc4e8c195b192e2b9f9eb3b77e7cf3d813bf827d","user":{"login":"tobes","id":56311,"avatar_url":"https://avatars.githubusercontent.com/u/56311?v=3","gravatar_id":"","url":"https://api.github.com/users/tobes","html_url":"https://github.com/tobes","followers_url":"https://api.github.com/users/tobes/followers","following_url":"https://api.github.com/users/tobes/following{/other_user}","gists_url":"https://api.github.com/users/tobes/gists{/gist_id}","starred_url":"https://api.github.com/users/tobes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobes/subscriptions","organizations_url":"https://api.github.com/users/tobes/orgs","repos_url":"https://api.github.com/users/tobes/repos","events_url":"https://api.github.com/users/tobes/events{/privacy}","received_events_url":"https://api.github.com/users/tobes/received_events","type":"User","site_admin":false},"body":"Your regex `r'\\....$'` only catches 3 letter extensions `r'\\.[^.]+*$'` might be better.  But is hiding the extension important?  I'm not sure.  Do all streams have extensions? what if there is a `.` in a 'proper' title ","created_at":"2016-07-12T23:18:14Z","updated_at":"2016-07-12T23:18:14Z","html_url":"https://github.com/ultrabug/py3status/pull/354#discussion_r70540137","pull_request_url":"https://api.github.com/repos/ultrabug/py3status/pulls/354","_links":{"self":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/comments/70540137"},"html":{"href":"https://github.com/ultrabug/py3status/pull/354#discussion_r70540137"},"pull_request":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/354"}}},"pull_request":{"url":"https://api.github.com/repos/ultrabug/py3status/pulls/354","id":75438910,"html_url":"https://github.com/ultrabug/py3status/pull/354","diff_url":"https://github.com/ultrabug/py3status/pull/354.diff","patch_url":"https://github.com/ultrabug/py3status/pull/354.patch","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/354","number":354,"state":"open","locked":false,"title":"Added MPRIS module","user":{"login":"ritze","id":1204299,"avatar_url":"https://avatars.githubusercontent.com/u/1204299?v=3","gravatar_id":"","url":"https://api.github.com/users/ritze","html_url":"https://github.com/ritze","followers_url":"https://api.github.com/users/ritze/followers","following_url":"https://api.github.com/users/ritze/following{/other_user}","gists_url":"https://api.github.com/users/ritze/gists{/gist_id}","starred_url":"https://api.github.com/users/ritze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritze/subscriptions","organizations_url":"https://api.github.com/users/ritze/orgs","repos_url":"https://api.github.com/users/ritze/repos","events_url":"https://api.github.com/users/ritze/events{/privacy}","received_events_url":"https://api.github.com/users/ritze/received_events","type":"User","site_admin":false},"body":"Just check if some player with mpris support is running and show the song information. You can also prioritize your players.","created_at":"2016-06-28T08:43:32Z","updated_at":"2016-07-12T23:18:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63f32dbbb8128e91e1c930ffe1faa41af806c395","assignee":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"assignees":[{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ultrabug/py3status/pulls/354/commits","review_comments_url":"https://api.github.com/repos/ultrabug/py3status/pulls/354/comments","review_comment_url":"https://api.github.com/repos/ultrabug/py3status/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/354/comments","statuses_url":"https://api.github.com/repos/ultrabug/py3status/statuses/fc4e8c195b192e2b9f9eb3b77e7cf3d813bf827d","head":{"label":"ritze:mpris","ref":"mpris","sha":"fc4e8c195b192e2b9f9eb3b77e7cf3d813bf827d","user":{"login":"ritze","id":1204299,"avatar_url":"https://avatars.githubusercontent.com/u/1204299?v=3","gravatar_id":"","url":"https://api.github.com/users/ritze","html_url":"https://github.com/ritze","followers_url":"https://api.github.com/users/ritze/followers","following_url":"https://api.github.com/users/ritze/following{/other_user}","gists_url":"https://api.github.com/users/ritze/gists{/gist_id}","starred_url":"https://api.github.com/users/ritze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritze/subscriptions","organizations_url":"https://api.github.com/users/ritze/orgs","repos_url":"https://api.github.com/users/ritze/repos","events_url":"https://api.github.com/users/ritze/events{/privacy}","received_events_url":"https://api.github.com/users/ritze/received_events","type":"User","site_admin":false},"repo":{"id":62120120,"name":"py3status","full_name":"ritze/py3status","owner":{"login":"ritze","id":1204299,"avatar_url":"https://avatars.githubusercontent.com/u/1204299?v=3","gravatar_id":"","url":"https://api.github.com/users/ritze","html_url":"https://github.com/ritze","followers_url":"https://api.github.com/users/ritze/followers","following_url":"https://api.github.com/users/ritze/following{/other_user}","gists_url":"https://api.github.com/users/ritze/gists{/gist_id}","starred_url":"https://api.github.com/users/ritze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ritze/subscriptions","organizations_url":"https://api.github.com/users/ritze/orgs","repos_url":"https://api.github.com/users/ritze/repos","events_url":"https://api.github.com/users/ritze/events{/privacy}","received_events_url":"https://api.github.com/users/ritze/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ritze/py3status","description":"py3status is an extensible i3status wrapper written in python","fork":true,"url":"https://api.github.com/repos/ritze/py3status","forks_url":"https://api.github.com/repos/ritze/py3status/forks","keys_url":"https://api.github.com/repos/ritze/py3status/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ritze/py3status/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ritze/py3status/teams","hooks_url":"https://api.github.com/repos/ritze/py3status/hooks","issue_events_url":"https://api.github.com/repos/ritze/py3status/issues/events{/number}","events_url":"https://api.github.com/repos/ritze/py3status/events","assignees_url":"https://api.github.com/repos/ritze/py3status/assignees{/user}","branches_url":"https://api.github.com/repos/ritze/py3status/branches{/branch}","tags_url":"https://api.github.com/repos/ritze/py3status/tags","blobs_url":"https://api.github.com/repos/ritze/py3status/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ritze/py3status/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ritze/py3status/git/refs{/sha}","trees_url":"https://api.github.com/repos/ritze/py3status/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ritze/py3status/statuses/{sha}","languages_url":"https://api.github.com/repos/ritze/py3status/languages","stargazers_url":"https://api.github.com/repos/ritze/py3status/stargazers","contributors_url":"https://api.github.com/repos/ritze/py3status/contributors","subscribers_url":"https://api.github.com/repos/ritze/py3status/subscribers","subscription_url":"https://api.github.com/repos/ritze/py3status/subscription","commits_url":"https://api.github.com/repos/ritze/py3status/commits{/sha}","git_commits_url":"https://api.github.com/repos/ritze/py3status/git/commits{/sha}","comments_url":"https://api.github.com/repos/ritze/py3status/comments{/number}","issue_comment_url":"https://api.github.com/repos/ritze/py3status/issues/comments{/number}","contents_url":"https://api.github.com/repos/ritze/py3status/contents/{+path}","compare_url":"https://api.github.com/repos/ritze/py3status/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ritze/py3status/merges","archive_url":"https://api.github.com/repos/ritze/py3status/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ritze/py3status/downloads","issues_url":"https://api.github.com/repos/ritze/py3status/issues{/number}","pulls_url":"https://api.github.com/repos/ritze/py3status/pulls{/number}","milestones_url":"https://api.github.com/repos/ritze/py3status/milestones{/number}","notifications_url":"https://api.github.com/repos/ritze/py3status/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ritze/py3status/labels{/name}","releases_url":"https://api.github.com/repos/ritze/py3status/releases{/id}","deployments_url":"https://api.github.com/repos/ritze/py3status/deployments","created_at":"2016-06-28T07:35:39Z","updated_at":"2016-06-28T07:35:40Z","pushed_at":"2016-07-12T20:05:31Z","git_url":"git://github.com/ritze/py3status.git","ssh_url":"git@github.com:ritze/py3status.git","clone_url":"https://github.com/ritze/py3status.git","svn_url":"https://github.com/ritze/py3status","homepage":"","size":1422,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ultrabug:master","ref":"master","sha":"d11102274c6ea12c7df12897ed0b3d0767a65117","user":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"repo":{"id":8292338,"name":"py3status","full_name":"ultrabug/py3status","owner":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ultrabug/py3status","description":"py3status is an extensible i3status wrapper written in python","fork":false,"url":"https://api.github.com/repos/ultrabug/py3status","forks_url":"https://api.github.com/repos/ultrabug/py3status/forks","keys_url":"https://api.github.com/repos/ultrabug/py3status/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ultrabug/py3status/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ultrabug/py3status/teams","hooks_url":"https://api.github.com/repos/ultrabug/py3status/hooks","issue_events_url":"https://api.github.com/repos/ultrabug/py3status/issues/events{/number}","events_url":"https://api.github.com/repos/ultrabug/py3status/events","assignees_url":"https://api.github.com/repos/ultrabug/py3status/assignees{/user}","branches_url":"https://api.github.com/repos/ultrabug/py3status/branches{/branch}","tags_url":"https://api.github.com/repos/ultrabug/py3status/tags","blobs_url":"https://api.github.com/repos/ultrabug/py3status/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ultrabug/py3status/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ultrabug/py3status/git/refs{/sha}","trees_url":"https://api.github.com/repos/ultrabug/py3status/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ultrabug/py3status/statuses/{sha}","languages_url":"https://api.github.com/repos/ultrabug/py3status/languages","stargazers_url":"https://api.github.com/repos/ultrabug/py3status/stargazers","contributors_url":"https://api.github.com/repos/ultrabug/py3status/contributors","subscribers_url":"https://api.github.com/repos/ultrabug/py3status/subscribers","subscription_url":"https://api.github.com/repos/ultrabug/py3status/subscription","commits_url":"https://api.github.com/repos/ultrabug/py3status/commits{/sha}","git_commits_url":"https://api.github.com/repos/ultrabug/py3status/git/commits{/sha}","comments_url":"https://api.github.com/repos/ultrabug/py3status/comments{/number}","issue_comment_url":"https://api.github.com/repos/ultrabug/py3status/issues/comments{/number}","contents_url":"https://api.github.com/repos/ultrabug/py3status/contents/{+path}","compare_url":"https://api.github.com/repos/ultrabug/py3status/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ultrabug/py3status/merges","archive_url":"https://api.github.com/repos/ultrabug/py3status/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ultrabug/py3status/downloads","issues_url":"https://api.github.com/repos/ultrabug/py3status/issues{/number}","pulls_url":"https://api.github.com/repos/ultrabug/py3status/pulls{/number}","milestones_url":"https://api.github.com/repos/ultrabug/py3status/milestones{/number}","notifications_url":"https://api.github.com/repos/ultrabug/py3status/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ultrabug/py3status/labels{/name}","releases_url":"https://api.github.com/repos/ultrabug/py3status/releases{/id}","deployments_url":"https://api.github.com/repos/ultrabug/py3status/deployments","created_at":"2013-02-19T14:59:13Z","updated_at":"2016-07-11T03:18:00Z","pushed_at":"2016-07-12T20:05:32Z","git_url":"git://github.com/ultrabug/py3status.git","ssh_url":"git@github.com:ultrabug/py3status.git","clone_url":"https://github.com/ultrabug/py3status.git","svn_url":"https://github.com/ultrabug/py3status","homepage":"","size":1922,"stargazers_count":269,"watchers_count":269,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":28,"forks":109,"open_issues":28,"watchers":269,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/354"},"html":{"href":"https://github.com/ultrabug/py3status/pull/354"},"issue":{"href":"https://api.github.com/repos/ultrabug/py3status/issues/354"},"comments":{"href":"https://api.github.com/repos/ultrabug/py3status/issues/354/comments"},"review_comments":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/354/comments"},"review_comment":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/354/commits"},"statuses":{"href":"https://api.github.com/repos/ultrabug/py3status/statuses/fc4e8c195b192e2b9f9eb3b77e7cf3d813bf827d"}}}}
{"actor":{"display_login":"tobes"}}