aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/xmms2_controls/music-alienize
blob: 61841f363fd6739e20e8219045fc3d5465316406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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')