diff options
Diffstat (limited to 'src/plugins/tracker3/rygel-tracker-albums.vala')
-rw-r--r-- | src/plugins/tracker3/rygel-tracker-albums.vala | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/plugins/tracker3/rygel-tracker-albums.vala b/src/plugins/tracker3/rygel-tracker-albums.vala new file mode 100644 index 00000000..2bc63d33 --- /dev/null +++ b/src/plugins/tracker3/rygel-tracker-albums.vala @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2009,2010 Nokia Corporation. + * + * Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org> + * <zeeshan.ali@nokia.com> + * + * This file is part of Rygel. + * + * Rygel is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * Rygel is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +/** + * Container listing Music albums as containers. + */ +public class Rygel.Tracker.Albums : MetadataValues { + public Albums (Music parent) { + base (parent.id + "Albums", + parent, + _("Albums"), + parent.item_factory, + "upnp:album", + MediaContainer.MUSIC_ALBUM); + } +} |