<ui>
  <toolbar name="HeaderToolbar">
    <toolitem action="PreviousAction"/>
    <toolitem action="PlayPauseAction"/>
    <placeholder name="NextArrowButton"/>
    <placeholder name="SeekSlider"/>
    <placeholder name="TrackInfoDisplay"/>
    <placeholder name="SourceActions">
        <toolitem name="RefreshSmartPlaylist" action="RefreshSmartPlaylistAction"/>
    </placeholder>
    <placeholder name="SearchEntry"/>
    <placeholder name="VolumeButton"/>
    <placeholder name="ToolbarMenuPlaceholder"/>
    <placeholder name="ClosePlaceholder"/>
  </toolbar>
  <toolbar name="FooterToolbar">
    <placeholder name="TaskStatus"/>
    <placeholder name="StatusBar"/>
    <placeholder name="Extensions"/>
    <placeholder name="RepeatButton"/>
  </toolbar>

  <popup name="ToolbarMenu" action="ToolbarMenuAction">
    <menuitem name="NewPlaylist" action="NewPlaylistAction"/>
    <menuitem name="NewSmartPlaylist" action="NewSmartPlaylistAction"/>
    <separator/>
    <menuitem name="Import" action="ImportAction"/>
    <menuitem name="ImportPlaylist" action="ImportPlaylistAction"/>
    <menuitem name="OpenLocation" action="OpenLocationAction"/>
    <separator/>
    <placeholder name="BelowOpenLocation"/>
    <separator/>
    <menu name="ToolsMenu" action="ToolsMenuAction">
      <menuitem name="Rescan" action="RescanAction"/>
      <menuitem name="ShowEqualizer" action="ShowEqualizerAction"/>
    </menu>
    <menuitem name="Preferences" action="PreferencesAction"/>
    <menuitem name="About" action="AboutAction"/>
  </popup>

  <menubar name="MainMenu" action="MainMenuAction">
    <menu name="MediaMenu" action="MediaMenuAction">
      <menuitem name="NewPlaylist" action="NewPlaylistAction"/>
      <menuitem name="NewSmartPlaylist" action="NewSmartPlaylistAction"/>
      <!--<menuitem name="NewSmartPlaylistFromSearch" action="NewSmartPlaylistFromSearchAction"/>-->
      <separator/>
      <menuitem name="Import" action="ImportAction"/>
      <menuitem name="ImportPlaylist" action="ImportPlaylistAction"/>
      <menuitem name="OpenLocation" action="OpenLocationAction"/>
      <menuitem action="OpenSourceSwitcher"/>
      <separator/>
      <placeholder name="BelowOpenLocation"/>
      <separator/>
      <placeholder name="ClosePlaceholder"/>
      <menuitem name="Quit" action="QuitAction"/>
    </menu>

    <menu name="EditMenu" action="EditMenuAction">
      <placeholder name="AboveAddToPlaylist"/>
      <menu name="AddToPlaylist" action="AddToPlaylistAction"></menu>
      <placeholder name="BelowAddToPlaylist"/>
      <menuitem name="TrackEditor" action="TrackEditorAction"/>
      <separator/>
      <menuitem name="SelectAll" action="SelectAllAction"/>
      <menuitem name="SelectNone" action="SelectNoneAction"/>
      <separator/>
      <menuitem name="RemoveTracks" action="RemoveTracksAction"/>
      <menuitem name="RemoveTracksFromLibrary" action="RemoveTracksFromLibraryAction"/>
      <menuitem name="DeleteTracksFromDrive" action="DeleteTracksFromDriveAction"/>
      <separator/>
      <menuitem name="OpenContainingFolder" action="OpenContainingFolderAction"/>
      <separator/>
      <menuitem name="RenameSource" action="RenameSourceAction"/>
      <menuitem name="RefreshSmartPlaylist" action="RefreshSmartPlaylistAction"/>
      <menuitem name="ExportPlaylist" action="ExportPlaylistAction"/>
      <menuitem name="SourceProperties" action="SourcePropertiesAction"/>
      <menuitem name="UnmapSource" action="UnmapSourceAction"/>
      <menuitem name="TrackProperties" action="TrackPropertiesAction"/>
      <separator/>
      <menuitem name="Preferences" action="PreferencesAction"/>
    </menu>

    <menu name="ViewMenu" action="ViewMenuAction">
      <placeholder name="BrowserViews"/>
      <placeholder name="ViewMenuAdditions"/>
      <menuitem name="ShowCoverArt" action="ShowCoverArtAction"/>
      <menuitem name="ShowContextPane" action="ShowContextPaneAction"/>
      <menuitem name="FullScreen" action="FullScreenAction"/>
      <separator/>
      <menuitem name="ShowEqualizer" action="ShowEqualizerAction"/>
    </menu>

    <menu name="PlaybackMenu" action="PlaybackMenuAction">
      <menuitem name="PlayPause" action="PlayPauseAction"/>
      <menuitem name="StopWhenFinished" action="StopWhenFinishedAction"/>
      <separator/>
      <menuitem name="Next" action="NextAction"/>
      <menuitem name="Previous" action="PreviousAction"/>
      <separator/>
      <!--
      <menuitem name="SeekBackward" action="SeekBackwardAction"/>
      <menuitem name="SeekForward" action="SeekForwardAction"/>
      -->
      <menuitem name="SeekTo" action="SeekToAction"/>
      <menuitem name="JumpToPlayingTrack" action="JumpToPlayingTrackAction"/>
      <menuitem name="RestartSong" action="RestartSongAction"/>
      <separator/>
      <placeholder name="PlaybackMenuAdditions"/>
      <menuitem name="RepeatMenu" action="RepeatMenuAction"/>
      <menuitem name="ShuffleMenu" action="ShuffleMenuAction"/>
    </menu>
    
    <menu name="ToolsMenu" action="ToolsMenuAction">
      <menuitem name="Rescan" action="RescanAction"/>
    </menu>

    <menu name="HelpMenu" action="HelpMenuAction">
      <menuitem action="UserHelp"/>
      <separator/>
      <menuitem name="Wiki" action="WikiAction"/>
      <menuitem name="WikiDeveloper" action="WikiDeveloperAction"/>
      <separator/>
      <menuitem name="VersionInformation" action="VersionInformationAction"/>
      <menuitem name="About" action="AboutAction"/>
    </menu>
  </menubar>

  <popup name="LibraryContextMenu" action="LibraryContextMenuAction">
    <menuitem name="NewPlaylist" action="NewPlaylistAction"/>
    <menuitem name="NewSmartPlaylist" action="NewSmartPlaylistAction"/>
    <menu name="SortChildren" action="SortChildrenAction" />
    <separator/>
    <menuitem name="Import" action="ImportAction"/>
    <menuitem name="SourcePreferences" action="SourcePreferencesAction"/>
    <separator/>
  </popup>

  <popup name="RemovableSourceContextMenu" action="RemovableSourceContextMenuAction">
    <menuitem name="NewPlaylist" action="NewPlaylistAction"/>
    <menuitem name="NewSmartPlaylist" action="NewSmartPlaylistAction"/>
    <menu name="SortChildren" action="SortChildrenAction" />
    <separator/>
    <placeholder name="AboveImportSource"/>
    <menuitem name="ImportSource" action="ImportSourceAction"/>
    <menuitem name="RenameSource" action="RenameSourceAction"/>
    <menuitem name="SourcePreferences" action="SourcePreferencesAction"/>
    <menuitem name="UnmapSource" action="UnmapSourceAction"/>
    <separator/>
    <menuitem name="SourceProperties" action="SourcePropertiesAction"/>
  </popup>

  <popup name="ErrorSourceContextMenu" action="ErrorSourceContextMenuAction">
    <menuitem name="UnmapSource" action="UnmapSourceAction"/>
  </popup>

  <popup name="SourceContextMenu" action="SourceContextMenuAction">
    <menuitem name="ImportSource" action="ImportSourceAction"/>
    <separator/>
    <menuitem name="RenameSource" action="RenameSourceAction"/>
    <menuitem name="RefreshSmartPlaylist" action="RefreshSmartPlaylistAction"/>
    <menuitem name="ExportPlaylist" action="ExportPlaylistAction"/>
    <menuitem name="UnmapSource" action="UnmapSourceAction"/>
    <separator/>
    <menuitem name="SourceProperties" action="SourcePropertiesAction"/>
    <menuitem name="SourcePreferences" action="SourcePreferencesAction"/>
  </popup>

  <popup name="TrackContextMenu" action="TrackContextMenuAction">
    <menuitem action="PlayTrack"/>
    <separator/>
    <placeholder name="AboveAddToPlaylist"/>
    <menu name="AddToPlaylist" action="AddToPlaylistAction"></menu>
    <placeholder name="BelowAddToPlaylist"/>
    <separator/>
    <menuitem name="RemoveTracks" action="RemoveTracksAction"/>
    <menuitem name="RemoveTracksFromLibrary" action="RemoveTracksFromLibraryAction"/>
    <menuitem name="DeleteTracksFromDrive" action="DeleteTracksFromDriveAction"/>
    <separator/>
    <menuitem name="OpenContainingFolder" action="OpenContainingFolderAction"/>
    <menu name="SearchMenu" action="SearchMenuAction">
      <menuitem name="SearchForSameArtist" action="SearchForSameArtistAction"/>
      <menuitem name="SearchForSameAlbum" action="SearchForSameAlbumAction"/>
    </menu>
    <separator/>
    <menuitem name="TrackProperties" action="TrackPropertiesAction"/>
    <menuitem name="TrackEditor" action="TrackEditorAction"/>
  </popup>
</ui>

<!--<menubar name="MainMenu">
<menu name="MusicMenu" action="MusicMenuAction">
  <menuitem name="NewCD" action="NewCDAction"/>
  <placeholder name="NewMusicMenuAdditions"/>
  /*<menuitem name="ImportFolder" action="ImportFolderAction"/>
  <menuitem name="ImportFiles" action="ImportFilesAction"/>*/
  <separator/>
  <menuitem name="ImportMusic" action="ImportMusicAction"/>
  <menuitem name="OpenLocation" action="OpenLocationAction"/>
  <placeholder name="MusicMenuAdditions"/>
  <separator/>
  <menuitem name="ImportSource" action="ImportSourceAction"/>
  <menuitem name="WriteCD" action="WriteCDAction"/>
  <separator/>
  <menuitem name="SyncDap" action="SyncDapAction"/>
</menu>
<menu name="EditMenu" action="EditMenuAction">
  <menuitem name="CopySongs" action="CopySongsAction"/>
  <separator/>
  <menuitem name="RemoveSongs" action="RemoveSongsAction"/>
  <menuitem name="DeleteSongsFromDrive" action="DeleteSongsFromDriveAction"/>
  <menuitem name="RenameSource" action="RenameSourceAction"/>
  <menuitem name="UnmapSource" action="UnmapSourceAction"/>
  <separator/>
  <menuitem name="SelectAll" action="SelectAllAction"/>
  <menuitem name="SelectNone" action="SelectNoneAction"/>
  <separator/>
  <menuitem name="Properties" action="PropertiesAction"/>
  <menuitem name="SelectedSourceProperties" action="SelectedSourcePropertiesAction"/>
  <separator/>
  <menuitem name="Plugins" action="PluginsAction"/>
  <menuitem name="Preferences" action="PreferencesAction"/>
</menu>

<menu name="ToolsMenu" action="ToolsMenuAction">
  <menuitem name="Scripts" action="ScriptsAction"/>
</menu>

 
<menu name="DebugMenu" action="DebugMenuAction">
  
  <menuitem name="LoggedEvents" action="LoggedEventsAction"/>
</menu>
</menubar>
<popup name="SongViewPopup" action="SongViewPopupAction">
</popup>-->
