This file is indexed.

/usr/share/pyshared/remuco/__init__.py is in remuco-base 0.9.6-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# -*- coding: UTF-8 -*-

# =============================================================================
#
#    Remuco - A remote control system for media players.
#    Copyright (C) 2006-2010 by the Remuco team, see AUTHORS.
#
#    This file is part of Remuco.
#
#    Remuco is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    Remuco is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with Remuco.  If not, see <http://www.gnu.org/licenses/>.
#
# =============================================================================

"""Remuco player adapter module.

The module 'remuco' provides classes and constants for Remuco player adapters.

Class PlayerAdapter:
    Base class for player adapters (start reading here).

Class MPRISAdapter:
    Base class for player adapters for MPRIS players.

Classes ItemAction and ListAction:
    Classes to define actions clients may execute in their media browser. 

Class ListReply:
    Used by player adapters to reply requests for playlists and other lists.

Class Manager:
    Helper class for managing the life cycle of a player adapter.

Constants:
    The constants starting with 'INFO' are keys to be used for the dictionary
    describing an item (a playable object: song, video, slide, picture, ...).
    
    The constants starting with 'PLAYBACK' are the values used by Remuco to
    describe a playback state.

Logging:
    It is recommended to use the remuco logging system within player adapters.
    To do so, import the module 'remuco.log' and use the functions
    
    * remuco.log.debug(),
    * remuco.log.info(),
    * remuco.log.warning() and
    * remuco.log.error().
    
    Then all messages of the player adapter will be written into the same file
    as used internally by the remuco module - that makes debugging a lot easier.
    
    Internally Remuco uses the module 'logging' for all its logging messages.
    Messages go into a player specific log file (usually
    ~/.cache/remuco/PLAYER/log). The log level is defined in a player specific
    configuration file (usually ~/.config/remuco/PLAYER/conf).

"""

#==============================================================================
# imports
#==============================================================================

from remuco.adapter import PlayerAdapter, ItemAction, ListAction, ListReply
from remuco.adapter import MIMETYPES_AUDIO, MIMETYPES_VIDEO, MIMETYPES_AV
from remuco.config import Config
from remuco.defs import *
from remuco.manager import Manager
from remuco.mpris import MPRISAdapter

#==============================================================================
# exports
#==============================================================================

__all__ = ["PlayerAdapter", "ListReply", "MPRISAdapter",
           "ItemAction", "ListAction", "Manager", "Config",
           
           "INFO_ALBUM", "INFO_ARTIST", "INFO_GENRE", "INFO_LENGTH",
           "INFO_RATING", "INFO_TAGS", "INFO_TITLE", "INFO_YEAR",
           
           "PLAYBACK_PAUSE", "PLAYBACK_PLAY", "PLAYBACK_STOP",

           "MIMETYPES_AUDIO", "MIMETYPES_VIDEO", "MIMETYPES_AV",
           ]

__version__ = REMUCO_VERSION