|
@@ -15,9 +15,9 @@
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
|
-
|
|
|
+# Global Variables
|
|
|
WEBSITE="https://vaporwave.ivan.moe/list/"
|
|
|
-
|
|
|
+MPV_CMDLINE=$@
|
|
|
|
|
|
###############################################################################
|
|
|
# USEFUL FUNCTIONS #
|
|
@@ -64,7 +64,7 @@ prepare_playlist()
|
|
|
# Plays the playlist it recieves via standard input
|
|
|
play_music()
|
|
|
{
|
|
|
- mpv --no-video --playlist=- "$@"
|
|
|
+ mpv --no-video --playlist=- $MPV_CMDLINE
|
|
|
}
|
|
|
|
|
|
# TERM signal handler
|