GitHub PullRequestReviewCommentEvent at 2014-01-17 19:09:11
Repository: mopidy
Actor: jodal
Payload: {"comment":{"url":"https://api.github.com/repos/mopidy/mopidy/pulls/comments/8976466","id":8976466,"diff_hunk":"@@ -49,45 +47,28 @@ def browse(self, path):\n             Ref.track(uri='dummy:/foo.mp3', name='foo')\n \n         The :class:`~mopidy.models.Ref` objects representing directories have\n-        plain paths, not including any URI schema. For example, the dummy\n-        library's ``/bar`` directory is returned like this::\n+        backend specific URIs. These are opaque values, so no one but the\n+        backend that created them should try and derive any meaning from them.\n+        The only valid exception to this is checking the scheme, as it is used\n+        to route browse requests to the correct backend.\n \n-            Ref.directory(uri='/dummy/bar', name='bar')\n+        For example, the dummy library's ``/bar`` directory could bereturned\n+        like this::\n \n-        Note to backend implementors: The ``/dummy`` part of the URI is added\n-        by Mopidy core, not the individual backends.\n+            Ref.directory(uri='dummy:directory:/bar', name='bar')\n \n-        :param path: path to browse\n-        :type path: string\n+        :param bytestring uri: uri to browse","path":"mopidy/core/library.py","position":57,"original_position":57,"commit_id":"43e16ddb6588886debdb3354a507a8e8ecad13ac","original_commit_id":"43e16ddb6588886debdb3354a507a8e8ecad13ac","user":{"login":"jodal","id":43726,"avatar_url":"https://gravatar.com/avatar/0732743bb2a95ff4cd03700ce0383e3b?d=https%3A%2F%2Fidenticons.github.com%2Fce50d5be7b6c6e7afb55b9db35388d43.png&r=x","gravatar_id":"0732743bb2a95ff4cd03700ce0383e3b","url":"https://api.github.com/users/jodal","html_url":"https://github.com/jodal","followers_url":"https://api.github.com/users/jodal/followers","following_url":"https://api.github.com/users/jodal/following{/other_user}","gists_url":"https://api.github.com/users/jodal/gists{/gist_id}","starred_url":"https://api.github.com/users/jodal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodal/subscriptions","organizations_url":"https://api.github.com/users/jodal/orgs","repos_url":"https://api.github.com/users/jodal/repos","events_url":"https://api.github.com/users/jodal/events{/privacy}","received_events_url":"https://api.github.com/users/jodal/received_events","type":"User","site_admin":false},"body":"s/bytestring/string/\r\ns/uri/URI/","created_at":"2014-01-17T19:09:11Z","updated_at":"2014-01-17T19:09:11Z","html_url":"https://github.com/mopidy/mopidy/pull/647#discussion_r8976466","pull_request_url":"https://api.github.com/repos/mopidy/mopidy/pulls/647","_links":{"self":{"href":"https://api.github.com/repos/mopidy/mopidy/pulls/comments/8976466"},"html":{"href":"https://github.com/mopidy/mopidy/pull/647#discussion_r8976466"},"pull_request":{"href":"https://api.github.com/repos/mopidy/mopidy/pulls/647"}}}}