Skip to content
/ gmmf Public

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.

Notifications You must be signed in to change notification settings

KingInari/gmmf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

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

No packages published

Languages