✨ Display playlist media index & total count on play
This commit is contained in:
parent
b24d72c0bf
commit
414b9b1c5d
1 changed files with 1 additions and 1 deletions
2
main.js
2
main.js
|
@ -216,7 +216,7 @@ const
|
|||
};
|
||||
const [matchingPlaylistItem] = matchingPlaylistItems;
|
||||
await adb(`am start -a android.intent.action.VIEW -d ${matchingPlaylistItem.url} -t video/any is.xyz.mpv`);
|
||||
return response = { embed: { title: `▶️ \`${matchingPlaylistItem.title}\`` } };
|
||||
return response = { embed: { title: `▶️ \`${matchingPlaylistItem.title}\` (${playlistItems.indexOf(matchingPlaylistItem) + 1}/${playlistItems.length})` } };
|
||||
});
|
||||
program
|
||||
.command('playlist.rm')
|
||||
|
|
Loading…
Reference in a new issue