02-12-2021, 03:05 PM
Actually it's already implemented in moode.php but not in the context menu...
So, for a single item it's simply adding
to
in the indextpl.html
The same for adding a folder is not properly working with the actual script - it adds the first song and puts the rest at the end - but this should be easily fixed...
So, for a single item it's simply adding
Code:
<li><a href="#notarget" data-cmd="add_item_next"><i class="fal fa-plus-circle sx"></i> Add next</a></li>
to
Code:
<div id="context-menu-folder-item" class="context-menu">
<ul class="dropdown-menu" role="menu">
<li><a href="#notarget" data-cmd="add_item"><i class="fal fa-plus sx"></i> Add</a></li>
<li><a href="#notarget" data-cmd="play_item"><i class="fal fa-play sx"></i> Play</a></li>
<li><a href="#notarget" data-cmd="add_item_next"><i class="fal fa-plus-circle sx"></i> Add next</a></li>
<li><a href="#notarget" data-cmd="clear_play_item"><i class="fal fa-chevron-square-right sx"></i> Clear/Play</a></li>
<li><a href="#notarget" data-cmd="track_info_folder"><i class="fal fa-music sx"></i> Track info</a></li>
</ul>
</div>
in the indextpl.html
The same for adding a folder is not properly working with the actual script - it adds the first song and puts the rest at the end - but this should be easily fixed...