aboutsummaryrefslogtreecommitdiff
path: root/src/metadata-menu-item.vala
blob: 08b1b855f92e32f944b6b01c7a9a4e7594ef3f17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Dbusmenu;
using Gee;
using DbusmenuMetadata;

public class MetadataMenuitem : PlayerItem
{
	public MetadataMenuitem()
  {
		this.property_set(MENUITEM_PROP_TYPE, MENUITEM_TYPE);
	}

	public static HashSet<string> attributes_format()
	{
		HashSet<string> attrs = new HashSet<string>();		
		attrs.add(MENUITEM_TEXT_TITLE);
    attrs.add(MENUITEM_TEXT_ARTIST);
    attrs.add(MENUITEM_TEXT_ALBUM);
    attrs.add(MENUITEM_ARTURL);
		return attrs;
	}
		
}