mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 00:23:23 -05:00
08b2eb8d4c
Adds support for dcmp.device-busy, and also changes handling of device-prevent-playback so it matches iTunes better.
34 lines
2.1 KiB
Plaintext
34 lines
2.1 KiB
Plaintext
%language=ANSI-C
|
|
%readonly-tables
|
|
%enum
|
|
%switch=1
|
|
%compare-lengths
|
|
%define hash-function-name dacp_hash_prop
|
|
%define lookup-function-name dacp_find_prop
|
|
%define slot-name desc
|
|
%struct-type
|
|
%omit-struct-type
|
|
struct dacp_prop_map;
|
|
%%
|
|
"dmcp.volume", dacp_propget_volume, dacp_propset_volume
|
|
"dmcp.device-volume", NULL, dacp_propset_devicevolume
|
|
"dmcp.device-prevent-playback", NULL, dacp_propset_devicepreventplayback
|
|
"dmcp.device-busy", NULL, dacp_propset_devicebusy
|
|
"dacp.playerstate", dacp_propget_playerstate, NULL
|
|
"dacp.nowplaying", dacp_propget_nowplaying, NULL
|
|
"dacp.playingtime", dacp_propget_playingtime, dacp_propset_playingtime
|
|
"dacp.volumecontrollable", dacp_propget_volumecontrollable, NULL
|
|
"dacp.availableshufflestates", dacp_propget_availableshufflestates, NULL
|
|
"dacp.availablerepeatstates", dacp_propget_availablerepeatstates, NULL
|
|
"dacp.shufflestate", dacp_propget_shufflestate, dacp_propset_shufflestate
|
|
"dacp.repeatstate", dacp_propget_repeatstate, dacp_propset_repeatstate
|
|
"dacp.userrating", NULL, dacp_propset_userrating
|
|
"dacp.fullscreenenabled", dacp_propget_fullscreenenabled, NULL
|
|
"dacp.fullscreen", dacp_propget_fullscreen, NULL
|
|
"dacp.visualizerenabled", dacp_propget_visualizerenabled, NULL
|
|
"dacp.visualizer", dacp_propget_visualizer, NULL
|
|
"com.apple.itunes.itms-songid", dacp_propget_itms_songid, NULL
|
|
"com.apple.itunes.has-chapter-data", dacp_propget_haschapterdata, NULL
|
|
"com.apple.itunes.mediakind", dacp_propget_mediakind, NULL
|
|
"com.apple.itunes.extended-media-kind", dacp_propget_extendedmediakind, NULL
|