Created
April 17, 2011 14:38
-
-
Save shadeslayer/924084 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node /org/mpris/MediaPlayer2 { | |
interface org.kde.amarok.App { | |
methods: | |
ShowOSD(); | |
LoadThemeFile(in s arg_0); | |
signals: | |
properties: | |
}; | |
interface org.kde.amarok.Mpris2Extensions.Player { | |
methods: | |
AdjustVolume(in d IncreaseBy); | |
StopAfterCurrent(); | |
signals: | |
properties: | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readwrite b Muted = false; | |
}; | |
interface org.mpris.MediaPlayer2 { | |
methods: | |
Raise(); | |
Quit(); | |
signals: | |
properties: | |
readonly b CanQuit = true; | |
readonly b CanRaise = true; | |
readonly b HasTrackList = false; | |
readonly s Identity = 'Amarok'; | |
readonly s DesktopEntry = 'kde4-amarok'; | |
readonly as SupportedUriSchemes = ['file', 'http']; | |
readonly as SupportedMimeTypes = ['audio/AMR', 'audio/AMR-WB', 'audio/ac3', 'audio/midi', 'audio/mpeg', 'audio/ms-gsm', 'audio/ogg', 'audio/qcelp', 'audio/riff-midi', 'audio/x-ac3', 'audio/x-adpcm', 'audio/x-aiff', 'audio/x-alac', 'audio/x-alaw', 'audio/x-amr-nb-sh', 'audio/x-amr-wb-sh', 'audio/x-au', 'audio/x-celt', 'audio/x-dpcm', 'audio/x-dts', 'audio/x-eac3', 'audio/x-ffmpeg-parsed-ape', 'audio/x-ffmpeg-parsed-musepack', 'audio/x-flac', 'audio/x-gsm', 'audio/x-gst_ff-mp3adu', 'audio/x-gst_ff-mp3on4', 'audio/x-gst_ff-sonic', 'audio/x-gst_ff-vmdaudio', 'audio/x-gst_ff-ws_snd1', 'audio/x-imc', 'audio/x-it', 'audio/x-lpcm', 'audio/x-m4a', 'audio/x-mace', 'audio/x-mlp', 'audio/x-mod', 'audio/x-mp3', 'audio/x-mulaw', 'audio/x-musepack', 'audio/x-nellymoser', 'audio/x-nsf', 'audio/x-pn-realaudio', 'audio/x-private1-ac3', 'audio/x-private1-dts', 'audio/x-private1-lpcm', 'audio/x-qdm2', 'audio/x-s3m', 'audio/x-shorten', 'audio/x-sid', 'audio/x-sipro', 'audio/x-speex', 'audio/x-stm', 'audio/x-true-hd', 'audio/x-truespeech', 'audio/x-tta', 'audio/x-ttafile', 'audio/x-twin-vq', 'audio/x-vnd.sony.atrac1', 'audio/x-vnd.sony.atrac3', 'audio/x-vorbis', 'audio/x-vorbis+ogg', 'audio/x-vqf', 'audio/x-wav', 'audio/x-wavpack', 'audio/x-wavpack-correction', 'audio/x-wma', 'audio/x-wms', 'audio/x-xm', 'video/mj2', 'video/mpeg', 'video/mpegts', 'video/quicktime', 'video/sp5x', 'video/webm', 'video/x-3ivx', 'video/x-4xm', 'video/x-aasc', 'video/x-amv', 'video/x-apple-video', 'video/x-asus', 'video/x-ati-vcr', 'video/x-camtasia', 'video/x-cdxa', 'video/x-cinepak', 'video/x-cirrus-logic-accupak', 'video/x-compressed-yuv', 'video/x-dirac', 'video/x-divx', 'video/x-dnxhd', 'video/x-dv', 'video/x-dvd-subpicture', 'video/x-ffv', 'video/x-flash-screen', 'video/x-flash-video', 'video/x-fli', 'video/x-flv', 'video/x-fraps', 'video/x-gst_ff-8bps', 'video/x-gst_ff-avs', 'video/x-gst_ff-camstudio', 'video/x-gst_ff-cavs', 'video/x-gst_ff-ffvhuff', 'video/x-gst_ff-flic', 'video/x-gst_ff-idcinvideo', 'video/x-gst_ff-interplayvideo', 'video/x-gst_ff-mdec', 'video/x-gst_ff-mmvideo', 'video/x-gst_ff-pgmyuv', 'video/x-gst_ff-qpeg', 'video/x-gst_ff-roqvideo', 'video/x-gst_ff-snow', 'video/x-gst_ff-vmdvideo', 'video/x-gst_ff-vqavideo', 'video/x-gst_ff-wnv1', 'video/x-gst_ff-xl', 'video/x-h261', 'video/x-h263', 'video/x-h264', 'video/x-huffyuv', 'video/x-indeo', 'video/x-intel-h263', 'video/x-ivf', 'video/x-kmvc', 'video/x-loco', 'video/x-matroska', 'video/x-mimic', 'video/x-mjpeg-b', 'video/x-ms-asf', 'video/x-msmpeg', 'video/x-msvideo', 'video/x-msvideocodec', 'video/x-mszh', 'video/x-mve', 'video/x-nsv', 'video/x-nuv', 'video/x-pn-realvideo', 'video/x-qdrw', 'video/x-rle', 'video/x-smc', 'video/x-smoke', 'video/x-svq', 'video/x-theora', 'video/x-truemotion', 'video/x-ultimotion', 'video/x-vcd', 'video/x-vmnc', 'video/x-vp3', 'video/x-vp5', 'video/x-vp6', 'video/x-vp6-alpha', 'video/x-vp6-flash', 'video/x-vp8', 'video/x-wmv', 'video/x-xan', 'video/x-xvid', 'video/x-zlib', 'video/x-zmbv', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b', 'audio/x-m4b']; | |
}; | |
interface org.mpris.MediaPlayer2.Player { | |
methods: | |
Next(); | |
Previous(); | |
Pause(); | |
PlayPause(); | |
Stop(); | |
Play(); | |
Seek(in x Offset); | |
SetPosition(in o TrackId, | |
in x Position); | |
OpenUri(in s arg_0); | |
signals: | |
Seeked(x Position); | |
properties: | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly s PlaybackStatus = 'Playing'; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readwrite s LoopStatus = 'None'; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readwrite d Rate = 1.0; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readwrite b Shuffle = true; | |
@com.trolltech.QtDBus.QtTypeName("QVariantMap") | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly a{sv} Metadata = {'mpris:artUrl': <'file:///media/Data/SONSOFDAY%20-%20Autumn%20Heart%20(2009)%20%5B192%20kbps%5D/cover.jpg'>, 'mpris:length': <int64 268000000>, 'mpris:trackid': <'/org/mpris/MediaPlayer2/Track/15984210994221094'>, 'xesam:album': <'Autumn Heart'>, 'xesam:albumArtist': <['SONSOFDAY']>, 'xesam:artist': <['SONSOFDAY']>, 'xesam:autoRating': <53.172569444444456>, 'xesam:composer': <['']>, 'xesam:contentCreated': <'2009-01-01T00:00:00'>, 'xesam:firstUsed': <'2011-04-09T20:48:54'>, 'xesam:genre': <['Alternative']>, 'xesam:lastUsed': <'2011-04-16T23:44:08'>, 'xesam:title': <'King of the Parking Lot'>, 'xesam:trackNumber': <7>, 'xesam:url': <'file:///media/Data/SONSOFDAY%20-%20Autumn%20Heart%20(2009)%20%5B192%20kbps%5D/07%20King%20of%20the%20Parking%20Lot.mp3'>, 'xesam:useCount': <5>, 'xesam:userRating': <0.0>, 'xseam:comment': <['']>}; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readwrite d Volume = 1.0; | |
readonly x Position = 196227000; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly d MinimumRate = 1.0; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly d MaximumRate = 1.0; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly b CanGoNext = true; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly b CanGoPrevious = true; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly b CanPlay = true; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly b CanPause = true; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly b CanSeek = true; | |
@org.freedesktop.DBus.Property.EmitsChangedSignal("true") | |
readonly b CanControl = true; | |
}; | |
interface org.freedesktop.DBus.Properties { | |
methods: | |
Get(in s interface_name, | |
in s property_name, | |
out v value); | |
Set(in s interface_name, | |
in s property_name, | |
in v value); | |
@com.trolltech.QtDBus.QtTypeName.Out0("QVariantMap") | |
GetAll(in s interface_name, | |
out a{sv} values); | |
signals: | |
properties: | |
}; | |
interface org.freedesktop.DBus.Introspectable { | |
methods: | |
Introspect(out s xml_data); | |
signals: | |
properties: | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment