public int CmdInbox(string[] args) { var inbox = iSession.InboxCreate(); if (inbox == null) { Console.WriteLine("Inbox not loaded"); return(-1); } iBrowser.BrowsePlaylist(inbox); return(0); }
public int CmdStarred(string[] aArgs) { Playlist starred; if (aArgs.Length > 1) { starred = iSession.StarredForUserCreate(aArgs[1]); } else { starred = iSession.StarredCreate(); } if (starred != null) { iBrowser.BrowsePlaylist(starred); return(0); } Console.WriteLine("Starred not loaded"); return(-1); }