/usr/share/miro/resources/devices/mediaplayer.py is in miro-data 4.0.4-1.
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 | from miro.devices import DeviceInfo
from miro.gtcache import gettext as _
sony_walkman = DeviceInfo(u'Sony Walkman',
vendor_id=0x054c,
product_id=0x0327,
device_name='WALKMAN',
video_conversion='playstationportablepsp',
video_path=u'VIDEO',
audio_conversion='mp3',
audio_path=u'MUSIC',
container_types = 'mp3 isom asf'.split(),
audio_types='mp* wmav* aac'.split(),
video_types=['h264'],
mount_instructions=_(
"Your Walkman must be in USB Storage mode to sync files to it.\n"))
iriver_t10 = DeviceInfo(u'iRiver T10',
vendor_id=0x4102,
product_id=0x1013,
device_name='iriver T10',
video_conversion='copy',
video_path=u'Playlists',
audio_conversion='mp3',
audio_path=u'Playlists',
container_types='mp3 asf ogg'.split(),
audio_types='mp* wmav* vorbis'.split(),
video_types=[],
mount_instructions=_(
"Your device must be in USB Storage mode to sync files to it.\n"))
psp = DeviceInfo(u'Playstation Portable',
vendor_id=0x054c,
product_id=0x02d2,
device_name='Sony PSP',
video_conversion='playstationportablepsp',
video_path=u'Video',
audio_conversion='mp3',
audio_path=u'Music',
container_types='mp3 isom asf wav'.split(),
audio_types='mp* aac pcm* wmav*'.split(),
video_types='h264 mpeg* wmv*'.split(),
mount_instructions=_(
"Your PSP must be in USB Storage mode to sync files to it.\n"))
devices = [sony_walkman, iriver_t10, psp]
|