-
Notifications
You must be signed in to change notification settings - Fork 0
This code will create a list of URL's from a Youtube playlist and play the last video in the playlist in the default browser. The readme will also provide instructions on how to run on a set schedule with cron. By default the script will play KSON's gmmf podcast but can be replaced with a url of your choice.
KingInari/gmmf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Install and Verify: uncomment these lines the first time you run the script sudo apt-get install jq -y sudo pip install youtube-dl -y Change Playlist: You can change the playlist with one of your choice by replacing the url in quotations in the youtube-dl line Scheduling With Cron: run "sudo crontab -e" add (MAILTO="") at the beggining of the file at the bottom add (* * * * * export DISPLAY=:0.0 && (directory you placedthe file in)/gmmf.sh replace the asterisks with the minutes, hours, day of month, month, and day of week you wish to run the script MAKE SURE THERE IS A BLANK LINE AFTER YOUR LINE OR CRON WILL NOT EXECUTE save changes and exit
About
This code will create a list of URL's from a Youtube playlist and play the last video in the playlist in the default browser. The readme will also provide instructions on how to run on a set schedule with cron. By default the script will play KSON's gmmf podcast but can be replaced with a url of your choice.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published