docs: Fix all warnings

This commit is contained in:
Stein Magnus Jodal 2015-03-08 21:41:54 +01:00
parent 714ff0d64a
commit af87a17ff5
3 changed files with 3 additions and 7 deletions

View File

@ -37,8 +37,6 @@ There are two ways Mopidy can be made available as an UPnP MediaRenderer:
Using Mopidy-MPRIS and Rygel, or using Mopidy-MPD and upmpdcli. Using Mopidy-MPRIS and Rygel, or using Mopidy-MPD and upmpdcli.
.. _upmpdcli:
upmpdcli upmpdcli
-------- --------
@ -68,8 +66,6 @@ MediaRenderer to the network, while using the MPD protocol to control Mopidy.
4. A UPnP renderer should be available now. 4. A UPnP renderer should be available now.
.. _rygel:
Rygel Rygel
----- -----

View File

@ -83,7 +83,7 @@ class LibraryController(object):
:param string field: One of ``artist``, ``albumartist``, ``album``, :param string field: One of ``artist``, ``albumartist``, ``album``,
``composer``, ``performer``, ``date``or ``genre``. ``composer``, ``performer``, ``date``or ``genre``.
:param dict query: Query to use for limiting results, see :param dict query: Query to use for limiting results, see
:method:`search` for details about the query format. :meth:`search` for details about the query format.
:rtype: set of values corresponding to the requested field type. :rtype: set of values corresponding to the requested field type.
""" """
futures = [b.library.get_distinct(field, query) futures = [b.library.get_distinct(field, query)

View File

@ -96,7 +96,7 @@ class Library(object):
:param string field: One of ``artist``, ``albumartist``, ``album``, :param string field: One of ``artist``, ``albumartist``, ``album``,
``composer``, ``performer``, ``date``or ``genre``. ``composer``, ``performer``, ``date``or ``genre``.
:param dict query: Query to use for limiting results, see :param dict query: Query to use for limiting results, see
:method:`search` for details about the query format. :meth:`search` for details about the query format.
:rtype: set of values corresponding to the requested field type. :rtype: set of values corresponding to the requested field type.
""" """
return set() return set()
@ -159,7 +159,7 @@ class Library(object):
:param track: Track to add to the library :param track: Track to add to the library
:type track: :class:`~mopidy.models.Track` :type track: :class:`~mopidy.models.Track`
:param tags: All the tags the scanner found for the media. See :param tags: All the tags the scanner found for the media. See
:module:`mopidy.audio.utils` for details about the tags. :mod:`mopidy.audio.utils` for details about the tags.
:type tags: dictionary of tag keys with a list of values. :type tags: dictionary of tag keys with a list of values.
:param duration: Duration of media in milliseconds or :class:`None` if :param duration: Duration of media in milliseconds or :class:`None` if
unknown unknown