View Single Post
somebody's Avatar
Posts: 128 | Thanked: 487 times | Joined on Oct 2010 @ Novosibirsk, Russia
#388
@GreatGonzo

In 1.5.5-2 I've added these methos:
Code:
$ dbus-send --type=method_call --print-reply --dest=ru.somebody.someplayer / ru.somebody.someplayer.playlists

result:
array [
      string "Test playlist"
      string "Metallica"
      string "Now playing"
      string "New playlist"
   ]

$ dbus-send --type=method_call --dest=ru.somebody.someplayer / ru.somebody.someplayer.select_playlist string:"New playlist"
Using first call You can get names of all playlists, and second call switch current playlist to selected.
__________________
Donate for SomePlayer
 

The Following 4 Users Say Thank You to somebody For This Useful Post: