Menu

#42 Move to next folder using conplay script

open
nobody
None
5
2015-08-14
2015-06-28
Anthony
No

Would it be possible to add 2 keys to move to the next/previous folders when using the conplay script?

Basically my files are sorted by Artist/Album, so if I want to move to the next album with the current artist, I would like to use one keypress, rather than press "f" many times.

Thanks.

Discussion

  • Thomas Orgis

    Thomas Orgis - 2015-06-28

    Well, that's getting a bit more tricky. The keypresses are handled by mpg123, which does not know about your albums, just a flat playlist.

    This is starting to sound like a general-purpose shell for mpg123. Would multiple playlists (one for each album) and a normal shell loop over them do the trick (added benefit: you remember at which point you jumped off an album)? Would you also like to be able to navigate back through albums?

     
  • Thomas Orgis

    Thomas Orgis - 2015-06-28

    Ok, you said you would like to navigate in both directions. Hm. A notion of directories and jumps between them. Well, mpg123 does extract and print the current directory. One might add such jumping (forward/backward in playlist until directory part changes).

    I'm rather busy right now rearranging other parts of the code, I cannot promis any schedule on such.

     
  • Anthony

    Anthony - 2015-08-14

    Hi Thomas.
    I did not want to bug you after your last reply as I know you are busy.
    I was just wondering if you might have any chance to implement the move between folders as above?
    I am not a porgrammer, but if it is not on the radar, could you point me in the idrection that I might be able to get this started myself?
    Thx.

     
    • Thomas Orgis

      Thomas Orgis - 2015-08-14

      Am Fri, 14 Aug 2015 00:13:01 +0000
      schrieb "AntBla" visionimpaired@users.sf.net:

      Hi Thomas.
      I did not want to bug you after your last reply as I know you are busy.
      I was just wondering if you might have any chance to implement the move between folders as above?

      Hm, yes busy, busy. I'm also trying to get a new mpg123 released with
      various features, having to do bugfix releases in between. Well, and
      being busy.

      Please try current snapshot. I added the '[' and ']' keys to skip
      between directories in mpg123. Somewhat twisted playlist logic there
      (code initially only intended to skip tracks, forced into doing
      arbitrary jumps in playlist). More code to clean up.

      Well, please report your experiences.

       
  • Thomas Orgis

    Thomas Orgis - 2015-08-14

    There should appear a response I sent per mail. Well, what the heck, there it is again:

    Hm, yes busy, busy. I'm also trying to get a new mpg123 released with
    various features, having to do bugfix releases in between. Well, and
    being busy.

    Please try current snapshot. I added the '[' and ']' keys to skip
    between directories in mpg123. Somewhat twisted playlist logic there
    (code initially only intended to skip tracks, forced into doing
    arbitrary jumps in playlist). More code to clean up.

    Well, please report your experiences.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.