commit 095d2d5a81949e10185aeebfc9d22650c5862d2b
parent 02b2922c9138eb0a1c0bd31053d0422d748136f7
Author: Claudio Alessi <smoppy@gmail.com>
Date: Sun, 18 Sep 2016 12:29:34 +0200
[moin] Info on how to get the playlist ID.
Diffstat:
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -272,7 +272,7 @@ Change it to fit your needs.
moin
----
Play a random song from a YouTube playlist. The playlist is specified by its
-ID, if none is give $DEFLIST is used. Default player is mpv, refine the $PLAYER
+ID, if none is given $DEFLIST is used. Default player is mpv, refine the $PLAYER
and $PLAYER_OPTS variable to fit your needs. You may want to wake up in the
morning but putting the following in your crontab:
@@ -280,3 +280,12 @@ morning but putting the following in your crontab:
# Plays from monday to friday at 08:00am
0 8 * * 1-5 /path/of/moin
```
+
+Where to take the playlist ID? It's specified in the "list" parameter of the
+URL. For example, if the URL of your playlist is the following:
+
+```
+https://www.youtube.com/watch?v=xvIuuKVwY_8&list=RDEMWmz07MSPRGna5rHl5FWPRw&index=40
+```
+
+Then the ID is: RDEMWmz07MSPRGna5rHl5FWPRw