Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Miscellany
Monday, March 3rd, 2008 at 10:01:52am UTC 

  1. Index: apps/playback.c
  2. ===================================================================
  3. --- apps/playback.c     (revision 16493)
  4. +++ apps/playback.c     (working copy)
  5. @@ -240,7 +240,6 @@
  6.  /* Track change controls */
  7.  static bool automatic_skip = false; /* Who initiated in-progress skip? (C/A-) */
  8.  static bool playlist_end = false;   /* Has the current playlist ended? (A) */
  9. -static bool auto_dir_skip = false;  /* Have we changed dirs automatically? */
  10.  static bool dir_skip = false;       /* Is a directory skip pending? (A) */
  11.  static bool new_playlist = false;   /* Are we starting a new playlist? (A) */
  12.  static int wps_offset = 0;          /* Pending track change offset, to keep WPS responsive (A) */
  13. @@ -2005,6 +2001,7 @@
  14.      int next_playlist_index;
  15.      bool forward;
  16.      bool end_of_playlist;  /* Temporary flag, not the same as playlist_end */
  17. +    bool auto_dir_skip;    /* Have we changed dirs automatically? */
  18.  
  19.      if (dir_skip)
  20.      {
  21. @@ -2373,15 +2370,10 @@
  22.  
  23.      if (automatic_skip)
  24.      {
  25. -        if (!auto_dir_skip)
  26. -            playlist_next(-wps_offset);
  27. -
  28.          wps_offset = 0;
  29.          automatic_skip = false;
  30.      }
  31.  
  32. -    auto_dir_skip = false;
  33. -
  34.      /* Invalidate prevtrack_id3 */
  35.      prevtrack_id3.path[0] = 0;

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right
worth-right