diff options
author | vg <vg@devys.org> | 2018-12-07 11:16:53 +0100 |
---|---|---|
committer | vg <vg@devys.org> | 2018-12-07 11:16:53 +0100 |
commit | 165f06e419fe6987f9ae8b01ab6ec99098560600 (patch) | |
tree | 3fe1eba9dd307b3f233ab1a21af2dcb9b9480c35 /scripts/xmms2_controls/music-alienize | |
parent | 23253ce0b022470a047eb6b512fb85beaf884388 (diff) | |
download | scripts-165f06e419fe6987f9ae8b01ab6ec99098560600.tar.gz scripts-165f06e419fe6987f9ae8b01ab6ec99098560600.tar.bz2 scripts-165f06e419fe6987f9ae8b01ab6ec99098560600.zip |
add xmms2_controls for historic puposes since I don't use it anymore
Diffstat (limited to 'scripts/xmms2_controls/music-alienize')
-rwxr-xr-x | scripts/xmms2_controls/music-alienize | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/xmms2_controls/music-alienize b/scripts/xmms2_controls/music-alienize new file mode 100755 index 0000000..61841f3 --- /dev/null +++ b/scripts/xmms2_controls/music-alienize @@ -0,0 +1,13 @@ +#!/usr/bin/python + +import os.path +#import sys +#sys.path.append(os.path.join(os.path.expanduser('~'),'bin', 'lib')) +from lib import xmms2_current_file + +if __name__ == '__main__': + f = xmms2_current_file.currentfile() + path = os.path.join(os.path.expanduser('~'), 'music/alienize') + with open(path, 'ab') as fo: + fo.write(f) + fo.write('\n') |