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 a56567072b actually fix peertube downloading 3 days ago
.gitignore test1 4 months ago
LICENSE Initial commit 5 months ago
README.md removed the rename nonsense, just added the requirement to the README 4 months ago
config.yaml.default added peertube feed and condition 3 weeks ago
currents.py reverted max res until i figure out why some random stuff isn't downloading hd 2 months ago
playlists_for_all.sh cleaned up playlists for all. 2 months ago
yml_prs.sh combined previous script with function for yt-dl, country loop, discarding unavailable videos immediately 5 months ago
ytmgr.sh actually fix peertube downloading 3 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.