1 Panucci D-Bus interface
3 name: org.panucci.panucciInterface
4 path: /panucciInterface
7 Starts playing the current file.
10 Pauses the current file.
13 Stops the current file and sets the current file to the first file in
17 Skips to the next track in the playlist.
19 loop - If True, this will cause the playlist to loop to back to the
20 beginning if the end of the playlist is reached.
21 Returns True if it was possible to skip forward.
24 Skips to the previous track in the playlist.
26 loop - If True, this will cause the playlist to loop to back to the
27 beginning if trying to skip backwards before the first track.
28 Returns True if it was possible to skip forward.
31 Seek "amount" in the current file.
33 amount - The number of _nanoseconds_ to seek from the current position in
37 Get the current position in the file.
39 Returns the current position in _nanoseconds_ in the current file.
42 Depending on the current status of the player, this will cause the
43 opposite opperation to occur. Eg. If the player is paused, calling
47 Erase the current playlist and start playing "filepath". If a custom
48 playlist has been created the user will be prompted to save or erase
51 filepath - The full path to a compatible audio file.
53 queue_file( filepath )
54 Add a file to the end of the playlist.
56 filepath - The full path to a compatible audio file.
58 insert_file( position, filepath )
59 Insert a file into the current playlist at "position".
61 position - The position that the file should be inserted starting from 0.
62 filepath - The full path to a compatible audio file.
64 load_directory( filepath, append )
65 Create a playlist from all the files in a directory.
67 filepath - The full path to a directory of audio files
68 append - If true, don't erase the playlist, just append files to the
69 playlist. If false, the user will be asked if they'd like to
70 overwrite the playlist.
73 Brings the Panucci window to the front if it is obscured or minimized.
77 Stars (*) indicate a function which still has to be implemented