@@ -553,29 +553,44 @@ Playlist Manipulation
553553        Stop playback of the current file, and play the new file immediately.
554554    <append>
555555        Append the file to the playlist.
556+     <insert-next>
557+         Insert the file into the playlist, directly after the current entry.
558+     <insert-at>
559+         Insert the file into the playlist, at the index given in the third
560+         argument.
561+     <play>
562+         If nothing is currently playing, start playback. (Always starts with the
563+         added file, even if the playlist was not empty before running this
564+         command).
565+ 
566+     Multiple flags can be combined, e.g.: ``append+play ``.
567+ 
568+     By default, ``append ``, ``insert-next ``, and ``insert-at `` will not
569+     immediately start playback even if the playlist was previously empty. Adding
570+     the ``play `` flag to them forces playback to start.
571+ 
572+     The following values are considered deprecated and were the old way
573+     (before mpv 0.41) of forcing playback to start before the ``play `` flag was
574+     added.
575+ 
556576    <append-play>
557577        Append the file, and if nothing is currently playing, start playback.
558578        (Always starts with the added file, even if the playlist was not empty
559579        before running this command.)
560-     <insert-next>
561-         Insert the file into the playlist, directly after the current entry.
562580    <insert-next-play>
563581        Insert the file next, and if nothing is currently playing, start playback.
564582        (Always starts with the added file, even if the playlist was not empty
565583        before running this command.)
566-     <insert-at>
567-         Insert the file into the playlist, at the index given in the third
568-         argument.
569584    <insert-at-play>
570585        Insert the file at the index given in the third argument, and if nothing
571586        is currently playing, start playback. (Always starts with the added
572587        file, even if the playlist was not empty before running this command.)
573588
574-     The third argument is an insertion index, used only by the ``insert-at `` and 
575-     `` insert-at-play `` actions . When used with those actions, the new item will
576-     be inserted at the  index position in the playlist, or appended to the end if
577-     index is less than  0 or greater than the size of the playlist. This argument
578-     will be ignored for  all other actions. This argument is  added in mpv 0.38.0.
589+     The third argument is an insertion index, used only by the ``insert-at ``
590+     action . When used with those actions, the new item will be inserted at the 
591+     index position in the playlist, or appended to the end if index is less than 
592+     0 or greater than the size of the playlist. This argument will be ignored for 
593+     all other actions. This argument was  added in mpv 0.38.0.
579594
580595    The fourth argument is a list of options and values which should be set
581596    while the file is playing. It is of the form ``opt1=value1,opt2=value2,.. ``.
@@ -601,30 +616,45 @@ Playlist Manipulation
601616        Stop playback and replace the internal playlist with the new one.
602617    <append>
603618        Append the new playlist at the end of the current internal playlist.
619+     <insert-next>
620+         Insert the new playlist into the current internal playlist, directly
621+         after the current entry.
622+     <insert-at>
623+         Insert the new playlist at the index given in the third argument.
624+     <play>
625+         If nothing is currently playing, start playback. (Always starts with the
626+         added playlist, even if the internal playlist was not empty before running
627+         this command).
628+ 
629+     Multiple flags can be combined, e.g.: ``append+play ``.
630+ 
631+     By default, ``append ``, ``insert-next ``, and ``insert-at `` will not
632+     immediately start playback even if the playlist was previously empty. Adding
633+     the ``play `` flag to them forces playback to start.
634+ 
635+     The following values are considered deprecated and were the old way
636+     (before mpv 0.41) of forcing playback to start before the ``play `` flag was
637+     added.
638+ 
604639    <append-play>
605640        Append the new playlist, and if nothing is currently playing, start
606641        playback. (Always starts with the new playlist, even if the internal
607642        playlist was not empty before running this command.)
608-     <insert-next>
609-         Insert the new playlist into the current internal playlist, directly
610-         after the current entry.
611643    <insert-next-play>
612644        Insert the new playlist, and if nothing is currently playing, start
613645        playback. (Always starts with the new playlist, even if the internal
614646        playlist was not empty before running this command.)
615-     <insert-at>
616-         Insert the new playlist at the index given in the third argument.
617647    <insert-at-play>
618648        Insert the new playlist at the index given in the third argument, and if
619649        nothing is currently playing, start playback. (Always starts with the
620650        new playlist, even if the internal playlist was not empty before running
621651        this command.)
622652
623-     The third argument is an insertion index, used only by the ``insert-at `` and 
624-     `` insert-at-play `` actions.  When used with those actions, the new playlist
625-     will be inserted at the index  position in the internal playlist, or appended
626-     to the end if index is less  than 0 or greater than the size of the internal
627-     playlist . This argument will be ignored for all other actions .
653+     The third argument is an insertion index, used only by the ``insert-at `` action. 
654+     When used with those actions, the new playlist will be inserted at the index 
655+     position in the internal playlist, or appended to the end if index is less 
656+     than 0 or greater than the size of the internal playlist. This argument will be 
657+     ignored for all other actions . This argument was added in mpv 0.38.0 .
628658
629659``playlist-clear ``
630660    Clear the playlist, except the currently played file.
0 commit comments