kPlaylistCommands.jsm
Go to the documentation of this file.
1 /*
2 //
3 // BEGIN SONGBIRD GPL
4 //
5 // This file is part of the Songbird web player.
6 //
7 // Copyright(c) 2005-2011 POTI, Inc.
8 // http://songbirdnest.com
9 //
10 // This file may be licensed under the terms of of the
11 // GNU General Public License Version 2 (the "GPL").
12 //
13 // Software distributed under the License is distributed
14 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
15 // express or implied. See the GPL for the specific language
16 // governing rights and limitations.
17 //
18 // You should have received a copy of the GPL along with this
19 // program. If not, go to http://www.gnu.org/licenses/gpl.html
20 // or write to the Free Software Foundation, Inc.,
21 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 //
23 // END SONGBIRD GPL
24 //
25  */
26 
27 EXPORTED_SYMBOLS = [ "kPlaylistCommands" ];
28 
29 var kPlaylistCommands = {
30  // Atomic commands
31  MEDIAITEM_PLAY : "{b071e1d7-59c4-4390-b627-cec52ed3f2b1}",
32  MEDIAITEM_PAUSE : "{e426dd56-1dd1-11b2-87a4-9a1fdf82c08e}",
33  MEDIAITEM_REMOVE : "{42beadfc-2e95-47f5-beaa-606ebdd1c682}",
34  MEDIAITEM_EDIT : "{07320d73-3582-4dd5-8751-a0140980c210}",
35  MEDIAITEM_DOWNLOAD : "{a131503b-067b-48f3-bd3e-08262a5fb87e}",
36  MEDIAITEM_RESCAN : "{5b735afd-e55e-4caa-a8c5-4979ba6b03bc}",
37  MEDIAITEM_REVEAL : "{389d85d8-6387-4d9f-bac8-28ce3f4bc470}",
38  MEDIAITEM_SUBSCRIBE : "{5b7dbb49-6cef-4370-8d49-c3e131cdc49a}",
39  MEDIAITEM_ADDTOLIBRARY : "{63fd715b-f700-4bb5-945c-95a496197e83}",
40  MEDIAITEM_ADDTOPLAYLIST : "{5c6242bd-3f51-4b49-8978-6d1a4495ae77}",
41  MEDIAITEM_ADDTODEVICE : "{c6f648d7-e057-46c7-a8b8-d87749225a84}",
42  MEDIAITEM_COPYTRACKLOCATION : "{610a44aa-629e-4d02-90f7-b475f8d9fdeb}",
43  MEDIAITEM_SHOWDOWNLOADPLAYLIST : "{8df121ae-6f56-4ccf-a99f-376a8d0bebd2}",
44  MEDIAITEM_PAUSERESUMEDOWNLOAD : "{2042637a-a3eb-4596-a423-3421992f2676}",
45  MEDIAITEM_CLEANUPDOWNLOADS : "{9c68ad34-b35d-4b36-8cc7-5ef14709abe3}",
46  MEDIAITEM_CLEARHISTORY : "{7332def6-0b4b-4c4f-83f6-2f18ebc41259}",
47  MEDIAITEM_GETARTWORK : "{20f183c2-64c4-4e53-974c-eb6b6db1e570}",
48  MEDIAITEM_QUEUENEXT : "{78386542-1dd2-11b2-8db0-ca4eded7ab5c}",
49  MEDIAITEM_QUEUELAST : "{ec6e6281-17c6-45bf-8937-1a9eb12332d7}",
50 
51  MEDIALIST_PLAY : "{77c0c7d6-6380-4760-b95c-2a5a7c76047c}",
52  MEDIALIST_REMOVE : "{8be21529-6b2e-4ac7-b96d-c97d78dab81b}",
53  MEDIALIST_RENAME : "{b77c5259-62fc-4cd7-af79-ece9adb778b6}",
54  MEDIALIST_QUEUENEXT : "{41a96e57-361c-4675-8ac1-9d808c6a4c74}",
55  MEDIALIST_QUEUELAST : "{db4f216e-6d95-4251-b7a5-f931664425d5}",
56  MEDIALIST_UPDATESMARTMEDIALIST : "{a21c0a87-9f0b-4f43-aafe-92c055a13a2d}",
57  MEDIALIST_EDITSMARTMEDIALIST : "{5bc8bf35-57e9-4130-9f3a-d7a32367d70f}",
58 
59  PLAYQUEUE_SAVETOPLAYLIST : "{5fab0587-f3b3-4729-8c95-691991f361cb}",
60  PLAYQUEUE_CLEARALL : "{51157e1b-0b7e-43e0-890c-6549ad65cc17}",
61  PLAYQUEUE_CLEARHISTORY : "{a0ae8ae5-b6f0-4620-85e2-fa0658892edd}",
62 
63  // Bundled commands
64  MEDIAITEM_DEFAULT : "{5a5d24dd-0fed-4be0-b200-ac1ed9095d1f}",
65  MEDIAITEM_WEBPLAYLIST : "{8ebde25c-79e9-4bdb-836d-e0d502b1a452}",
66  MEDIAITEM_WEBTOOLBAR : "{9b68b4b3-2362-47c9-92df-0d73aa3fc504}",
67  MEDIAITEM_DOWNLOADPLAYLIST : "{0bc53d42-81d1-437a-9ae6-d8c214a2eb0f}",
68  MEDIAITEM_DOWNLOADTOOLBAR : "{c8f507b2-904f-4769-9112-6eb067fc91c3}",
69  MEDIAITEM_SMARTPLAYLIST : "{9a8b43d3-161a-4eb6-92b4-d96ad53497fc}",
70  MEDIAITEM_PLAYQUEUE : "{ff9ad80a-d649-4f54-8acd-f6ae87574fa4}",
71 
72  MEDIALIST_DEFAULT : "{26c21ce7-bcdf-4857-86d4-82c9747c907f}",
73  MEDIALIST_DOWNLOADPLAYLIST : "{3d6125f1-e5cf-4c08-9c83-697ddf5809cb}",
74  MEDIALIST_DEVICE_LIBRARY_CONTEXT_MENU :
75  "devicelibrary_contextmenu@playlistcommands.songbirdnest.com",
76  MEDIALIST_DEVICE_LIBRARY_TOOLBAR :
77  "devicelibrary_toolbar@playlistcommands.songbirdnest.com",
78  MEDIALIST_CDDEVICE_LIBRARY : "cddevicelibrary@playlistcommands.songbirdnest.com",
79  MEDIALIST_PLAYQUEUE_LIBRARY : "playqueuelibrary@playlistcommands.songbirdnest.com"
80 }
81 
EXPORTED_SYMBOLS