askcompu

Untitled

Mar 2nd, 2016
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. (<{'mpris:trackid': <'spotify:track:4KMZRXTQtMo0iVf3GU20fY'>, 'mpris:length': <uint64 201840000>, 'mpris:artUrl': <'https://open.spotify.com/image/ad56afd1f54dab2aa9b4e0f31a663fb2ca531d9c'>, 'xesam:album': <'<I°_°I>'>, 'xesam:albumArtist': <['Caravan Palace']>, 'xesam:artist': <['Caravan Palace']>, 'xesam:autoRating': <0.44>, 'xesam:discNumber': <1>, 'xesam:title': <'Mighty feat. JFTH'>, 'xesam:trackNumber': <3>, 'xesam:url': <'https://open.spotify.com/track/4KMZRXTQtMo0iVf3GU20fY'>}>,)
  2.  
  3.  
  4. and second command
  5.  
  6.  
  7. y -o / -r
  8. node / {
  9. node /org {
  10. node /org/mpris {
  11. node /org/mpris/MediaPlayer2 {
  12. interface org.freedesktop.DBus.Properties {
  13. methods:
  14. Get(in s interface_name,
  15. in s property_name,
  16. out v value);
  17. GetAll(in s interface_name,
  18. out a{sv} properties);
  19. Set(in s interface_name,
  20. in s property_name,
  21. in v value);
  22. signals:
  23. PropertiesChanged(s interface_name,
  24. a{sv} changed_properties,
  25. as invalidated_properties);
  26. properties:
  27. };
  28. interface org.freedesktop.DBus.Introspectable {
  29. methods:
  30. Introspect(out s xml_data);
  31. signals:
  32. properties:
  33. };
  34. interface org.freedesktop.DBus.Peer {
  35. methods:
  36. Ping();
  37. GetMachineId(out s machine_uuid);
  38. signals:
  39. properties:
  40. };
  41. interface org.mpris.MediaPlayer2.Player {
  42. methods:
  43. Next();
  44. Previous();
  45. Pause();
  46. PlayPause();
  47. Stop();
  48. Play();
  49. Seek(in x Offset);
  50. SetPosition(in o TrackId,
  51. in x Position);
  52. OpenUri(in s unnamed_arg0);
  53. signals:
  54. Seeked(x Position);
  55. properties:
  56. readonly s PlaybackStatus;
  57. readwrite s LoopStatus;
  58. readwrite d Rate;
  59. readwrite b Shuffle;
  60. readonly a{sv} Metadata;
  61. readwrite d Volume;
  62. readonly x Position;
  63. readonly d MinimumRate;
  64. readonly d MaximumRate;
  65. readonly b CanGoNext;
  66. readonly b CanGoPrevious;
  67. readonly b CanPlay;
  68. readonly b CanPause;
  69. readonly b CanSeek;
  70. readonly b CanControl;
  71. };
  72. };
  73. };
  74. };
  75. };
Advertisement
Add Comment
Please, Sign In to add comment