b0a0cd7ebb
Adds extra control to the XMMS playlist and automatically skips songs you don't like and play the ones you do like. * High rated songs will be played privileged * Manual manipulation of the assessment of single songs * Ignore single songs * Configurable PR: ports/83484 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
22 lines
425 B
Bash
22 lines
425 B
Bash
#!/bin/sh
|
|
#
|
|
# Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# This script creates the users configfile that needs to
|
|
# exist in order to use this plugin
|
|
#
|
|
# $FreeBSD$
|
|
|
|
|
|
if [ ! -d ~/.xmms ]; then
|
|
echo "===> Creating xmms directory"
|
|
mkdir ~/.xmms
|
|
fi
|
|
|
|
if [ -f ~/.xmms/database.txt ]; then
|
|
echo "===> Database already exists"
|
|
else
|
|
echo "===> Initializing database"
|
|
touch ~/.xmms/database.txt
|
|
echo "===> Database initialized"
|
|
fi
|