ocarina/src/core/variables.py

30 lines
603 B
Python

#! /usr/bin/python
# To change this template, choose Tools | Templates
# and open the template in the editor.
__author__="bjschuma"
__date__ ="$May 10, 2010 5:57:02 PM$"
from ct import path
class Vars:
def __init__(self):
self.USER = path.expand("~")
self.OCARINA = path.join(self.USER, ".ocarina3")
self.LOCKFILE = path.join(self.OCARINA, "lock")
self.HISTORYFILE = path.join(self.OCARINA, "history")
self.PLAYONLOAD = True
self.PORT = 0
self.PROMPT = ">>>"
self.VERBOSE = 0
self.VOLUME = 1.0
self.VOLUMEINCR = 0.05
self.ARTIST = ""
self.ALBUM = ""
self.TITLE = ""