video & music playlist scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Martinez f0a055734c upgrade youtube-dl before running 4 days ago
.gitignore test1 1 month ago
LICENSE Initial commit 2 months ago
README.md removed the rename nonsense, just added the requirement to the README 1 month ago
config.yaml.default starting to configure currents to use yaml 1 month ago
currents.py starting to configure currents to use yaml 1 month ago
playlists_for_all.sh small tweaks to playlists script 3 weeks ago
yml_prs.sh combined previous script with function for yt-dl, country loop, discarding unavailable videos immediately 2 months ago
ytmgr.sh upgrade youtube-dl before running 4 days ago

README.md

KBRD Playlists, a series of scripts to facilitate video & music playlists.


ytmgr.sh

Requires youtube-dl. This is a simple bash script intended to be called on a recurring basis through cron in order to simulate subscriptions. An RSS feed is pulled to check for new videos. On finding a new video, the video is downloaded to the configured directory. Tiny tiny RSS public feeds are highly suggested to add more powerful features, such as filtering, to the feed that is used as the base for downloads Videos that are failed to be grabbed after a configurable amount of time are added to a playlist, fail.m3u, that is modeled after the kodi youtube plugin format.

currents.py

This is a python script to create a playlist of the top tracks of new artists found in a particular music library directory. Data is pulled from last.fm - a last.fm API key is required at the time. Currently outputs to standard output, so it must be called with redirection into the playlist you desire, e.g.

	./currents.py > /home/danny/music/playlists/currents.m3u

playlists-for-all.sh

This is a bash script that interfaces with Ampache to create a backup of ampache playlists and recreate them as m3u's with a new directory structure. I use this in conjection with sshfs/sftp/etc in order to have a unified playlist collection. Plan to add the reverse, a way to import external playlists into ampache, e.g. playlists created within clementine. Requires the package ‘rename’, mostly because it's cleaner

Credits

Uses bash-yaml script from jasperes.