1. 30 Nov, 2013 1 commit
    • Michael Pyne's avatar
      GIT_SILENT: Update source code license headers. · d969a0b4
      Michael Pyne authored
      Thanks to Eric Newberry (from Google Code-In) for running the heavy
      lifting on this.
      I made some other corrections since we're touching all the source
      anyways (e.g. fixing my email addresses), fixing the encoding of Richard
      Lärkäng's name, and I've also chosen to avoid the fancy box-shaped
      comments so that there's no issue with trailing spaces/tabs.
  2. 18 May, 2007 1 commit
  3. 26 Feb, 2006 3 commits
  4. 27 Apr, 2005 1 commit
    • Michael Pyne's avatar
      DCOP improvements. · 3a7cc4fb
      Michael Pyne authored
      * Access the track cover from DCOP (with a shortcut for the currently playing
        file). You can grab both the large and small size covers.
      * Provide a currentFile() shortcut accessor.
      * Get/set the random play mode.
      * The track properties for the currently playing item now are returned when
        the player is merely paused as well.
      svn path=/trunk/kdemultimedia/juk/; revision=408270
  5. 22 Feb, 2005 1 commit
  6. 29 Oct, 2004 1 commit
  7. 19 Sep, 2004 1 commit
  8. 09 Jul, 2004 1 commit
  9. 09 Jun, 2004 1 commit
  10. 06 Jun, 2004 2 commits
    • Scott Wheeler's avatar
      A little code compacting -- take advantage of the fact that QStringList · 16084608
      Scott Wheeler authored
      offers a QString constructor.
      svn path=/trunk/kdemultimedia/juk/; revision=318095
    • Michael Pyne's avatar
      Flesh out the rest of the DCOP interface. · 117c8e05
      Michael Pyne authored
      The DCOP interface is called Collection.
      The master playlist is called "Collection List".
      * playlists() - Returns list of playlists
      * createPlaylist(QString) - Creates an empty playlist with the given name.
      * remove() - Removes the currently selected playlist.  May ask user for confirmation.
      * openFile(playlist,file) - Adds file to the given playlist.
      * openFile(playlist,files) - Adds files (QStringList of filenames) to the given playlist.
      * removeTrack(playlist,key) - Removes the track ID'd by key from the playlist.
      * removeTrack(playlist,keys) - Removes the tracks (QStringList of keys) from the playlist.
      * playlist() - Returns name of currently selected playlist.
      * setPlaylist() - Selects the given playlist.
      * playlistTracks() - Returns a QStringList of the keys of the songs in the given playlist.
      * trackProperty(key,property) - Similar to trackProperty() in the Player interface, returns the given property of the given file.
      Scott and I agree that a DCOP call to erase a file from disk won't happen.
      You can simulate this in a script by first removing the file from Collection
      List, and then removing the file from disk in your script.  Use
      Collection/trackProperty(), with a Property name of Path to get the file name.
      To see a list of all valid properties for trackProperty(), use the
      trackProperties() call in the DCOP Player interface for JuK.
      In the current implementation, the key for a song will actually be its filename.
      Don't rely on this behavior, as the code may be changed later to return a
      string ID that, although unique, bears no resemblance to a filename.  You can
      always retrieve the file name for a song from its key using the trackProperty()
      DCOP call.
      Also, it's sort of a hack, but you can start playing a different playlist by
      stopping playback, selecting the playlist you want to play, and then starting
        $ dcop juk Player stop
        $ dcop juk Collection setPlaylist <playlist-name-here>
        $ dcop juk Player play
      It's also now possible to show the track announcement popup via DCOP, by
      activating the showPopup action.
      Example: $ dcop juk juk-mainwindow#1 activateAction showPopup
      I'll try to work on e.g. search functionality for DCOP, but I won't guarantee
      that it will make it for 3.3.
      svn path=/trunk/kdemultimedia/juk/; revision=318068
  11. 03 Jun, 2004 1 commit
  12. 21 May, 2004 1 commit
    • Michael Pyne's avatar
      Add some DCOP functions to PlayerManager. · 568843c1
      Michael Pyne authored
      * Get volume.
      * Find out if a song is playing/paused/stopped.
      * Get metadata on the currently playing song, including filename.
      Fix spacing problems I introduced in my last commit (plus I just now
        triple-checked ;-) ).
      Once the new Collection Manager is in place I'll do the rest of the DCOP
      features and close the bugs.
      svn path=/trunk/kdemultimedia/juk/; revision=313351
  13. 18 Apr, 2004 3 commits
  14. 02 Jun, 2003 2 commits
  15. 16 May, 2003 1 commit
  16. 01 May, 2003 1 commit
  17. 29 Mar, 2003 1 commit
  18. 28 Mar, 2003 1 commit