From: Jason W. <ja...@ja...> - 2015-09-25 20:13:16
|
Hi Storm, First, note that cmus does not act on your commandline flags in order, it parses them all, and then acts on them in it's own order. This enables eg the -l flag to effect all operations (eg it makes the -c flag clear the library). That said... It looks like it's processing your flags in a good order. My first guess: The issue you're having is because files are added to the library asynchronously (I think), thus the track you want played is not in the library yet by the time the -p flag is acted upon. I suggest: using ``-f trackname.opus`` instead of ``-s -p``. That will play that file immediately (whether it's in your library or not). Surely by the time the track finishes, the "add to library" part will have finished, and the repeat should work. Another possible problem is that your cmus is not in "play from library" mode (eg it's playing from the playlist). Try this if you'd like to manipulate the playlist: cmus-remote -P -c -f filename.opus filename.opus Or this for the library: cmus-remote -l -c -f filename.opus filename.opus Be sure to put the filename in twice, as above. The first one is passed to -f (play immediately) and the second for adding to the playlist/library. Also, be sure cmus is playing from whichever one you're manipulating. Shift-M in cmus toggles this. -- Jason |