Project

General

Profile

Feature #818

More efficient SongTuple D-Bus method

Added by Tom Thorogood over 6 years ago. Updated about 3 years ago.

Status:
Rejected
Priority:
Minor
Assignee:
-
Category:
-
Target version:
Start date:
August 09, 2018
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

I'm working on a project that uses the org.atheme.audacious D-Bus interface. In order to retrieve multiple song fields, multiple separate org.atheme.audacious.SongTuple D-Bus requests have to be made, and this quickly becomes inefficient and slow for large playlists. I'd like to propose a new D-Bus method be added:

<!-- Get the value of multiple tuple fields of some song -->
<method name="SongTuples">
        <!-- Song position in the playlist -->
        <arg type="u" direction="in" name="pos"/>

        <!-- Array of tuple names -->
        <arg type="as" direction="in" name="tuples"/>

        <!-- Return array of tuple values -->
        <arg type="av" direction="out" name="values"/>
</method>

This would allow a single request to be made per-song, rather than N for N-fields. The return values would be indexed in the same order as the tuple names.

History

#1 Updated by John Lindgren about 3 years ago

  • Status changed from New to Rejected

Closing a few feature requests that have seen no activity in over 3 years.

Also available in: Atom PDF