The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Please, help me for script to add current song to a playlist
#1
Hello everybody, I'm new to the forum; I would like to ask someone to help me please: I installed and configured Lirc to operate a Xiaomi Box TV remote control and I managed to do everything I wanted, except one last thing for which I don't know if there is a specific mpc command or a script is needed: I would like that when I click the KEY_HOME + KEY_OK key the current song is saved at the end of the Favorites.m3u playlist; obviously if the playlist does not exist yet, the script has to create it and also has to check that the song has not already been inserted once in the playlist. it's possible? can someone help me please because unfortunately i don't know linux language well. thank you !!!
Reply


Messages In This Thread
Please, help me for script to add current song to a playlist - by neuronestanco - 03-15-2021, 07:27 PM

Forum Jump: